Francisco Posted November 1, 2007 Share Posted November 1, 2007 I have about 50 customers that I need to migrate to Quantum gateway, currently I can't figure out a way to automatically switch the CC method massively on all of them to start using Quantum gateway 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 1, 2007 Share Posted November 1, 2007 Its easy to do with a simple sql query. 0 Quote Link to comment Share on other sites More sharing options...
ur Posted November 1, 2007 Share Posted November 1, 2007 Expanding on MACscr thought: in general: UPDATE table SET column = expression WHERE predicates; Now there are a few tables with the payment method you need to update (tbldomains, tblhosting, tblinvoiceitems, tblinvoices, tblorders, and possibly a few more) here's an example how to update table "tbldomains ": UPDATE tbldomains SET paymentmethod='quantumgateway' WHERE paymentmethod='authorize'; You will also want to do a WHERE paymentmethod='authorize' AND status='pending'; to update only unpaid invoices on certain tables. 0 Quote Link to comment Share on other sites More sharing options...
Francisco Posted November 1, 2007 Author Share Posted November 1, 2007 Thanks! 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.