文件名称:cncard
介绍说明--下载内容均来自于网络,请自行研究使用
1) 本接口需要 mcrypt 和 bcmath 两个PHP扩展库的支持,请先确认您安装并启用了这两个库。
如果您是虚拟主机用户,一般主机商都会安装这两个标准库,您可以使用 phpinfo() 函数查看PHP配置信息,如果没有安装,请联系主机商解决。
2) 文件说明:netpaylclient.php 为 chinapay 提供的签名验签函数库文件,lib_curl.php 为 chinapay 提供的实用函数库文件,方便您使用 curl 发送 HTTP 请求(需要curl扩展库支持)
3) 拷贝本示例到服务器任意位置(外网需可访问,否则交易应答无法接收), 虚拟主机用户直接FTP上传即可。
4) 您在本公司申请商户号后,将得到两个后缀名为.key的测试密钥文件,其中以 Mer 开头的为私钥文件,以 Pg 开头的为公钥文件。
把这两个密钥文件放到本演示程序所在目录下(其他位置也可,但需要根据实际位置进行相应配置)
打开 netpayclient_config.php 文件,根据您的实际情况修改 PRI_KEY 和 PUB_KEY 两项。
5) 本演示程序附有详细的注释说明,通常情况下,您直接修改本示例中的程序代码即可轻松完成接入。如您有个性化需求,您可以参照《商户网上支付接入手册》帮助理解。-1) This interface requires mcrypt extensive library of and bcmath two PHP support, make sure you install and enable these two libraries.
If you are a virtual host the user, generally host will install both standard library, you can use the phpinfo () function to view the PHP configuration
Information, if not installed, please contact your host to resolve.
2) files: the library file netpaylclient.php provided for chinapay, signature stamped the, lib_curl.php chinapay
Practical library file, easy to use curl to send HTTP requests (needs curl extension library support)
3) copy this example to the server anywhere (outside the network need to access, otherwise the transaction response can not be received), the virtual host users direct FTP upload
Can.
4) The applicant merchant in the Company, will be two suffix. The key test key file, which Mer at the beginning of the private key file.
Pg at the beginning of the public key file.
These two key files into the directory where th
如果您是虚拟主机用户,一般主机商都会安装这两个标准库,您可以使用 phpinfo() 函数查看PHP配置信息,如果没有安装,请联系主机商解决。
2) 文件说明:netpaylclient.php 为 chinapay 提供的签名验签函数库文件,lib_curl.php 为 chinapay 提供的实用函数库文件,方便您使用 curl 发送 HTTP 请求(需要curl扩展库支持)
3) 拷贝本示例到服务器任意位置(外网需可访问,否则交易应答无法接收), 虚拟主机用户直接FTP上传即可。
4) 您在本公司申请商户号后,将得到两个后缀名为.key的测试密钥文件,其中以 Mer 开头的为私钥文件,以 Pg 开头的为公钥文件。
把这两个密钥文件放到本演示程序所在目录下(其他位置也可,但需要根据实际位置进行相应配置)
打开 netpayclient_config.php 文件,根据您的实际情况修改 PRI_KEY 和 PUB_KEY 两项。
5) 本演示程序附有详细的注释说明,通常情况下,您直接修改本示例中的程序代码即可轻松完成接入。如您有个性化需求,您可以参照《商户网上支付接入手册》帮助理解。-1) This interface requires mcrypt extensive library of and bcmath two PHP support, make sure you install and enable these two libraries.
If you are a virtual host the user, generally host will install both standard library, you can use the phpinfo () function to view the PHP configuration
Information, if not installed, please contact your host to resolve.
2) files: the library file netpaylclient.php provided for chinapay, signature stamped the, lib_curl.php chinapay
Practical library file, easy to use curl to send HTTP requests (needs curl extension library support)
3) copy this example to the server anywhere (outside the network need to access, otherwise the transaction response can not be received), the virtual host users direct FTP upload
Can.
4) The applicant merchant in the Company, will be two suffix. The key test key file, which Mer at the beginning of the private key file.
Pg at the beginning of the public key file.
These two key files into the directory where th
(系统自动生成,下载前可以参看下载内容)
下载文件列表
netpayclient for PHP\index.php
....................\lib_curl.php
....................\netpayclient.php
....................\netpayclient_config.php
....................\netpayclient_order_feedback.php
....................\netpayclient_order_submit.php
....................\netpayclient_query_submit.php
....................\netpayclient_refund_feedback.php
....................\netpayclient_refund_submit.php
....................\PgPubk_test.key
....................\phpinfo.php
....................\请先读我!!!!!!.txt
netpayclient for PHP
....................\netpayclient_order_submit_ext.php
....................\商户支付接入用户手册_20090709.doc
....................\lib_curl.php
....................\netpayclient.php
....................\netpayclient_config.php
....................\netpayclient_order_feedback.php
....................\netpayclient_order_submit.php
....................\netpayclient_query_submit.php
....................\netpayclient_refund_feedback.php
....................\netpayclient_refund_submit.php
....................\PgPubk_test.key
....................\phpinfo.php
....................\请先读我!!!!!!.txt
netpayclient for PHP
....................\netpayclient_order_submit_ext.php
....................\商户支付接入用户手册_20090709.doc