文件名称:cncard

  • 所属分类:
  • WEB源码
  • 资源属性:
  • [PHP] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 277kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 王*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

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
相关搜索: netpayclient
php
bcmath
chinapay

(系统自动生成,下载前可以参看下载内容)

下载文件列表

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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org