Closed tomik-z-cech closed 7 months ago
Describe the bug : Error message "Payment cannot be processed" appears after changing delivery option changed.
To Reproduce :
Expected behavior : Message "Delivery option changed" appears.
Screenshots : N/A
Devices : All devices.
Additional context : Possible views.py issue in checkout app.
views.py
Line if request.POST.get('payment-checker') == 'true' and order_form.is_valid(): split into two separate statements with different else outputs.
if request.POST.get('payment-checker') == 'true' and order_form.is_valid():
Bug fixed in commit d67a354.
Describe the bug : Error message "Payment cannot be processed" appears after changing delivery option changed.
To Reproduce :
Expected behavior : Message "Delivery option changed" appears.
Screenshots : N/A
Devices : All devices.
Additional context : Possible
views.py
issue in checkout app.