#Red-Subscription

1 messages · Page 1 of 1 (latest)

acoustic geode
#

Hi there, you should listen to invoice.paid webhook events to get notified when the invoice is paid successfully.

stray ocean
#

Do you know what I should do when the payment is pending customer action? I thought I would need to return the SDK JS file that comes in the response for the payment intent but it’s a bit long winded and slow.

I’m using a custom checkout flow created using php. I’ve previously taken one off payments by just creating a payment intent and the response gives you a URL to embed into an iFrame where people can confirm their payments.

acoustic geode
stray ocean
#

Ah okay thank you for that I’ll look into that second link then as that’s my ideal scenario is get them to verify during the checkout flow. Thank you.

acoustic geode
#

No problem 🙂