[ic] Preventing non-US orders from using realtime processing

Curt Hauge ictech at mnwebdesign.com
Tue Apr 18 17:11:49 EDT 2006


DB at m-and-d.com wrote:
> I just added Skipjack realtime credit card processing to a store and
> it is working. I would like to have non-US orders to still use the old
> default non-realtime credit card payment method.

[snip stuff]

>     [if value country=US]
> 
> Can anyone tell me why this is failing?

This works for me:

[if value country =~ /^(US)$/i]

<!-- Do real-time credit card -->

[else]

<!-- Don't do real-time credit card -->

[/else]
[/if]

YMMV


> 
> DB
> 
> 

Good luck!


Curt Hauge
Office 763-689-4984
Cell   612-598-5530
www.IWantAConsultant.com
www.MNWebDesign.com


More information about the interchange-users mailing list