#ingelran-Checkout-subscription-dates

1 messages · Page 1 of 1 (latest)

tranquil ruin
#

Unfortunately not, that would have to be set apart from Checkout

cedar hare
#

ok thank you, so i have to catch the webhook "subscript-created" and update this field with the update function

#

?

tranquil ruin
#

What field specifically are you looking to set for "date_stop"?

cedar hare
#

current_period_start and current_period_end of the subscription object

tranquil ruin
#

It looks like I may have been thinking of this a bit wrong. Can you explain a bit what you are trying to do here?

#

I am assuming create a subscription with Checkout that starts some time in the future?

cedar hare
#

Yes i am studiying the following case :

#
  • the renewal of subscription was cancelled by the customer.
    But he has still "active premium" access
#

but

#

at the middle of the month .... he suddently want to subscribe for an other month

#

a new subscription object will be created

#

but should start AFTER the end of the current one

tranquil ruin
#

Otherwise with Checkout you can set the trial_end to the end of their current subscription period. They will have two subscriptions temporarily but one will not be charging.

cedar hare
#

thank you