Page History
...
Two methods are used to process the session:
- onvalidatemerchant;
- onpaymentauthorizad.
The onvalidatemerchant method verifies the payment session, the method is executed when the Apple Pay pop-up window is displayed.
The onpaymentauthorizad method is executed when the payment transaction is confirmed. The method acquires the payment token received from Apple Pay, as well as the order parameters.