[ic] Payment Method incorect on Order Tracking Page.

Darren interchange-users@icdevgroup.org
Sat Jan 4 21:25:00 2003


Hi All,

I have upgraded form IC 4.8.5 to IC 4.9.3.  I have setup paypal in my
store and it is working with one exception.  When a user selects paypal
it will do the processing and work fine except that it says COD in the
payment method in the transaction table and in the orders screen.  The
email that gets send to me and the user says 'PayPal - Payment made to
sales@daboy.com' but it stores it as COD.

Can someone Please help me figure this out.  It worked fine in 4.8.5.

TIA

Darren
------------------------------

Here is how I set it up.

I added PAYPAL_ACCEPTED =1 in my Preferences

****Checkout.html ****
**In the Select section I added:

[if variable PAYPAL_ACCEPTED]
	      <option [selected payment_method paypal]
value="paypal">PayPal Credit Card Billing
	      [/if]

**Further down I have
	[elsif value payment_method eq cod]
      <input type=hidden name=mv_order_profile value=cod>
    [/elsif]
	[elsif value payment_method eq paypal]
      <input type=hidden name=mv_order_profile value=paypal>
    [/elsif]

****profiles.order
**I added the following

__NAME__                            paypal
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
	state=state_province
	zip=postcode
[/if]
&or phone_night=phone, phone_day=phone Must have day or evening phone
number

&set = prof_mode_accepted [var PAYPAL_ACCEPTED]

prof_mode_accepted=required This site doesn't accept PayPal. You should
not have been offered that option; please contact us.

&fatal = yes
email=required
email=email

&set = mv_payment PayPal - Payment made to sales@daboy.com
&final = yes
&setcheck=mv_email [value email]

__END__