This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Can't place an order with Cash of Delivery if it's conditional #9074
Labels
block: checkout
Issues related to the checkout block.
type: bug
The issue/PR concerns a confirmed bug.
type: cooldown
Things that are queued for a cooldown period (assists with planning).
Recent PR #8441 changed how we define Checkout
payment_method
schema for enabled payment methods to available ones to checkout with.This caused an issue with conditional payment methods like Cash on Delivery which aren't available unless certain conditions are met like selected shipping method, which is only available with a session, but schema generation and validation is sessionless.
Steps to reproduce
payment_method isn't $other_payment_methods
The text was updated successfully, but these errors were encountered: