[ic] paypal button on checkout page

Wilson F Voelker Jr interchange-users@interchange.redhat.com
Tue Apr 9 09:27:01 2002


Has any one put a paypal button on the checkout form and still retained the
other pay options? ie online check,COD,postal,PO
I am replacing this code:

<FORM ACTION="[process secure=1]" METHOD="POST" name=checkout>
 <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">

with this code:
[if value payment_method ne credit]
  <FORM ACTION="[process secure=1]" METHOD="POST" name=checkout>
  <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
[/if]

and under the credit card options routine I deleted the credit card checking
routines and entered this code:

<table>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"
name=checkout>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="wilsonv@sbcglobal.net">
<input type="hidden" name="item_name" value="[item-list][item-field
title],[/item-list]">
<input type="hidden" name="item_number"
value="[item-list][item-code],[/item-list]">
<input type="hidden" name="amount" value="[total-cost noformat=1]">
<input type="image" src="/how-2-do-computers/x-click-but5.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free
and secure!">
</form>
</table>

once I change the FORM ACTION to the paypal http address nothing works
except the paypal button.  I am not a html or java programmer does any one
have any suggestions?

Wilsonv