8.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

04-18-2016, 01:20 AM
Post: #1
[Req] PayPal Button Code Help, Please.
Thanks for your help!

I'm attempting to create a PayPal Button that has an option to pay in full or pay a monthly subscription for 10 payments.

Can't use the 'installment plan' on PayPal because they only allow 4 installments, so I'm setting this UP as a 10 pay subscription...

My code only displays BOTH options at once, no matter which option is chosen...

Thank you VERY Much for helping!

:D

Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<!-- Identify your business so that you can bill for payments. -->
<input type="hidden" name="business" value="youremailaddress@gmail.com">

<!-- Specify an Installment Plan button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">

<!-- Specify details about the installment plan. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Item Being Sold">
<input type="hidden" name="disp_tot" value="Y">

<!-- Make sure you get the buyer's address during checkout. -- >
<input type="hidden" name="no_shipping" value="2">

<!-- Set up 2 plan options for buyers to choose. -->
<input type="hidden" name="option_select0" value="option_0">
<input type="hidden" name="option_select0_name" value="Pay In Full">
<input type="hidden" name="option_select0_type" value="F">
<input type="hidden" name="option_select0_a0" value="307.00">
<input type="hidden" name="option_select0_p0" value="1">
<input type="hidden" name="option_select0_t0" value="D">
<input type="hidden" name="option_select0_n0" value="1">
    <!-- Set the terms of the 2nd trial period. -->
    <input type="hidden" name="a1" value="307.0">
    <input type="hidden" name="p1" value="1">
    <input type="hidden" name="t1" value="D">

<input type="hidden" name="option_select1" value="option_1">

<input type="hidden" name="option_select1_name" value="Payment Plan">
<input type="hidden" name="option_select1_type" value="E">
<input type="hidden" name="option_select1_a1" value="30.70">
<input type="hidden" name="option_select1_p1" value="10">
<input type="hidden" name="option_select1_t1" value="M">
<input type="hidden" name="option_index" value="0">
    <!-- Set the terms of the 2nd trial period. -->
    <input type="hidden" name="a3" value="30.70">
    <input type="hidden" name="p3" value="10">
    <input type="hidden" name="t3" value="M">

<!-- Display 2 plan options for buyers to choose. -->
<table>
<tr>
<td colspan="2"><input type="hidden" name="on0" value="plans"></td></tr>

<!-- Pay in Full plan option -->
<tr>
<td><input type="radio" name="os0" value ="option_0"
checked="checked"></td>
<td><strong>Pay In Full</strong></td>
</tr>
<tr>
<td></td>
<td>Amount at checkout $307.00 USD</td>
</tr>

<!-- Payment Plan -->
<tr>
<td><input type="radio" name="os0" value ="option_
1"></td>
<td><strong>Monthly Payments</strong></td>
</tr>
<tr>
<td></td>
<td>Number of payments: 10</td>
</tr>
<tr>
<td></td>
<td>Payment Plan</td></tr>
<tr>
<td></td>
<td>
<table>
<tr>
<th>Due*</th>
<th>Amount</th>
</tr>
<tr>
<td colspan="2"><hr /></td></tr>
<tr>
<td>First Payment</td>
<td>$30.70 USD</td>
</tr>
<tr>
<td>Every 1 month (x 9)</td>
<td>$30.70 USD</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><b>
Total&nbsp;&nbsp;&nbsp;
$307.00 USD</b></td>
</tr>
</table></td></tr>
<tr>
<td colspan="3"><i>* We calculate payments from the
date of checkout.</i></td>
</tr>
</table>

<!-- Display the Installment Plan button -->
<table>
<tr><td><i>Sign up for</i></td></tr>
<tr><td><input type="image" name="submit"
src="https://www.paypalobjects.com/en_US/i/btn/btn_installment_plan_LG.gif"
alt="PayPal - The safer, easier way to pay online!"></td></tr>
</table>

<img alt="" width="1" height="1"
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"
</form>




40.gif