#kurama_error
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1282868859564593172
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- kurama_error, 3 days ago, 5 messages
What is the error message in your if (error) block?
if (error) {
console.log('Apple Pay confirmation error:', error);
Alert.alert('Payment Failed', error.message);
}
This is what comes in my console.log
Apple Pay confirmation error: {"code": "Canceled", "declineCode": null, "localizedMessage": "The payment has been canceled", "message": "The payment has been canceled", "stripeErrorCode": null,
"type": null}
Could you share the Payment Intent (pi_xxx) that was used in this payment?
Client secret: pi_3PwrByI8A7Dop4fz0Fq5A6qP_secret_WFOPwA8WEuxhZ1ytgsz2gTgoQ
Your own server canceled the Payment Intent: https://dashboard.stripe.com/test/logs/req_HSFuhv4V46pmeG
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
There was no confirmation request to Stripe, but only cancelation request was sent after the Payment Intent creation
Which version of stripe-react-native SDK are you using?
"@stripe/stripe-react-native": "^0.38.0",
I commented out all code related to calling cancelPaymentIntent endpoint just now and I am still getting this error
pi_3PxIbrI8A7Dop4fz15Ltqieu_secret_kaROoO2RbgFwJod719oGDUx3u
latest^
https://docs.expo.dev/versions/latest/sdk/stripe/:
Each Expo SDK version requires a specific @stripe/stripe-react-native version. See the Stripe CHANGELOG for a mapping of versions
By checking the change log: https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md, v0.38.0 isn't an Expo supported version
Could you try this guide here https://docs.expo.dev/versions/latest/sdk/stripe/ to get your SDK in the right Expo version?
tried, no luck. same error
My expo version is at 51. Changelog doesnt have a version for that and
Each Expo SDK version requires a specific @stripe/stripe-react-native version. See the Stripe CHANGELOG for a mapping of versions. To automatically install the correct version for your Expo SDK version, run:
npx expo install @stripe/stripe-react-native
This gives me "@stripe/stripe-react-native": "^0.38.0",
stripe-react-native doesn’t support Expo SDK 51 as of now. Could you try using Expo SDK 50 with stripe-react-native v0.35.1?
Yes will give this a try. I'll have to run eas build after which takes a while. How can I update you tomorrow or will I have to create a new thread?
This thread is short lived and will be closed once it becomes inactive. I’d recommend creating a new question in #help if you still face any issue after this thread is closed
Thanks man. Appreciate your help. Hope this works so I won't have to