#1voy
1 messages · Page 1 of 1 (latest)
Hello! Can you share the request or PaymentIntent ID that's giving you this error?
No, I don't need your code right now - I need a reqeust ID or paymentintent ID
Sorry, is this what you need?
requestId: 'req_hI6YtRNxzWnmdm'
payment_intent: undefined,
Yes that works
Why are you setting amount to be so low? For usd currency the minimum chargeable amount is 50
I did not know that it can affect it, thank you. Now after setting it to 50, my useEffect throws an error:
Yeah so that means somethign is wrong with JSON it's getting back from your server
You need to debug exactly what your server is sending back and make sure it's correct
so far I've only been able to figure out that I am getting a status 500, what could I dig deeper into?
Are you sure you're able to hit your server?
Yes, I've tested it and know it can communicate. I changed my server stripe instance to use STRIPE_SECRET instead of STRIPE_SECRET_TEST and know am back to status 400 "No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard"
Why is this error popping up with automatic_payment_methods?
I have apple and google pay activated, no cards yet
You need to have card enabled in order to use apple and google pay
Great thank you! Just curious, why was the prebuilt page not giving me such issues? I want to mention that this current custom payment flow does not show the UI, while the prebuilt showed up correctly