#ge_orgejoseph27

1 messages · Page 1 of 1 (latest)

wraith schoonerBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

snow jackal
#

Hi, let me help you with this.

#

I am not sure I understand what you're trying to achieve.

final valley
#

I will share the sub id

#

sub_1ODOwKCQTcpcYTushGx2yi7B this subscription got created onNov 17. The payment got failed.
Today customer tried with another card and payment got succeed. And customer billing is from Nov 17 to Dec 17.

#

We have used the same payment intent of previous invoice for the paying.

snow jackal
#

Ok I understand.

#

That's expected, as you've created the Subscription on the 17th, and it was active since then.

final valley
#

But the payment is taking from today, is their any way to start that subscription from today Nov 21 - Dec21

snow jackal
#

You could cancel the Subscription if it's not paid, and then create a new one when they come back.

final valley
snow jackal
#

Or collect the Payment Method with SetupIntents first, and then create a Subscription using the saved Payment Method

final valley
#

I am handling subscription schedule. If the subscription got cancelled, the schedule flow might get lost. Is that true

snow jackal
#

What do you mean by "lost"?

final valley
#

I am handling subscription schedule. If the subscription got cancelled, will the schedule exist?

snow jackal
final valley
snow jackal
#

And it will be automatically charged.

final valley
#

I feel confused. Can you explain again the flow

#

Flow which is the business requirement for payment failed

  1. Payment failed and subscription schdule created with over due. Some days after customer again comes with new payment method.
  2. Server side we used requires_payment_method - status from payment_intent.failed and shows to customer
snow jackal
#

I understand that. But it's hard to manage with Subscription Schedule, as it relies on strict timestamps, e.g. start_date: "now"

#

That's why I suggest an alternative.

#

Instead of creating the SubSchedule first and then trying to collect the Payment Method,
I suggest you collect the PM first, and when it's successull, you create a Subscription Schedule.

final valley
#

But if you share the entire flow.

snow jackal
#

What do you mean by "entire flow"?

#

I can't write the code for you. You will have to put it together from the parts that I can provide(d).

final valley
#

I suggest you collect the PM first, and when it's successull, you create a Subscription Schedule.

this cannot happen already a schedule is there and the customer second payment got failed how can we handle the scenario

final valley
snow jackal
#

Are you asking how to handle this existing customer situation, or how to build a proper flow for new customers?

final valley
#

I am asking to handle existing customer situation,

#

Can I get a call with stripe dev-help?

snow jackal
#

My engineering team doesn't do calls, sorry.

snow jackal
#

You can refund the charge.

#

But before starting I recommend you build a proper flow for new customers.

final valley
snow jackal
#

What do you mean?

final valley
#

Scenario

  1. Customer creates a subscription schedule from our platform payment succeeded.
  2. Next month when next payment date reached, the payment failed due to card error. (sub schedule is in second month). Now we are showing required another payment method.

After 5 days he comes back

Our current implementaiton - Uses the same invoice pay url and give card element and he pays the amount and the date will from the day in which the payment got failed to nect 30 days.

Business requirement - When he pays again, it should start billing from the right day continuing the subscription schedule.

snow jackal
#

You can update the billing_cycle_achor in normal Subscriptions, but I am not sure how this works in Subscription Schedules.

#

As I mentioned before, Subscription Schedules are much more complex and are time-bound, so it's hard to "pause" if the payment is due. The easiest way is to keep it active and stick to the same billing date, if the customer pays a few days later, so be it. Otherwise it's hard to manage.

#

Otherwise if they don't pay for many days, you can just cancel the Sub.