jeffuk Posted March 27, 2019 Share Posted March 27, 2019 (edited) We have a few add-ons like Cloudflare (free) that do not require payment. This morning we had an existing customer order this addon but he was faced with having to select a payment gateway. Stripe requested card details and with Paypal, you get an error page if the amount is 0.00. Is there a way to skip payment gateways if the order value amounts to 0.00 (free).? Edited March 27, 2019 by jeffuk 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 27, 2019 Share Posted March 27, 2019 1 hour ago, jeffuk said: Is there a way to skip payment gateways if the order value amounts to 0.00 (free).? no and yes (i'm in a contrary mood this morning lol). 🙂 no in the sense that an order needs to use a gateway (as it triggers later events)... but what you could do is specify a gateway for free products (or addons in your case) and remove all other gateway options... I posted various hooks to do this in the thread below, and bendrop posted a dummy gateway to use with free products (if you don't want to use mailin/banktransfer)... you should be able to adjust any of the hooks for your specific needs, but if you hit a brick wall, just holler and i'll take a look. 0 Quote Link to comment Share on other sites More sharing options...
jeffuk Posted March 27, 2019 Author Share Posted March 27, 2019 Brilliant, thank you Brian. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.