Open RyanLinXiang opened 1 month ago
Hey @RyanLinXiang
Do you wrap AdyenAction.handle
in try/catch?
try {
const data = await AdyenAction.handle(action, configuration);
result = await ApiClient.paymentDetails(data);
AdyenAction.hide(true);
// continue flow
} catch (e) {
AdyenAction.hide(false);
// show error
}
Hey @RyanLinXiang
Any luck?
Describe the bug Related to #295 : When I use AdyenAction.handle to handle PayPal payments, everything works well so far, except when I want to close the in-app browser. When I close, the "A payment process is still active" with a loading spinner is still opened. When I click on "cancel", it has no effect.
Instead when I tap on "cancel", I got this error:
Any solutions?