plusplushosting Posted March 5, 2020 Share Posted March 5, 2020 Hi guys, Wondering if someone has a hook at hand...to check the invoiced items in the dbase and if there is any domain item in the invoice hide the recurring payment button option? I guess should query the dbase, make the check and then return the $paymentbutton variable. Any hook that i can modify will be great too. Thanx in advance! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 6, 2020 Share Posted March 6, 2020 16 hours ago, plusplushosting said: I guess should query the dbase, make the check and then return the $paymentbutton variable. if you're talking about viewinvoice, then you may not need to query the database - you should be able to loop through the invoiceitems array, check for type values and if it finds DomainRegister, DomainTransfer or Domain (used for renewals), then it modifies the button code to remove the recurring option... though that modification process might be different depending upon which payment gateway you're wanting to modify. 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.