[ic] Payment with an external gateway

Stefano Kerschbaumer interchange-users@icdevgroup.org
Tue Aug 27 05:21:41 2002


This is my first e-commerce with Interchange and I have finish ... but th=
e=20
payment is incomplete ...=20


This is the code in the file profiles.order:


_NAME__                            credit_card
fname=3Drequired
lname=3Drequired
address1=3Drequired
city=3Drequired
country=3Drequired
[if value country =3D~ /^(US|CA)$/i]
    state=3Dstate_province
    zip=3Dpostcode
[/if]
&or phone_night=3Dphone, phone_day=3Dphone Must have day or evening phone=
 number


&fatal =3D yes
email=3Drequired
email=3Demail


&set =3D mv_payment Incomplete


[if variable MV_PAYMENT_MODE]
&credit_card=3Dstandard keep __CREDIT_CARDS_ACCEPTED__
&charge=3D[var MV_PAYMENT_MODE][cgi mv_payment_test]
&set=3Dmv_payment Real-time Credit Card (%c -- [var MV_PAYMENT_MODE])
[else]
&credit_card=3Dstandard __CREDIT_CARDS_ACCEPTED__
&set=3Dmv_payment Credit Card (%c)
[/else]
[/if]


&calc =3D $Values->{mv_payment} =3D~ s/\%c/$Values->{mv_credit_card_type}=
/g; 1;
&final =3D yes
&setcheck=3Dmv_email [value email]


__END__


I must load a page myurl?totalepayment=3D$var&ordernumber=3D$var


I think use  [get-url url=3D"http://demo.akopia.com/"; strip=3D1]


Help ME ?!


Saluti Stefano