Description
Hi.
I am trying to create 2 separate instances of PaymentSheet in an android activity, lets say ActivityA.
So I have 2 separate objects PaymentSheetA and PaymentSheetB
Both of these payment sheets have their own separate createIntentCallbacks i.e, createIntentCallbackA and createIntentCallbackB
However when I call presentWithIntentConfiguration for PaymentSheetA, fill in the card details and press the pay button on the payment sheet, it ends up calling createIntentCallbackB instead of createIntentCallbackA.
Is somehow the PaymentSheet allowing only one payment sheet creation per activity?
If someone tries to create 2 payment sheet objects, does the createIntentCallback get overridden by the latest one?
Would be great if someone can shed some light on this.