#Jairo - No such PaymentMethod
1 messages ยท Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx) with this error? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
This API call contains payment_method: "cus_xxx". So you are trying to pass a Customer ID instead of a PaymentMethod ID
it should be payment_method: "pm_xxx" to actually pass a PaymentMethod ID
but we are not making this call directly from our side ๐
We're making only the POST /subscriptions call to upgrade the subscription
req_qXm2QdQd9sgIbW
And the call to payment_intents endpoint is executed automatically
It seems that Stripe makes this call automatically to charge the prorations
Give me a few minutes to look into this.
Ok, thanks ๐
That actually isn't an automatic call, it is coming from a client side call using your public key https://dashboard.stripe.com/test/logs/iar_mPRdqyNcJ3jgmP
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So it sounds like your client side code may be passing in the wrong ID when trying to confirm this payment
๐ง
I don't know at what point we are making this call
Maybe it is an implicit call made by the Stripe.js library?
We are using the Stripe SDK in backend and there are no direct usages to the PaymentIntent resource
Interesting, so you don't have a custom webpage where users can attempt to pay their invoices here?
It wouldn't be explicit, you would likely be making a call like confirmPayment in the client side js code
Possibly! Let me check
I'll let you know any evidence
Thanks a lot for your support!
Jairo - No such PaymentMethod