#augustus_chan

1 messages · Page 1 of 1 (latest)

empty sierraBOT
thorny furnace
#

what are the subscription IDs in test mode and live mode respectively?

half loom
#

Just a moment

#

Test mode : sub_1OCgewAGBn007jGAenYCWGkr

thorny furnace
#

What's the ID in live mode?

half loom
#

How to set up live mode?

thorny furnace
#

Ah, sorry I misread your question, I though you encountered a subscription that was paid immeidately.

#

This is the default behaviour in Stripe billing. After an invoice is created, Stripe will wait for 1 hour before finalizing and payment.

half loom
#

Can I pay immediately when the subscription period comes?

#

Is there a place to set it up?

thorny furnace
#

Sure you can, you can listen to invoice.created event, when it occur, programmatically finalize and pay it.

half loom
#

Can payments be made only by listening to events (invoice.created event)? Is there any configuration item in dashborad?

thorny furnace
#

No such configuraiton.

half loom
#

How to differentiate?

thorny furnace
#

I'm not sure what you mean

half loom
thorny furnace
#

What are the event IDs?

half loom
#

The first time is when the user takes the initiative to pay. The second time is how to initiate the payment. How to distinguish the first time user’s payment?

thorny furnace
#

So you want to differentiate the first invoice and the subsequent invoices, am I right?

half loom
#

Yes