#sg-pushpaveni_api
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/1276133333553774612
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Not sure what those IDs are but they aren't for Stripe objects. Can you share the ID for the request that returned the error (req_xxx)?
these are customer id and payment method id which we received from stripe only
payment method id is used for recuring payments
payment_xxx is not the format of an ID in our API I'm afraid
cus_xxx is but the UUID is too long. I've looked internally and they don't exist
it is very surprising for me also
kindly check this customer id - cus_QPcYmxVIJCQPla
A recurring payment was triggered on 2024-08-05
OK, now that is an actual Stripe ID. What's the issue?
we received the below response for this customer for the recurring payment triggerred on 5th aug 2024
"The source you provided requires a valid accepted mandate to be in a chargeable state."
LIke this request? https://dashboard.stripe.com/logs/req_ERMcP89TBrmAQB
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
would you share the screenshot of this
Looks like the SEPA mandate was cancelled. I'd guess the bank/customer just cancelled it, so that the Source object you're trying to charge is no longer chargeable: src_1PYnJ9Jf6oICl7AzUGY9vjjs
Im a developer and dont have the creddentiials to login to stripe console and check it out
You should be listening for webhook events to be notified of when this happens, like source.failed
yes, we are listening to the webhook events and got this as the response
is it due to 3D secure enabled with the credit card which is causing the issue???
Nothing to do with 3DS no, as this is a SEPA Debit source and nothing to do with a card
I already explained the issue
kindly explain me on this """Looks like the SEPA mandate was cancelled."""
what does it mean?
When you create a payment method for recurring usage, there's a mandate/agreement between you (the merchant) and that bank the the customer has approved. The caveat being that they can just cancel that with their bank and that makes the payment method unusable
Your integration needs to handle those scenarios, like listening for source.failed events, and handling them. Maybe you email the customer and ask them to provide new payment info
ok fine, thanks for the details
But once the Source transitions to 'failed', you can no longer charge it
hi! I'm taking over this thread. let me know of you have any other questions.