Abandoned payment processor setup with Stripe free trial #570
Unanswered
computer-smile
asked this question in
Q&A
Replies: 1 comment
-
|
@computer-smile Curious to know if you found a flow that works for you? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating my Stripe free trial experience. Here is what I have so far.
Use this to give them access to features.
Just clicking the button from
app/views/settings.html.erbcreates the stripe payment processor and makes it the default.stripe.customer.subscription.createdwebhook to cancel the trialPay::Subscriptioncreated when the user signs up.Pay::Subscriptionthat was created for the trialdefault: falsePay::Customerwithfake_processorcreated for the trialPay::Subscriptionto use moving forwarddefault:truePay::Customerto be used moving forwardThis feels ok as a strategy for free trials with Stripe. It's loosely recommended here #563 (comment). #563
2 questions:
Has anyone found a better strategy they like? Possible I may be misunderstanding some of the Pay architecture.
If a user abandons checkout in step 2 a
Pay:Customerwill have been created just from clicking my button inapp/views/settings.html.erbviacurrent_user.set_payment_processor :stripe. So, when they abandon they'll have a new default payment processor (stripe) with no active subscription. And the fake trial and its helper methods will no longer work. So they can get themselves in trouble.Is this the wrong approach? Did I misunderstand the docs for this action/flow?
Thanks for taking a look. Any recommendation or insight is welcome.
Beta Was this translation helpful? Give feedback.
All reactions