Mechanic Posted August 11, 2020 Share Posted August 11, 2020 Hi, I need a solution to force users to pay using a specific payment gateway when the invoice total becomes larger than X amount. I use two payment gateways now. So, essentially when the total amount exceeds X, then the buttons and dropdown entries of one payment gateway needs to be removed from the invoice page so that the user is forced to pay using the gateway of my choice. It needs to be able to accept exceptions based on invoice number / user id. That is, some users will be able to pay using all t5he payment gateways. It can be a variable or a file that I need to manually edit. The solution doesn't need any GUI. I am using two gateways now, and might add more later. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted August 11, 2020 Share Posted August 11, 2020 This action hook. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 12, 2020 Share Posted August 12, 2020 ... but you've PM'd me, so i'll discuss the specifics of what's required in there as it's more than Kian's or the old example hook above can do out of the box. 0 Quote Link to comment Share on other sites More sharing options...
Mechanic Posted August 12, 2020 Author Share Posted August 12, 2020 16 hours ago, Kian said: This action hook. Thanks a lot. This seems close to what I need. 29 minutes ago, brian! said: ... but you've PM'd me Yes, I did. You came first to my mind, and you know why. 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.