joedogs Posted December 3, 2009 Share Posted December 3, 2009 Does anyone know how to change the default payment method for all clients (services) and invoices without doing it individually? Is there a way to do it through phpMyAdmin? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted December 4, 2009 Share Posted December 4, 2009 update tblinvoices set paymentmethod="paypal" where status="Unpaid" and userid=n; update tblhosting set paymentmethod="paypal" where id=n; etc 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted December 4, 2009 Administrators Share Posted December 4, 2009 This would all clients using Authorize to Quantum. Substitute with your gateways as appropriate: UPDATE tblhosting SET paymentmethod='quantumgateway' WHERE paymentmethod='authorize'; UPDATE tblhostingaddons SET paymentmethod='quantumgateway' WHERE paymentmethod='authorize'; UPDATE tbldomains SET paymentmethod='quantumgateway' WHERE paymentmethod='authorize'; UPDATE tblinvoices SET paymentmethod='quantumgateway' WHERE paymentmethod='authorize' AND status='Unpaid'; 0 Quote Link to comment Share on other sites More sharing options...
joedogs Posted December 4, 2009 Author Share Posted December 4, 2009 Thank you!! 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.