#theculturedone

1 messages ยท Page 1 of 1 (latest)

alpine cypressBOT
radiant blaze
#

this is the input which sometimes spawns another 2 checkboxes and other times not

trim hound
#

Hello! I believe the reason it's not showing up is because your subscription is scheduled to be created at a future date (which under the hood will create a subscription schedule)

#

Configuring trial end behavior is something that you can only set for subscriptions, not for subscription schedules

radiant blaze
#

Ah

#

got it

#

Indeed if i set the start date to present time it spawns

#

Thank you !

trim hound
#

๐Ÿ‘ happy to help

#

@radiant blaze if you have another question feel free to ask here

radiant blaze
#

Lol

#

I was just about to

#

So I have another question:
Assuming I want my customers to set up their billing info on trialWillEnd webhook event from a free trial.
I am creating a new checkoutSession with mode setup.
How can i make this checkoutSession set the payment method configured as the default one?
Because the issue is that even though I managed to configure a payment method via checkout it is not the default one.

#

And when the trial ends the subscription will get deleted even though the customer set up their info.

trim hound
#

You'd need to write additional code to set the default - after the checkout session is successful you'd make an api request to update the Customer and set invoice_settings.default_payment_method to the PaymentMethod you just set up (https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)