This repo demonstrates a smooth and secure payment flow that the payment services are provided by checkout.com.
- Youtube Video - Smooth CKO Flow Video
- Demo - Just Demo(Test Card Number: 4242424242424242, CVV: 100)
- Test Cards - Test Cards
- The checkout page - checkout.php
- The success page - success.php
- The failure page - failure.php
- The assets folder - assets folder
- The PHP controller - Welcome.php
server {
charset utf-8;
listen 80;
server_name domain.com;
# Remove trailing slash
rewrite ^/(.*)/$ /$1 permanent;
root /path/to/smooth-cko-flow/webroot;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
try_files $uri =404;
}
location ~ /\.(ht|svn|git) {
deny all;
}
error_log /data/wwwlogs/error_nginx.log crit;
}


