Commit d141086
Fix HTTP 500 error during add-on product checkout (#1257)
Users encountered HTTP 500 Internal Server Error when purchasing products
with add-ons during checkout. The error was caused by calling .products()
method on dictionaries instead of .items().
Changed .products() to .items() in three files:
- app/eventyay/presale/checkoutflowstep/add_ons_step.py (line 213)
- app/eventyay/base/services/cart.py (line 918)
- app/eventyay/api/serializers/event.py (line 270)
This resolves HTTP 500 errors during checkout and allows users to
complete purchases with add-on products.
Co-authored-by: Mario Behling <[email protected]>1 parent b20b051 commit d141086
File tree
3 files changed
+3
-3
lines changed- app/eventyay
- api/serializers
- base/services
- presale/checkoutflowstep
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
| 918 | + | |
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments