Fitpassu / react-native-stripe-payments

Lightweight, easy to integrate and use React native library for Stripe payments (using Payment Intents) compliant with SCA (strong customer authentication)
MIT License
98 stars 31 forks source link

confirmPayment method doesnot work, got error There was an unexpected error -- try again in a few seconds #19

Closed shahchirag2110 closed 3 years ago

shahchirag2110 commented 3 years ago

I need to create payment method id for client but never success and always got below error.

React native version react-native-cli: 2.0.1 react-native: 0.62.0

iOS : 14.0

Error: There was an unexpected error -- try again in a few seconds
    at Object.promiseMethodWrapper [as confirmPayment] (NativeModules.js:103)
    at Stripe.confirmPayment (index.js:16)
    at AddCard.handlePayment (AddCard.js:41)
    at Object.onPress (AddCard.js:100)
    at onPress (TouchableHighlight.js:209)
    at Pressability._performTransitionSideEffects (Pressability.js:655)
    at Pressability._receiveSignal (Pressability.js:589)
    at onResponderRelease (Pressability.js:499)
    at Object.invokeGuardedCallbackImpl (ReactNativeRenderer-dev.js:286)
    at invokeGuardedCallback (ReactNativeRenderer-dev.js:497)

Please help us for above error

akhilsanker commented 3 years ago

Hi, Same issue in iOS, works fine in android

Any solution??

katiachumakova commented 3 years ago

Any solution for this? Ran into the same issue. Why is this closed?

shahchirag2110 commented 3 years ago

@katiachumakova I need to use confirmSetupIntent method for charge in future where in the library they used confirmIntent so we used this library and modify by our way. That's why i closed this issue