#sg-pushpaveni_api

1 messages ยท Page 1 of 1 (latest)

gaunt bronzeBOT
#

๐Ÿ‘‹ 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.

ember timber
#

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)?

balmy crow
#

these are customer id and payment method id which we received from stripe only
payment method id is used for recuring payments

ember timber
#

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

balmy crow
#

it is very surprising for me also

#

kindly check this customer id - cus_QPcYmxVIJCQPla

#

A recurring payment was triggered on 2024-08-05

ember timber
#

OK, now that is an actual Stripe ID. What's the issue?

balmy crow
#

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."

ember timber
balmy crow
#

would you share the screenshot of this

ember timber
#

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

balmy crow
#

Im a developer and dont have the creddentiials to login to stripe console and check it out

ember timber
#

You should be listening for webhook events to be notified of when this happens, like source.failed

balmy crow
#

yes, we are listening to the webhook events and got this as the response

balmy crow
ember timber
#

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

balmy crow
#

yes, you are right, this is SEPA payment

#

ok fine, thanks for the information ๐Ÿ™‚

balmy crow
ember timber
#

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

gaunt bronzeBOT
ember timber
#

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

balmy crow
#

ok fine, thanks for the details

ember timber
#

But once the Source transitions to 'failed', you can no longer charge it

balmy crow
#

oh ok, I am able to understand it

#

thanks again for you support

copper crow
#

hi! I'm taking over this thread. let me know of you have any other questions.