Closed Trede98 closed 3 years ago
This is my code to manage the authentication of the payment
StripePayment.setStripeAccount(accountId); var result = await StripePayment.authenticatePaymentIntent( clientSecret: clientSecret, );
On Android native code when setStripeAccount is called the stripe object is instantiated again and everything works fine
setStripeAccount
On iOS when setStripeAccount is called the variable stripeAccount is only setted
stripeAccount
This variable is used inside the method newAPIClient
newAPIClient
Inside the authenticatePaymentIntent the method newAPIClient is never called and therefore the stripeAccount value never set
authenticatePaymentIntent
This is my code to manage the authentication of the payment
On Android native code when
setStripeAccount
is called the stripe object is instantiated again and everything works fineOn iOS when
setStripeAccount
is called the variablestripeAccount
is only settedThis variable is used inside the method
newAPIClient
Inside the
authenticatePaymentIntent
the methodnewAPIClient
is never called and therefore the stripeAccount value never set