#_shubhamjha
1 messages · Page 1 of 1 (latest)
@molten fox hi! first — be patient and don't spam the channel.
second, what is your question/issue?
sorry for that
i have an issue in subscription update
a customer have an invoice generate on billing priod end and the payement is decliend by bank but in that case subscription is upadted
that is normal, the update happens regardless of if the payment succeeds, by default
without payment is getting from customer
you can use this feature instead : https://stripe.com/docs/billing/subscriptions/pending-updates
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
look into this this is my live mode and payment is failed from bank issue how can i handel it on my end
and also how can i test this in test mode
Can you share that Subscription Id.
But acording to that error the bank declined the payment, there is nothing you can do expect asking the customer to use another payment method or reach out to their bank in order to learn more about this decline.
so in that case how can i handle it , i see if the payment is getting faiild , but it upadted the subscription without geting payment
You can configure Stripe in order to send the customer an email to update their payment methods:
https://dashboard.stripe.com/settings/billing/automatic
Section Manage failed payments
Or listen to webhook event for a more customizable flow:
https://stripe.com/docs/billing/subscriptions/webhooks#payment-failures
this is customer subscription id: --sub_1NgW4mSFtb35WIZNwuUHM5R5
yes the decline code is generic_decline and
The customer needs to contact their card issuer for more information.
https://stripe.com/docs/declines/codes#:~:text=the payment.-,The customer needs to contact their card issuer for more information.,-incorrect_number