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