Select the Alipay product that matches your terminal and business privileges, and then compare it to the official document. Different protocols, certificate modes and product configurations cannot be mixed.

Identification of applications and products

The application, business identification and payment products to be used are checked on open platforms.

Application and product rights are consistent with actual operations.

Install SDK and configure keys

Install an appropriate version of the README at the official PHP SDK warehouse in Alipay and initialize it at the service end.

SDK can read the configuration and the key will not be sent to the browser.

Create orders and initiate payments

The service-end generates business orders, which are passed into the business order number, the amount of the order, etc. by product document.

The payment request relates to the only local, searchable order.

Process stethoscope notifications

Validation of the notice by the corresponding SDK to check the business order number, amount and application and business affiliation.

Notices that are not certified or that do not belong to the order cannot trigger delivery.

Checking and delivery

The front-end returns the page to read the local order status; the status is confirmed by the service-end call to the selected product's id capability when the status is to be determined.

Reloading or re-receiving a page will not result in a duplicate shipment.

Test refunds and formal transitions

The order, refund and query processes are jointly closed with the actual product privileges and then the formal configuration is reviewed.

Orders, deliveries, refunds and reconciliations may be reconciled with each other.