Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to Stripe checkout to not manage the credit card data #20

Open
dantart opened this issue Nov 25, 2020 · 0 comments
Open

Redirect to Stripe checkout to not manage the credit card data #20

dantart opened this issue Nov 25, 2020 · 0 comments

Comments

@dantart
Copy link

dantart commented Nov 25, 2020

Is it possible to use this module to create a subscription where the flow is redirect to Stripe so user put the credit card in Stripe?

I see the method:
$user->newSubscription('main', 'monthly')->create($creditCardToken);

but I don't want to "host" the credit card input data, so I'd like to create the subscription session id, so I can redirect user to stripe checkout as shown in https://stripe.com/docs/billing/subscriptions/checkout

Is this possible?

@dantart dantart changed the title Redirect to Strip checkout to not manage the credit card data Redirect to Stripe checkout to not manage the credit card data Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant