#_wesley974

1 messages · Page 1 of 1 (latest)

bold inletBOT
zinc kettle
#

Hi there, so you want some example for subscription mode checkout?

lost latch
#

For a one-shot payment

#

in js

zinc kettle
lost latch
#

I need after a success payment, record the email in my database.
Then allow the user to parse a full doc.

#

On the success I wish to communicate the user's email to by backend to record.

#

Can we do that with a webhook?

#

Listening success payment?

zinc kettle
#

Yes you are right, you can listen to payment_intent.suceeded webhooks

lost latch
#

ok for that!

zinc kettle
lost latch
#

Now, what's about the billing? I need to let the client to download his invoice.

zinc kettle
#

Are you talking about subscirptions or just invoices?

#

These are two different Stripe products

lost latch
#

Only selling one product, so a one time payment, not a subscription.

#

I know that Stripe (for subscription) offer a billing portal.
But what's about billing when using one-time payment?

zinc kettle
#

You don't need to use billing for one-time payment