#cnguyen

1 messages · Page 1 of 1 (latest)

radiant jungleBOT
hot nexus
daring ermine
#

Yes but I don't want to use the recommanded flow with upfront subscription

hot nexus
#

Could you share your motivation about this ?

daring ermine
#

We don't like the stripe way for that

#

but i don't know to talk about business

#

i want to talk about tech

#

😄

keen anvil
#

Sure, then you'd create an off_session Payment Intent

daring ermine
#

Because I'm not on the sales or business part so I can 't change the flow. No power to to it ^^

#

Where is the doc to handle customer + pm + pi + confirm ?

keen anvil
daring ermine
#

We can create a PI with a PM (mandatory), but it's not mandatory to add customer information so ?

keen anvil
#

It will be if you wish to re-use the pm_xxx object. They need to be saved/attached to a Customer object to be re-used (which I guess is critical for recurring payments)

daring ermine
#

And, is it possible to do, just an authorize first. Listen the authorize successful event and create the free trial subscription if OK. And few days after, if he is not happy, we release the authorize (and cancel the free trial subscription) . And if he is happ, we capture the PI and validate the subscription ?

keen anvil
daring ermine
keen anvil
daring ermine
#

Not exactly because e make a PI with authorize

#

The setupintent is without payment

daring ermine
keen anvil
#

The steps outlined above are the best way (i.e. create Customer first, then PI, then collect payment info on confirmation). Just swap out Setup Intent for Payment Intent, and pass in capture_method: 'manual'

daring ermine
#

You don't talk about the pm. When do you create the pm? Between the customer and the PI. Right?

keen anvil