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
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Apple pay is working on simulator without any issues, but on real phones (include sandbox account and live account) doesn't work.
It shows an alert "Error: Cancelled by user". (please check the image).
App region is 'Ireland'.
Created everything for Apple Pay.
My code is below
import RNPickerSelect from 'react-native-picker-select';
stripe.setOptions({
publishableKey: 'pk_test_*********************************',
merchantId: 'merchant.com.--.--------',
})
Closing this ticket, so that new users don't think this project is still active.
Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity!
Apple pay is working on simulator without any issues, but on real phones (include sandbox account and live account) doesn't work.
It shows an alert "Error: Cancelled by user". (please check the image).
App region is 'Ireland'.
Created everything for Apple Pay.
My code is below
import RNPickerSelect from 'react-native-picker-select';
stripe.setOptions({
publishableKey: 'pk_test_*********************************',
merchantId: 'merchant.com.--.--------',
})
try {
const token = await stripe.paymentRequestWithNativePay({
currencyCode: 'EUR',
countryCode: 'IE',
shippingType:'delivery',
requiredBillingAddressFields: [],
},
[
{
label: 'Item',
amount: '' + totalPrice,
}
],
);
The text was updated successfully, but these errors were encountered: