#1voy

1 messages · Page 1 of 1 (latest)

rose atlasBOT
visual mist
#

Hello! Can you share the request or PaymentIntent ID that's giving you this error?

vapid minnow
#

current route handler

#

this is my subscribe page

visual mist
#

No, I don't need your code right now - I need a reqeust ID or paymentintent ID

vapid minnow
#

Sorry, is this what you need?
requestId: 'req_hI6YtRNxzWnmdm'

#

payment_intent: undefined,

visual mist
#

Yes that works

#

Why are you setting amount to be so low? For usd currency the minimum chargeable amount is 50

vapid minnow
#

I did not know that it can affect it, thank you. Now after setting it to 50, my useEffect throws an error:

visual mist
#

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

rose atlasBOT
vapid minnow
#

so far I've only been able to figure out that I am getting a status 500, what could I dig deeper into?

visual mist
#

Are you sure you're able to hit your server?

vapid minnow
#

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

visual mist
#

You need to have card enabled in order to use apple and google pay

vapid minnow
#

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