Shopify hide payment method with your own Payment Customization Function: hide Cash on Delivery on orders over $500 or for Canada, rename Bank Deposit and move it to the top. Episode 7 of the Shopify Functions 2027 series (API 2027-01). Real checkout on our dev store: with the customization off a US buyer sees Credit card, Cash on Delivery (COD) and Bank Deposit. With it on, "Bank transfer (within 3 days)" comes first; a $595 cart and a Canadian address get no Cash on Delivery.
3 quick fixes from this episode
Shopify Cash on Delivery: Hide COD on Orders Over $500
Shopify cash on delivery with a limit: a Payment Customization Function hides COD when the cart total is over $500. Real checkout on our dev store: $119 shows Cash on Delivery, $595 doesn't.…