VPay
4.4.0
master
branch version is a fully reconstructed version of the 4.0 series, and only supports支付宝当面付
;dev
branch version is the 3.0 series stable version, which only supports支付宝当面付
;Vpay – a personal payment solution that enables individual developers to process online transactions securely and efficiently.
Choose one of the following two options
/public
if ($uri ~* "^(.*).php$") {
rewrite ^(.*) /cleanphp/bootstrap.php last;
}
location @cleanphp {
rewrite ^ /cleanphp/bootstrap.php last;
}
location ~* ^/@static(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/index.html =404 last;
}
location ~* ^/@(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/$1/index.html /app/public/index.html last;
}
location / {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public/$uri @cleanphp;
}
location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log /dev/null;
access_log /dev/null;
}
location ~ .*.(js|css)?$
{
expires 12h;
error_log /dev/null;
access_log /dev/null;
}
Refer to vpay-sdk for access
Read the documentation
GPL V3