Nine send ECSHOP,THINKPHP,SHOPNC online payment interface, payment plug-in (Payment plugin with source)

Source: Internet
Author: User

Recently should a customer request, to his one Ecshop Web site development Nine send online payment interface and pay the interface.
Nine faction has its own cashier, the integration of various types of banks, is also good.

The ninth faction originally uses MD5 private key authentication, later uses the RAS authentication.
First, the signature domain (MerchantS S ign/serversign) and the certificate domain appear in the message
(merchantcert/servercert) All data elements in the form of Key=value by name
Sorting, and then stitching the & as a connector into the string to be signed (value is empty domain, does not participate in the string to be signed).
Then use the nine-pie merchant RSA private key certificate issued to the merchant to sign the digest (the signature-time algorithm
Support SHA256 and SHA-1 1, SHA256 recommended). Finally, the signed signature string is placed in the signature
(merchantsign) In form fields and other form fields are transmitted to nine via HTTPS Post
Dispatch platform.

if (!defined (' Ec_charset '))
{
$charset = ' utf-8 ';
}
Else
{
$charset = Ec_charset;
}



$version = ' 1.0 ';
$charset = ' 02 ';
$merchantId = $payment [' Ninepay_account '];
$requestTime = Date (' Ymdhms ');
$requestId = $order [' order_sn '];
$service = ' rpmbankpayment ';
$signType = ' RSA256 ';
$pageReturnUrl =return_url (basename (__file__, '. php '));
$notifyUrl =return_url (basename (__file__, '. php '));

The above is part of the code.

Finally note that the nine factions currently only provide java,php, and C # version of the demo, or relatively rich.

Original from:
Http://www.0475seo.com/tech/cms/310.html

There are other interfaces:
Yinsheng Payment Interface:
Http://www.0475seo.com/tech/2dev/287.html
Rainbow Payment Interface
Http://www.0475seo.com/tech/cms/285.html
Ching Payment Interface:
Http://www.0475seo.com/tech/cms/289.html

More interfaces from:
http://www.0475seo.com/s/onlinepay/

If you need to develop this interface can use QQ to communicate with me: BA 0 qi Wu 00 nine (804752009) annotated payment interface.

Nine send ECSHOP,THINKPHP,SHOPNC online payment interface, payment plug-in (Payment plugin with source)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.