#romercox-subscriptions
1 messages ยท Page 1 of 1 (latest)
I do not haha so I just want to make sure a CX won't be able to do that ๐
what's a CX?
sorry a Customer
isn't creating/updating a subscription under the control of your application?
it is, but I wanted to know if Stripe would prevent the user from creating another plan and use the same trial period again after the end
so I will do that on my end.
If I change the trial_end unix timestamp to "now", will my setupintent still work?
cuz I just had to rewrite my application to add the trial_end functionality, since I was collecting a payment_intent before
so I've updated to setup intent instead
can you give an example of a user creating another plan and using the same trial period again? Based off what you just said alone, i would say no, Stripe doesn't prevent this. But i would need a specific example to be sure
Let's say you create a subscription, and will be using the service provided for the duration of that trial. ( so far, so good ).
After the trial expires, we will try to collect the payment, three attempts.
After that, the subscription will be canceled, on the Stripe side and under my application side, so now, the CX does not have an active subscription attached to it.
Cx could go back to our site after the cancelation, and "buy" the same plan again, and enjoy the free trial again.
I'm building the solution on my end already so don't worry about it
yes, it's possible. you'll need to do the validation logic on your application to prevent this
Cool, thank you, sir!
another question I have
in this case, to not give the user another trial_period, I'd have to update my subscription creation.
Will setup_payment still work for this scenario? Or I'd have to change it to payment_intent again?
Since I wont be passing the trial_period anymore, OR, I could try doing something like "now" for the trial_end period
what would you suggest?
I will use:
'trial_end' => 'now',
])```
I think this should charge the CX right away, right?
if you're not giving a trial period, then don't include the trial_end parameter. You would need to use the payment intent to pay
Yeah, that would require another huge change in my code ๐ฆ