#snackdex

1 messages · Page 1 of 1 (latest)

thick galleonBOT
slate dawn
#

Hi there!

#

if the payment sheet is closed that it generates an "Incomplete" payment in the stripe dashboard.
Yes that's normal, you can simply ignore incomplete PaymentIntents

ebon pecan
#

ah ok, i think it's better that i just ignore them. unless there is a webhook that tells you when the payment sheet is closed but not paid?

slate dawn
#

unless there is a webhook that tells you when the payment sheet is closed but not paid?
No webhook for this no

ebon pecan
#

i'll just ignore them then 🙂

slate dawn
#

ah ok, i think it's better that i just ignore them
Yes porobabbly

ebon pecan
#

i was originally ignoring them, but now I want to see what subscriptions did not get charged. how would i distinguish those since those also come up as Incomplete?

slate dawn
#

You can check the Status of the Subscription. If the invoice was paid, then the status is active

ebon pecan
#

ah ok, so you wouldn't see it from the payments dashboard?

slate dawn
#

What do you mean?

ebon pecan
#

my ultimate goal is to specifically know when a subscription that is charged automatically doesn't get paid. Like, maybe the card expired or insufficient funds on the card. I was planning on looking at the payments dashboard to see how i can distinguish the incomplete payments that occurred because of that.

#

i believe, that it may be better to get that information from a webhook though. You said that if the subscription wasn't paid it would not be active. Does that mean I can listen to this event: customer.subscription.updated

slate dawn
ebon pecan
#

does this fire only on subscription payment failures, or also in the payment sheet if the card they enter doesn't have enough funds?

slate dawn
#

I recommend doing some tests in test mode to see how this work. But iI think invoice.payment_failed won't be fired for the first payment of the subscription.