-
Notifications
You must be signed in to change notification settings - Fork 659
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
Return Stripe checkout URL from checkout method #1636
Comments
Hi there, Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels: However, this issue will not be locked and everyone is still free to discuss solutions to your problem! Thanks. |
Duplicated over to: laravel/framework#49801 |
Just wondering if anyone from the Cashier team is able to point me in the right direction here? I don't know the codebase or methods, you guys do 🤣 |
A I haven't used it yet but I'll find out how useful it is soon. |
@stuartcusackie That's what I ended up using. My front-end is separated from the backend. Turns out the |
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
The text was updated successfully, but these errors were encountered: