#_mirrorcat

1 messages · Page 1 of 1 (latest)

rose tuskBOT
quartz pivot
quasi thorn
#

From Webhook event 'invoice.payment_succeeded', What is the exact purpose of this? When monthly payment is made through subscription, is the event sent when payment is completed normally? (This is not specified in the previous document.)

quartz pivot
#

Yes when the payment is succeeded, as the Subscription will try to automatically charge your customer on its montly basis

quasi thorn
#

then, If you didn't receive the invoice.payment_succeeded event through the webhook, does that mean the payment was not successfully completed? Because I need to implement the process based on the webhook event that confirms the subscription payment was successfully completed, I need to know the exact webhook event name that indicates the payment has been successfully processed.

quartz pivot
#

If you didn't receive the invoice.payment_succeeded event through the webhook, does that mean the payment was not successfully completed
Yes. Make sure to check this Invoice is actually a Subscription Invoice, not an one-off invoice

quasi thorn
#

thanks! here's another question.
For example, while paying for a monthly subscription with credit card A, a problem with card A occurred and payment was not made, and when the user changes the subscription payment method to card B, how does the payment proceed again?

quartz pivot
#

It depends on if the failed Invoice will be retried due to Retry Policy

#

You can test in Test mode, by using Test clock