Skip to content

Commit

Permalink
fix: Remove duplicate "missing payment_provider" error message (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneberth authored Dec 10, 2024
1 parent 5ad0b80 commit 98ba040
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/viur/shop/modules/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,6 @@ def can_order(
errors.append(ClientError("cart.shipping_address is missing"))
if not order_skel["cart"] or not order_skel["cart"]["dest"]["total_quantity"]:
errors.append(ClientError("cart.total_quantity is zero"))
if not order_skel["payment_provider"]:
errors.append(ClientError("missing payment_provider"))
if not order_skel["billing_address"]:
errors.append(ClientError("billing_address is missing"))
if not order_skel["payment_provider"]:
Expand Down

0 comments on commit 98ba040

Please sign in to comment.