Forum
Perch Shop: Bypass Credit Card when order total is zero.
We have a situation where sometimes the order amount will be zero....
In those cases, I would like to bypass the gateway (braintree) and just process the order as there's no cost...
Is that something I can do?
Would I substitute braintree for the manual checkout process here by checking that grand_total = 0 somehow?:
<?php
perch_shop_payment_form('braintree');
?>
ok I see that I can check for a zero amount order with:
I don't think I can change gateways on the fly, can I?
Yes, you can change gateways if you like. It would seem logical to use the manual gateway in this case.