cancel
Showing results for 
Search instead for 
Did you mean: 

Subscription Button Error

Options
Go to solution
Sophieeeeeee
Contributor
Posted on

I've set up a subscriptions button on my website, the monthly amount can be chosen by the customer: £5, £10, £15, £20, etc etc... and these all show up fine in the drop-down menu. The issue is that when a supporter clicks on any of these amounts and is taken through to PayPal to complete the transaction, the button only shows £250 PER MONTH. I've deleted the old button and created a new one but no difference. I've tried with two different people buying through their PayPal accounts and they have the same issue.

 

I don't know what else to try as I'm not a coder.

 

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Subscription Button Error

Options
Go to solution
Sophieeeeeee
Contributor

Hello,

 

I had to go to PayPal tech support in the end to get the answer to this, but they found the issue and it now works. Such a simple mistake, but it changes everything. I'll post it here just so that if anybody else has the same issue they can find the answer:

 

We have analyzed your "Subscription" button code and we could find the issue is with same option value used on your button code as below 

<option value="support Sophie's writing">support Sophie's writing : £5.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £10.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £15.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £20.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £25.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £30.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £40.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £50.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £75.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £100.00 GBP - monthly</option>

Please replace the same option value's with support Sophie's writing 5.00 GBP (OR) based on your requirement which will solve your issueOption values should be Unique.

 

I've changed the option value to a different name for each amount and it now works perfectly.

Thank you PayPal Tech Support for clearing this up for me. 

View solution in original post

2 REPLIES 2

Subscription Button Error

Options
Go to solution
Sophieeeeeee
Contributor

Hello again,

 

I forgot to add - this is the code copied from PayPal:

 

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

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="9ULDACAFHL33W">

<table>

<tr><td><input type="hidden" name="on0" value=""></td></tr><tr><td><select name="os0">

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £5.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £10.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £15.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £20.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £25.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £50.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £75.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £100.00 GBP - monthly</option>

<option value="Support Sophie <removed> Writing">Support Sophie <removed> Writing : £250.00 GBP - monthly</option>

</select> </td></tr>

</table>

<input type="hidden" name="currency_code" value="GBP">

<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">

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

</form>

 

Solved

Subscription Button Error

Options
Go to solution
Sophieeeeeee
Contributor

Hello,

 

I had to go to PayPal tech support in the end to get the answer to this, but they found the issue and it now works. Such a simple mistake, but it changes everything. I'll post it here just so that if anybody else has the same issue they can find the answer:

 

We have analyzed your "Subscription" button code and we could find the issue is with same option value used on your button code as below 

<option value="support Sophie's writing">support Sophie's writing : £5.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £10.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £15.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £20.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £25.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £30.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £40.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £50.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £75.00 GBP - monthly</option>
<option value="support Sophie's writing">support Sophie's writing : £100.00 GBP - monthly</option>

Please replace the same option value's with support Sophie's writing 5.00 GBP (OR) based on your requirement which will solve your issueOption values should be Unique.

 

I've changed the option value to a different name for each amount and it now works perfectly.

Thank you PayPal Tech Support for clearing this up for me. 

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.