Wave payment ECSHOP,THINKPHP,SHOPNC Online payment interface, payment plug-in (payment plugin including source)

Source: Internet
Author: User

Recently should a customer request, give him a thinkphp website to develop wave payment online payment interface and pay-as-you-pay interface.
Wave payment is also a kind of aggregation payment, the document is relatively rough. What a self-willed AH. The merchant backstage is also relatively simple. Basic functionality only.
2. The test merchant number has a limit of 1 yuan, the official merchant number will not have

3. The parameters of the request interface simultaneous in the document, must fill in is the parameter is necessary to pass (if there is missing will error), must be filled with the parameters can be passed or can not be transmitted

4. The return parameter must be filled in as is the parameter is bound to return, the required parameter is not necessarily returned, you have to be the actual received parameters prevail

Notice address, must fill in, receive wave the URL of the notice, need to give absolute path, 255 characters Funneg type such as: http://wap.tenpay.com/tenpay.asp
$notify _url = ' http://'. $_server[' http_host ';
$this->reqhandler->setparameter (' Notify_url ', $notify _url. ' /payinterface/request.php?method=callback ');
$this->reqhandler->setparameter (' Notify_url ', ');//Notification callback address, currently the default is a space, the merchant in the test payment and on-line must be changed to their own, and ensure that the extranet can access
$this->reqhandler->setparameter (' Nonce_str ', Mt_rand (Time (), Time () +rand ()));//random string, required, not longer than 32 bits
$this->reqhandler->createsign ();//Create signature

$data = Utils::toxml ($this->reqhandler->getallparameters ());
Var_dump ($data);

$this->pay->setreqcontent ($this->reqhandler->getgateurl (), $data);
The above is part of the code.

Finally note that pioneer payment is currently only available in java,php, and the C # version of the demo is still relatively rich.

Original from:
Http://www.0475seo.com/tech/cms/305.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.

Wave payment ECSHOP,THINKPHP,SHOPNC Online payment interface, payment plug-in (payment plugin including 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.