Skip to content

liutaodotwork/checkout.com-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smooth CKO Flow

This repo demonstrates a smooth and secure payment flow that the payment services are provided by checkout.com.

drawing

drawing

drawing

Front-end source code files

Back-end source code files

Web server Nginx configuration

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;
}

About

This repo demonstrates a smooth and secure payment flow.

Topics

Resources

License

Stars

Watchers

Forks

Contributors