Open ramangupta1602 opened 2 months ago
Hi @yatatsu,
Why I'm stuck on add credit card screen, why I don't get token after this process, using the latest version of the package and the version of react-native@0.72.3
and the code is:----
onPressAddCard = () => { PayjpCardForm.startCardForm() }
const unsubscribePayjpForm = PayjpCardForm.onCardFormUpdate({ onCardFormProducedToken: async token => { console.log('onCardFormProducedToken', token);
return PayjpCardForm.completeCardForm()
} catch (exception) { return PayjpCardForm.showTokenProcessingError('An error has occured') } } })
PayjpCore.init() this is working fine but I'm stuck here onCardFormUpdate
Hi @ramangupta1602
I’ve looked at your code and screenshots. Please check the following points:
thanks
Hi @yatatsu,
Why I'm stuck on add credit card screen, why I don't get token after this process, using the latest version of the package and the version of react-native@0.72.3
and the code is:----
onPressAddCard = () => { PayjpCardForm.startCardForm() }
const unsubscribePayjpForm = PayjpCardForm.onCardFormUpdate({ onCardFormProducedToken: async token => { console.log('onCardFormProducedToken', token);
} catch (exception) { return PayjpCardForm.showTokenProcessingError('An error has occured') } } })
PayjpCore.init() this is working fine but I'm stuck here onCardFormUpdate