Asynchronous Payments

In an asynchronous workflow a redirection takes place to allow the account holder to complete/verify the payment. After this the account holder is redirected back to the app and the status of the payment can be queried.

This article will guide you how to support communication between apps for the asynchronous payment methods.

Do not set shopperResultURL if it's already sent in the first step (prepare checkout request). It will cause an override error.

Handle URL Request

To handle incoming URL requests, your app delegate should implement the following methods. Make sure that URL scheme is identical to the registered one in previous step.

Important: You are responsible to close checkout by calling method dismissCheckoutAnimated:completion: of OPPCheckoutProvider class. If you have no access to the OPPCheckoutProvider instance from the app delegate, you can use broadcast notifications to handle result in the view controller.