Return Stripe checkout URL from checkout method #49801
Unanswered
sts-ryan-holton
asked this question in
Q&A
Replies: 3 comments
-
I think you may be missing a
https://laravel.com/docs/10.x/billing#subscription-checkouts |
Beta Was this translation helpful? Give feedback.
0 replies
-
A I haven't used it yet but I'll find out how useful it is soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can we set the success_url like "example.dev://subscription/success" for mobile app? |
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.
-
Cashier Stripe Version
15.2.0
Laravel Version
10.41.0
PHP Version
8.2.*
Database Driver & Version
MySQL
Description
I'd like to migrate my subscription checkout process over to the Stripe checkout for better maintainability. My Laravel project serves as an API for a Nuxt JS front-end, this means I need to return the URL of the Stripe checkout to redirect the user to in my axios response in my front-end.
The
checkout
method appears to do something with the redirect method as I see a 303 response code in my browser. I've tried attaching thetoResponse
method to just get the URL with no luck.I just need some guidance in returning a URL from the checkout method please here:
Steps To Reproduce
Beta Was this translation helpful? Give feedback.
All reactions