#Val

1 messages · Page 1 of 1 (latest)

wary swallowBOT
odd root
#

The mode shouldn't be the issue here. That payment may have been cancelled if its Checkout Session was automatically cancelled after 24 hours

#

If you send me the payment's ID (pi_123) I can check in to why exactly it was cancelled

weak orchid
#

This is for the subscription

#

And for the one-time payment

odd root
#

So this is a side affect of how Checkout works here. With subscriptions the payment intent isn't created until later in the process but for payment mode the intent is created right away. There aren't negative side affects of incomplete payments (other than maybe UI clutter). So this is expected behavior and if you want to get rid of the payment intents you can cancel them and I think they won't show up in the dashboard by default

#

I think checkout.session.expired would be the event to try to cancel them in though I think they are automatically cancelled at that point anyways.

weak orchid
#

Thanks for the details on how it works @odd root

As you said, it's more of a UI clutter, which bugs me a bit 😄

One thing I'm not clear about: At which point would I cancel them? Also, wouldn't that cancel the actual intent so the user wouldn't be able to complete it?

Sorry, I am a total noob to the API.