[ic] Multiple Payment Gateways

Dan Browning interchange-users@icdevgroup.org
Thu Apr 10 23:14:00 2003


At 07:10 PM 4/10/2003 -0500, you wrote:
>Is it possible, and any suggestion on implementation, on having a payment
>gateway (authorizenet) * OR * the regular email manual processing dependant
>on the "Billing Country"? Seems Authnet is refusing ALLOT in international
>orders and we would like a chance to process those manually.
>
>Thanks for any suggestions in advance.

TIMTOWTDI.  Mike Heins helped me with the very same thing (and for the very 
same reasons, in fact) a little while ago.  The solution depends on how 
your catalog is setup.  One way would be to modify your profile.order...

[elsif value fax_order == 3]
&set = mv_payment COD
[value name=mv_handling set=cod hide=1]
[/elsif]
[elsif variable MV_PAYMENT_MODE]
&credit_card=standard keep __CREDIT_CARDS_ACCEPTED__
&charge=[var MV_PAYMENT_MODE][cgi mv_payment_test]
&set=mv_payment Real-time ([var MV_PAYMENT_MODE]) Credit Card
[/elsif]

You simply throw some extra conditions in there before the &charge 
operation is called, such as [if b_country ne "US"]...

HTH,
-Dan


--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies,      <dan.browning@kavod.com> |
| 6700 NE 162nd Ave, Suite 210, Vancouver, WA (360) 843-4074 x217 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
"My doctor told me to stop having intimate dinners for four.  Unless
there are three other people."
                 -- Orson Welles