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

Cart isn't properly associating with Order #88

Closed
devmanda opened this issue Jul 12, 2024 · 2 comments · May be fixed by #89
Closed

Cart isn't properly associating with Order #88

devmanda opened this issue Jul 12, 2024 · 2 comments · May be fixed by #89

Comments

@devmanda
Copy link

It seems like the cart isn't properly associating with an order when one is placed. I am being redirected to home on order success instead of the success page, with the error of "Cannot assign null to property App\Livewire\CheckoutSuccessPage::$order of type Lunar\Models\Order".

Full Error Tracking:
https://flareapp.io/share/87nXeNym#stack

@alecritson
Copy link
Contributor

Thanks for reporting @devmanda this has come up a few times, the issue is the time between Lunar processing Stripe's webhook and having a completed order available.

I've put together a quick PR (which should be linked to this issue now) to demonstrate how you can solve this :)

@devmanda
Copy link
Author

Thank you! Will try that

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

Successfully merging a pull request may close this issue.

2 participants