You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When Tap to Pay payment screen open in android and i tap a card its always say me no supported application for NFC Tag. Also in some device i didn’t even get the message .
Describe the bug
When Tap to Pay payment screen open in android and i tap a card its always say me no supported application for NFC Tag. Also in some device i didn’t even get the message .
Stripe Terminal React Native SDK version
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.23",
Smartphone (please complete the following information):
Code:
const collectPayment = async secret => {
try {
const clientSecret = secret;
console.log('Client secret:', clientSecret);
// Retrieve the payment intent
const collectResult = await retrievePaymentIntent(clientSecret);
console.log('Collect result:', collectResult?.paymentIntent);
if (collectResult.error) {
console.error('ERRRORRR', collectResult.error);
return;
}
// Collect the payment method
const collectPaymentResult = await collectPaymentMethod({
paymentIntent: collectResult?.paymentIntent,
});
if (collectPaymentResult.error) {
console.error('collectPaymentResult error', collectPaymentResult.error);
SimpleToast.show('Please try another card.');
Navigation.navigate('Scan');
return;
}
console.log('Collect payment result:', collectPaymentResult);
// Confirm the payment intent
const confirmResult = await confirmPaymentIntent({
paymentIntent: collectResult?.paymentIntent,
});
if (confirmResult.error) {
console.error('confirmResult error', confirmResult.error);
return;
}
updateBooking(eventBookingId, 'tapToPay');
console.log(
'Payment successful:',
confirmResult?.paymentIntent?.charges[0]?.paymentMethodDetails,
);
} catch (error) {
console.error('Payment failed:', error);
}
};
Screenshot:
https://prnt.sc/U_6u8H60IFmK
If anyone have idea then help me.....
The text was updated successfully, but these errors were encountered: