-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Adyen Sessions onComplete will sometimes have payments with a result code other then Authorised.
For example the Swish payment method will sometimes trigger the onComplete with the result code Received. This is a intermediate result code and could end up not being a successful payment.
<AdyenCheckout
config={checkoutConfiguration(configuration)}
session={session}
// Sometimes `onComplete` is called with a intermediate result code that could end up being a failed payment.
onComplete={didComplete}
onError={didFail}
>To Reproduce
Steps to reproduce the behavior:
- Try and pay with Swish
- Sometimes payments trigger the
onCompletewithReceivedresult code instead ofAuthorisedand sometimes they will end up withCancelledas the final state.
Expected behavior
onComplete should only happen if a payment is completed.
Additional context
This feels like a race condition?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested