Skip to content

Sample code for Payment Services that are provided by Airwallex

License

Notifications You must be signed in to change notification settings

liutaodotwork/awx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samples of Payment Acceptance Services Powered By Airwallex

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

Web server Nginx configuration

server {

    charset utf-8;
    listen 80;
    server_name domain.com;

    # Remove trailing slash
    rewrite ^/(.*)/$ /$1 permanent;

    root        /path/to/awx/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

Sample code for Payment Services that are provided by Airwallex

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages