Buy Now Button again

nfo
Member
Member

For some unknown reason my buy now button doesnt work anymore..

 

Also the error page is not very helpfull:

At this time, we are unable to process your request. Please return to  Test Store and try another option.

 

<form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr">
  <input type="hidden" value="_xclick" name="cmd">
  <input type="hidden" value="http://fitnesscenter.sport-oesterreich.at/payment" id="notify_url" name="notify_url">
  <input type="hidden" value="http://fitnesscenter.sport-oesterreich.at/Abbruch" name="cancel_return">
  <input type="hidden" value="http://fitnesscenter.sport-oesterreich.at/Danke" name="return">
  <input type="hidden" value="c4ca4238a0b923820dcc509a6f75849b" name="custom">
  <input type="hidden" value="my sandbox seller email" name="business">
  <input type="hidden" value="AT" name="lc">
  <input type="hidden" value="Marketing Package" name="item_name">
  <input type="hidden" value="services" name="button_subtype">
  <input type="hidden" value="0" name="no_note">
  <input type="hidden" value="EUR" name="currency_code">
  <input type="hidden" value="Laufzeit" name="on0">Laufzeit

  <select name="os0">
    <option value="12  Monate">12 Monate €30.00 EUR</option>
    <option value="24  Monate">24 Monate €40.00 EUR</option>
  </select>

  <input type="hidden" value="EUR" name="currency_code">
  <input type="hidden" value="12 Monate" name="option_select0">
  <input type="hidden" value="30.00" name="option_amount0">
  <input type="hidden" value="24 Monate" name="option_select1">
  <input type="hidden" value="40.00" name="option_amount1">
  <input type="hidden" value="1" name="option_index">
  <input border="0" type="image" alt="Jetzt einfach, schnell und sicher online bezahlen &ndash; mit PayPal." name="submit" src="https://www.paypalobjects.com/de_DE/AT/i/btn/btn_buynowCC_LG.gif">
  <img border="0" height="1" width="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" alt="">
</form>

 

Login to Me Too
3 REPLIES 3

snowshoe
Frequent Advisor
Frequent Advisor

Just from a brief check of the code you posted:

 

Change this line:

<input type="hidden" value="1" name="option_index">

 

 

It should be this:

<input type="hidden" value="0" name="option_index">

 

 

option_index value=0 is associated with variable on0

 

As I don't have enough info to actually test, that's what I see for now.

 

 

Last, you have dup line of code:

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

 

Won't hurt but, not needed.

Login to Me Too

fkagel
New Community Member

By any chance, did 'Buy Now' stop working for multiple browsers or just Internet Explorer 6? Ours just stopped working in IE, We do not get any error message.

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Sorry, your tagging a totally differerent question to the orignal post, you should have started a new post.

 

As for you question, have not seen any issues in general.  Can't speak for your code as I don't know what it looks like.

Login to Me Too

Haven't Found your Answer?

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