Update Monthly Donation form to fix PayPal problem
On a monthly subscription box, PayPal silently fails to allow the user to select any option but the first one (despite selecting another value from the form) if you name the values the same. It's somewhat obvious when you review the form code that PayPal gives you that all the value="" fields were the same, and thus the incorrect behavior is somewhat unsurprising. I fixed this by modifying the buttons to include the amount in words.
This commit is contained in:
parent
55d84a19b1
commit
7538e2881e
1 changed files with 7 additions and 7 deletions
|
@ -31,13 +31,13 @@ USA
|
|||
<input type="hidden" name="cmd" value="_s-xclick">
|
||||
<input type="hidden" name="hosted_button_id" value="XCZS3F7V957LS">
|
||||
<table>
|
||||
<tr><td><input type="hidden" name="on0" value=""></td></tr><tr><td><select name="os0">
|
||||
<option value="Monthly Donation">Monthly Donation : $50.00 USD - monthly</option>
|
||||
<option value="Monthly Donation">Monthly Donation : $40.00 USD - monthly</option>
|
||||
<option value="Monthly Donation">Monthly Donation : $30.00 USD - monthly</option>
|
||||
<option value="Monthly Donation">Monthly Donation : $25.00 USD - monthly</option>
|
||||
<option value="Monthly Donation">Monthly Donation : $20.00 USD - monthly</option>
|
||||
<option value="Monthly Donation">Monthly Donation : $10.00 USD - monthly</option>
|
||||
<tr><td><input type="hidden" name="on0" value="Monthly Donation Amount">Monthly Donation Amount</td></tr><tr><td><select name="os0">
|
||||
<option value="Fifty Dollar Monthly Donation">Fifty Dollar Monthly Donation : $50.00 USD - monthly</option>
|
||||
<option value="Forty Dollar Monthly Donation">Forty Dollar Monthly Donation : $40.00 USD - monthly</option>
|
||||
<option value="Thirty Dollar Monthly Donation">Thirty Dollar Monthly Donation : $30.00 USD - monthly</option>
|
||||
<option value="Twenty-Five Dollar Monthly Donation">Twenty-Five Dollar Monthly Donation : $25.00 USD - monthly</option>
|
||||
<option value="Twenty Dollar Monthly Donation">Twenty Dollar Monthly Donation : $20.00 USD - monthly</option>
|
||||
<option value="Ten Dollar Monthly Donation">Ten Dollar Monthly Donation : $10.00 USD - monthly</option>
|
||||
</select> </td></tr>
|
||||
</table>
|
||||
<input type="hidden" name="currency_code" value="USD">
|
||||
|
|
Loading…
Reference in a new issue