duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
143 stars 36 forks source link

[5.x] When deciding post-checkout cart handling, check the full URL too #901

Closed duncanmcclean closed 1 year ago

duncanmcclean commented 1 year ago

This pull request fixes an issue I just ran into where you could sometimes end up with an empty cart on the 'checkout complete' page, even though Simple Commerce should be persisting the completed cart for you.

In my case, we're returning a route as the redirect parameter on the checkout form which I think is causing this.

github-actions[bot] commented 1 year ago

Released as part of v5.3.5.