Call this interface to evoke the cashier inside the Alipay application for the customer to confirm the payment and complete the transaction.
AlipayJSAPI provides a wealth of Alipay native APIs, you can easily use Alipay's ability to realize the experience of native applications, such as page jump, payment function.
The Alipay trade number
The result callback after the cashier is closed
Payment result with the following values:
The URL to be redirected to after the trade succeeds. Null in most cases.
|Description returned by the cashier server|
|Process result returned by the cashier server|
The trade is processing.
Failed to pay
Cancel the payment.
Unknown payment result, might be success
Users click the forget password button, and quit the pay page (iOS only).