Forums

want to disable authorize.net plugin when people pay in cash

TertiusC 23 Jul, 2013
Hi,

I have purchased authorize.net plugin V3,

http://screencast.com/t/gCndGFMrHccy

I have a situation that in the payment form, people select cash sometimes, so they will not put in credit card info, and at this situation, it will have error say, "(TESTMODE) Credit card number is required.", (Well, I am using test mode now.),

I want to check if people selected Cash or creditcard types like "Visa, Mastercard" first, if people select Cash, then, make it don't run the process of paying in authorize.net, otherwise, keep it going.

I want to put the checking creditcard option code in "Extra before onsubmit code:" in the authorize.net plugin

Can you guys tell me the code for me to not run the authorize.net plugin?
You guys think its good way to solve it? if not, how will you solve?

any help appreciate!
This topic is locked and no more replies can be posted.