#ge_orgejoseph27

1 messages · Page 1 of 1 (latest)

fair nicheBOT
idle shale
#

hello! I'm afraid that isn't possible, Subscriptions Schedules doesn't work that way. When the schedule starts, the subscription’s initial status will be active with an initial draft invoice that is scheduled to finalize in an hour. Depending on whether payment of the initial invoice is successful or not, the subscription will either stay active or transition to past_due.

wet briar
#

Yes.. So How can we handle failed payments in these case?

If the customer payment got failed?

idle shale
#

how would you like to handle it?

#

e.g do you want to mark the subscription as canceled? do you want to reach out to the customer?

wet briar
#

Eg case the subscription payment fails and if we cancel these, the customers payment intent still exist right?

#

Do we have any doc to share handling subscriptions in subscription schedule in the case of failed payments?

#

We want to notify the customer when the payment fails and subscription payment retry from customer side.

idle shale
#

Eg case the subscription payment fails and if we cancel these, the customers payment intent still exist right?

If you don't want the customer to be able to pay the invoice, you'll need to void the invoice

Do we have any doc to share handling subscriptions in subscription schedule in the case of failed payments?

Subscription Schedules allow you to schedule changes to the underlying subscription. Essentially, for what you can do to recover failed payments, you can take a look at this page : https://stripe.com/docs/billing/revenue-recovery

Learn about automated recovery features that reduce and recover failed subscription payments.

#

there are smart retries, and you can enable settings to send a payment failure email notification to the customer

wet briar
idle shale
#

can you share the subscription id?

wet briar
#

Yes..

#

si_P0n9RS3HLUGtZ5 - subscription item id

#

sub_1OClZBCQTcpcYTusOs6ydbKM - subscription ID

idle shale
wet briar
#

You can't delete invoices created by subscriptions. You need to void the Invoice. - This is a new information.. Thanks..

#

Is these plan work

Creating a subscription schedule and subscription
if payment fails delete the subscription schedule and subscription

customer again starts from begining for the payment.

idle shale
#

if that's the flow that you want to follow, that works

wet briar
#

Again if subscription schedule is cancelled will it cancel the subscription there

idle shale
wet briar
#

`
subCrip, _ := sub.Get(
"subscription_id",
nil,
)

        if subCrip.Schedule != nil {
            _, _ = subschedule.Cancel(
                subCrip.Schedule.ID,
                nil,
            )
        }

        // cancel all open invoices

        in, _ := invoice.VoidInvoice(
            subCrip.LatestInvoice.ID,
            nil,
        )
        log.Println(in)

`

Will these logic work

idle shale
#

i don't know, you should test it