Redirection to Stripe Fails in SPA Mode #22
-
Hi everyone, I'm currently working on a project using Cashier Billing Provider. I've encountered an issue where the redirection to Stripe for billing purposes doesn't work when SPA mode is enabled. Has anyone faced a similar issue or found a workaround for this? Any insights or suggestions would be greatly appreciated. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I didn't encounter this issue before. I've done applications using this package, but all aren't using SPA mode. I'll try it out with one of my applications later on. If I can't reproduce the bug, it feels more like a Filament PHP bug because that's where the redirection is handled. |
Beta Was this translation helpful? Give feedback.
-
I finally had the time to reproduce the bug locally with SPA mode. And indeed the redirect is not happening when SPA mode is enabled. Like I mentioned earlier, I rather think this is a Filament PHP bug because, the documentation tells use:
And redirecting is what we do at the following line: https://github.com/maartenpaauw/filament-cashier-billing-provider/blob/main/src/Stripe/RedirectIfUserNotSubscribed.php#L60 Are you in the position to open up a GitHub issue at https://github.com/filamentphp/filament? |
Beta Was this translation helpful? Give feedback.
I didn't encounter this issue before. I've done applications using this package, but all aren't using SPA mode. I'll try it out with one of my applications later on. If I can't reproduce the bug, it feels more like a Filament PHP bug because that's where the redirection is handled.