How to deal with canceled checkout during first trial? #827
Unanswered
guillaumebriday
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Use |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Correct. payment_processor = current_user.add_payment_processor(:stripe)
checkout_session = payment_processor.checkout(...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use Stripe checkout and generic trial.
Code
On registration, I create a subscription with
fake_processor
to deal with trial without a payment method.I got a controller to manage my subscriptions
Issue
But if the customer does not complete the checkout and cancel it, the payment processor will still be
stripe
instead offake_processor
and the current trial period will be gone.I don't really know how to deal with that without adding custom webhooks, so if you have a proper way to deal with it, that would be great!
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions