#Gautam

1 messages · Page 1 of 1 (latest)

hollow scaffoldBOT
turbid helm
#

Hi
Yes, you can re-confirm it using the API, if you have the payment_method saved.

modest oyster
#

sub_1N81hGGXlQ7PG1unmse4C4GX -- this is subscription where one of the cycle has failed .. we set the re try schedule ..but that did not work

river ginkgo
#

Hi, what do you mean by "that did not work" exactly?

modest oyster
#

once payment has failed in cycle (reason bank declined) then we sent the invoice to customer he paid with different card .. but again next month payment has failed then we realize and update the subscription with correct payment method .. and set the re try schedule after 5 days ( my understanding was during re try payment should processed with correct card) .. but I can not see re try

#

now -- how we trigger the payment for this month

river ginkgo
#

I see the payment was triggered on the 15th this month

modest oyster
#

can we trigger it manually

#

or through API

river ginkgo
#

Via API

modest oyster
#

if I will hit this
const invoice = await stripe.invoices.sendInvoice(
'in_1NWHxFGXlQ7PG1un0tpyyjnp'
);

#

what it will do .. it will retry payment if has not paid

river ginkgo
#

No, that's different. This will send an Invoice email to the customer. But with pay method, Stripe will attempt to charge the customer immediately with the saved PM

modest oyster
#

const invoice = await stripe.invoices.pay(
'in_1NWHxFGXlQ7PG1un0tpyyjnp'
);

#

great !!

river ginkgo
#

Yes.

modest oyster
#

Thanks

river ginkgo
#

Happy to help!