#timothy WU-PI
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
could you please share the request id? here's how you can find one https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
please use the thread instead of the main channel for our subsequent messages
and could you please move the screenshot
yes of course
so we could keep the context
I'm still looking at this just a quick moment
the value you are passing is a string
for one, so probably a parseInt might help
but in all cases we highly discourage you from passing the amount to be paid from your front-end as this would lead to potential exploiting of your system
hello sorry im back, first i would like to thank you for your quick response, and i know for now it s nor recommended to put it in the front i will change it after
and i don t understand, i do think my rep is a number type thank to the console.log(typeof rep) wich return number
Hello ๐ Taking over
I see that in your console that there are two amounts being printed, 158 and then 0
I believe the error is raised by you passing in 0 as the amount
yes thanks you,but know it give me another error code error - StripeInvalidRequestError: 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 (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types
and i ve tried to look at the page and activated all the card method i needed but it s still does not work
do you have a request ID I can take a look at?
https://support.stripe.com/questions/finding-the-id-for-an-api-request