UnionPay Equity distribution Platform Industry application Interface Development Example (PHP language)

Source: Internet
Author: User
Tags php language

What is the UnionPay equity distribution platform?
In order to better support the UnionPay, industry, the bank's mutual benefit and development, China UnionPay decided to unify and customize the function of industry application in the whole country, create an equity distribution platform, make the industry and bank more convenient access and use.
The creation of the equity distribution platform and the unification of business functions help to further erect the overall image of the UnionPay business and standardize the business development form, so as to facilitate the unified promotion of future business. In order to realize the function of this platform and the unification of industry and bank, this specification is specially formulated.


Basic principle:

This specification for China UnionPay and Industry application platform of the core functions of the interface specification, used to complete the industry application business functions of the unified construction, but also as the internal and third-party business platform to interact with the unified interface.
The purpose of this specification is to make provisions for the interface between China UnionPay equity distribution platform and industry application platform and related external interface system, which can be used jointly by China UnionPay (or internal) and manufacturers to provide technical basis for UnionPay headquarter and provincial branch in the aspect of business development/upgrade/bidding selection.


Some source code:


$datajson = Json_encode ($data);//Convert JSON
Echo ' Done2 ';
$JSONSTR = new Union ();
$SECSTR = $jsonstr->encodemac ($datajson);//Get signature
Echo ' Secstr: '. $secStr. ' <br> ';
$data [' Secstr ']= $secStr;
$datajson = Json_encode ($data);//Convert JSON
Echo ' Datajson: '. $datajson. ' <br> ';
Print_r ($datajson); exit;
$res = $this->http_post_data ($url, $datajson); return results
$res = Json_decode ($res [1],true);
Echo ' Done4 ';
if ($res [' resultcode '] = = ' 0000 ') {

Echo (' Pay success! ‘);

}else{
Echo ($res [' description ']. $res [' ResultCode ']);
}

Original:

Http://www.0475seo.com/tech/2dev/295.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 Payment interfaces:
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.

UnionPay Equity distribution Platform Industry application Interface Development Example (PHP language)

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.