react-native-stripe-terminal
react-native-stripe-terminal copied to clipboard
How to add stripeAccountID into this library
While using this library I need to transfer payment to connected Account for that I need to pass stripeAccountID , So how and where I need to pass stripeAccountID using this library. ByDefault it is working with the stripe main account and it is working fine. But instead of paying to main stripe account I have to pay to one of my connected account then how will I achieve it?
I have tried while passing stripeAccountId to fetchConnectionToken api into the header but never works.
Always through this error while payment:-
{"error": "No such payment_intent: 'pi_3OP0lePaSoFnCqcy1YJkIvpB'"}