Because Alipay increased concept of open platform, payment application and call has been greatly updated and upgraded, this article will take you the difference between open platform and new mode of payment application and payment interface before.
0 series of articles
A series of WeChat App to pay full resolution
series two Alipay App
series three WeChat pay full resolution number of public pay full resolution
four series WeChat scan code to pay full resolution
series five Alipay instant arrival pay full resolution
series six WeChat seven series Alipay
full refund of the refund full resolution
series eight Alipay open platform to pay update full resolution
1 background introduction
Alipay now began to focus on pushing the concept of development platform, open platform for developers, business platform for non developers. (like WeChat)
suggested that we go in to understand the introduction and function of the 2 platforms.
Jump point Alipay open platform
Alipay open platform
The Alipay business platform jump
When we click on the payment document, we will find that all of them are redirected to the open platform. Thus, Alipay will gradually open in an open platform in the ability to pay. And there are several ways to pay for updates.
2 payment methods
Alipay paid a total of the following
– scan code to pay
– barcode payment
- App payment
- Mobile Website Payment
- Immediate payment
We can look at the platform and the platform to open the payment document entry:
Open platform document entry
open platform payment document
Merchant platform document entry
merchant platform payment documents
Click to browse and find out. Several payment methods are still in the transition of the old and new business platform and open platform results. (don’t make it clear)
- Face to face must be in the open platform to apply for AppId can be used (should be in the open platform after the only out).
- Instant account payment is not integrated into the open platform, still can only be called through the old interface, the entrance is still only in the merchant platform.
- The App payment and mobile phone sites are divided into the new version and the old version.
The new version of the document as follows:
new version of mobile payment
The old version of the document as shown below:
older version of mobile payment documents
Here we focus on the update of the 2 payment methods of the old and new versions of what is the difference
3 new and old versions to pay the difference
Complete a complete payment will include the following:
- Access payment
- Create transaction information
- Client initiated payment
- Asynchronous receive information
- Query transaction
The old version of the process in the previous series of articles have been described in great detail, the following main description of the new version of the process.
3.1 access payment
In the development platform is the need to create applications. The specific creation and configuration guidelines are as follows:
To create a good configuration after the application needs to open the payment into the specific application – functional information – application functions
application for payment
After the application needs to be approved by the audit, you can use the interface to pay.
3.2 create transaction payments
The new version of partner will create payment transactions mainly changed into appid, that is not only related to payments attributable to Alipay account, more attributable to specific applications. The other is the fine-tuning of some parameters and the replacement of the interface name. No more details here.
PS: Alipay provides the services of the SDK, suggested that direct reference, do not need their own stitching parameters, such as request
3.3 client initiated payment
It is recommended to download the latest client and replace it with the latest method. The substitution is found to be compatible with the parameters generated by the low – level interface.
The client on my Github has been updated:
- Android side: PayAndroid
- IOS side: PayiOS
3.4 asynchronous receive information
The new version of the document is more explicit for asynchronous receive information and process descriptions. Relative to the old version of the parameters of the changes, such as the amount of the parameter name has been modified. And also increases the reminder of how to handle validation information:
asynchronous message notification
In my opinion, it is the most convenient to update the interface.
old version of the refund process is like this:
old version of the refund process
PS: here embezzled Ping++ refund flow chart.
official refund document
You must first use the interface to initiate a refund request, and will give you a return address, you must open the address into the Alipay checkout to enter the payment password to refund.
Although the security increased, but it is too much trouble. You must manually confirm each refund.
But! When you pay for updates to use the new interface, you will find that such a refund interface
new refund interface
That is, after the call, the synchronization can return a refund results. It’s easy to know how much… Greatly reduced the amount of development and Bug probability of refund verification. (in fact, the old version of the refund code is particularly prone to Bug)
In summary, if the conditions or strongly suggest that new Alipay paid for the use of new open platform interface. Has also been recommended to update the update code. (if the client is compatible)
Over… The latter will continue to pay attention to the update and some issues related to payment.
More articles about my public number
my public number