There are, by default, the below payment status checking in the order confirmation template but it never goes to the true condition even the order is payment pending. What makes the order confirmation going to the true condition? Thanks.
Hi @DennisKwan
I hope you are doing well. has_pending_payment is a variable that denotes that payment status is pending. When the payment status for an order is Payment pending, then you might be restricted from editing, canceling, or manually collecting payment for the order. These restrictions can apply to orders where the customer paid using cryptocurrency, wire, barcodes, or other alternatives to credit card payments.
I am adding Shopify link here from these you can get better insights about it https://help.shopify.com/en/manual/orders/notifications/email-variables https://help.shopify.com/en/manual/orders/manage-orders/alt_payments_pending
@rishi1897 I thought that’s a system defined global var. It is working fine now after defining has_pending_payment with checking order.financial_status. Thank you very much for pointing me to the right path.