Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

PayPal Setup

Go to End



Community Member, 2 Posts

9 November 2010 at 6:08pm

Hi guys, I've just taken over a website as a webmaster and I need to setup a paypal button for buying memberships. I have an HTML code for the custom button but I get a Java Parse Error when I paste it in the HTML side. Here is the code

<form action="" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="">
<input type="hidden" name="lc" value="CA">
<input type="hidden" name="item_name" value="Park Membership">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="CAD">
<input type="hidden" name="tax_rate" value="0.000">
<input type="hidden" name="shipping" value="0.00">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHostedGuest">
<tr><td><input type="hidden" name="on0" value="Membership Type">Membership Type</td></tr><tr><td><select name="os0">
	<option value="Family/Sports">Family/Sports $35.00</option>
	<option value="Single/Associate">Single/Associate $25.00</option>
	<option value="Non-Resident">Non-Resident $20.00</option>
</select> </td></tr>
<input type="hidden" name="currency_code" value="CAD">
<input type="hidden" name="option_select0" value="Family/Sports">
<input type="hidden" name="option_amount0" value="35.00">
<input type="hidden" name="option_select1" value="Single/Associate">
<input type="hidden" name="option_amount1" value="25.00">
<input type="hidden" name="option_select2" value="Non-Resident">
<input type="hidden" name="option_amount2" value="20.00">
<input type="hidden" name="option_index" value="0">
<input type="image" src="" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="" width="1" height="1">

Can I use that or do I have to use the commerce module?