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
Error when applying coupon code #558
Comments
Released as part of v2.3.65. |
Thanks! Looks like Statamic doesn't like augmenting fields called It should be fixed now for you, in v2.3.65. Have a great evening! |
Updated to latest version. Get redirected to https://domain.com/!/simple-commerce/coupon with another error: 419 |
Oh, replace the CSRF bit you have with the 'csrf_field' tag. I forgot to mention that haha. I also noticed you weren't using the tag but you're using a custom form? |
Replace with what? |
Replace it with this: https://statamic.dev/variables/csrf_field |
This doesn't solve the issue unfortunately. Still 419 Expired
|
That's odd, that fixed it for me when I tried. Are you using static caching? |
Clearing the cache fixed it 👍🏻 |
Bug Description
When applying a coupon code. The server returns an error 500.
Error log:
laravel.log
My cart.antlers.html
cart.antlers.html.zip
Steps to reproduce
Add items to cart. Apply couponcode
Environment
Statamic 3.2.29 Solo
Laravel 8.78.1
PHP 7.4.13
cnj/seotamic 2.0.5
doublethreedigital/duplicator 2.1.0
doublethreedigital/simple-commerce 2.3.64
pecotamic/sitemap 1.2.7
The text was updated successfully, but these errors were encountered: