#atul

1 messages · Page 1 of 1 (latest)

tacit ridgeBOT
remote yoke
#

Hey! Bit of a broad question! Is there a specific use case you're trying to account for?

pale elbow
#

I have system designed that use stripes subscription

#

I have to build solution to handle payment failure

remote yoke
pale elbow
#

I have used stripe checkout to subcribe

remote yoke
remote yoke
pale elbow
#

Which events to listen for ??

#

When subscription change from active to past_due, customer.subscription.updated event is fired ??

reef garnet
#

Yep, exactly

pale elbow
#

I need to provide option to my customer, clicking on that they can make the payment,
What how to achieve it ?

reef garnet
#

Clicking on what? Can you describe what it is exactly you're doing?

pale elbow
#

ok

#

Suppose customer have subscribed to my product.
Choose monthly billing cycle,
Stripe automatically charge the card on 1st of every month, and listening to invoice.paid event, i increase the subscription date in my database.

#

Lets suppose a scenario, stripe tried to charge the card on 1st of next month, but could not process it.

#

Now i want to offer customer a button, clicking on which they can make the payment, How can be this achieved ??

reef garnet
#

You'd create a payment page, using Stripe Elements, that would collect payment information from the user and then attempt to confirm the Payment Intent from the Invoice object

pale elbow
#

DO we have any diagram, demonstrating the complete flow of subscription

reef garnet
pale elbow
#

Still i am not clear how to implement thing

reef garnet
#

Create and manage subscriptions to accept recurring payments.

#

There's no one document/guide that outlines how to do all this. You need to cherry pick parts of the documentation and bring it all together, but the above is a good starting point

pale elbow
#

Just confirm few things

#

Whenenever stripe tries to charge and its not able to charge it

#

ok thanks, let me look into it