China UnionPay ecshop Online Payment interface development, PHP language, in Shopnc,ecshop,shopex,ecmall,xpshop,ectouch and other WAP version to achieve the perfect mobile payment

Source: Internet
Author: User
Tags php language

China UnionPay's online Payment Interface PC Edition should be a cinch, but China Silver teamed up mobile payment interface has done very few people.
I was fortunate to join the China Silver Joint Machine Mobile payment interface developer Chenyu Sun Lan has a few hours of discussion, but also for customers to do a number of Chinese silver Joint machine mobile payment interface.
PHP language Development interface, in the popular ecshop,shopex,ecmall, such as the WAP version of the perfect realization of mobile payment.
function Get_code ($order, $payment) {

Order-related time
echo "Yigang";
$orderTime = $order [' Add_time '];
$orderTimeout = $order [' add_time '] + 3600; Order timed out after one day
$req [' version '] = self:: $version; Version number
$req [' charset '] = self:: $charset; Character encoding
$req [' transtype '] = "01"; Type of transaction
$req [' merid '] = $payment [' Upop_wap_account ']; Merchant Code
$req [' backendurl '] = $this->return_wap_url (); Notification URL
$req [' frontendurl '] = Return_url (basename (__file__, '. php ')); Foreground notification URL (optional)

There are too many codes to list. A friend who needs to develop a payment interface can contact me. qq:804752009 Note the Silver connection port.

Original from:
http://www.0475seo.com/s/onlinepay/

China UnionPay ecshop Online Payment interface development, PHP language, in Shopnc,ecshop,shopex,ecmall,xpshop,ectouch and other WAP version to achieve the perfect mobile payment

Related Article

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.