#LoLztheOreo - Sub Tax

1 messages · Page 1 of 1 (latest)

copper magnet
#

Hi 👋

#

Okay so looking at the first part about creating subscriptions as pending if the user doesn't finalize the purchase. This sounds like you want to create a Subscription with the payment_behavior as either allow_incomplete or default_incomplete

#

This will keep the subscription in a status of incomplete until the first successful payment

severe knot
#

Right, that makes sense to me. But with a collection_method as collect automatically, that will trigger immediately, no?

Or is there a way to control when that initial payment is attempted, leaving it inactive if they choose to not proceed?

#

@copper magnet

copper magnet
#

Hi, yes. Starting to pick up here.

#

The initial payment is generally handled by the user's integration so I think you could delay the payment.

severe knot
#

@copper magnet Right, okay. Well it doesn't sound like I'm doing the whole flow correctly then, the main issue being giving stripe tax an address to use to calculate the tax during the process.

In the docs it does mention using subscription schedules to setup a subscription that is always 'draft', but looking into the schedules API, it isn't clear how you could setup a first initial phase that's 'awaiting confirmation' or suchlike. I don't know if this is something that using a different API will help me with (hence why I was looking into adding in the location for the quotes API as an alternative)

#

Equally is it possible to update a customers address upon confirming a setup intent with a billing address attached?

copper magnet
#

You might need to make a second API call to retrieve the attached Payment Method with all the details associated with it

severe knot
#

Okay, thanks alot for your help. I don't suppose you have any knowledge on how to use subscription schedules to have an awaiting confirmation period either?

copper magnet
#

Hmmm...I understand how you could use schedules to create a specified trial period but I haven't seen an example of how you would simply await confirmation.