Buy Now Button Stopped Working--redirects to the page it's placed on

CastleKeepers
Contributor
Contributor

Yesterday I created a Buy Now button, tested it, and it worked fine.

 

Today, it will only redirect to the page it's placed on. I tried creating a brand new button, same result.

 

Page placement: http://www.castle-keepers.com/Promotions/GiftCards

 

Button Code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4JB6XWQJF7YTJ">
<table>
<tr><td><input type="hidden" name="on0" value="Gift Cards &quot;Buy the Hour&quot;">Gift Cards &quot;Buy the Hour&quot;</td></tr><tr><td><select name="os0">
<option value="Two Hours of Cleaning">Two Hours of Cleaning $140.00 USD</option>
<option value="Four Hours of Cleaning">Four Hours of Cleaning $280.00 USD</option>
<option value="Six Hours of Cleaning">Six Hours of Cleaning $420.00 USD</option>
<option value="Eight Hours of Cleaning">Eight Hours of Cleaning $560.00 USD</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="Gift Card Design">Gift Card Design</td></tr><tr><td><select name="os1">
<option value="Merry Christmas: Snowman">Merry Christmas: Snowman </option>
<option value="Merry Christmas: Gift Tag">Merry Christmas: Gift Tag </option>
<option value="Merry Christmas: Present">Merry Christmas: Present </option>
<option value="Happy Hanukkah: Dreidel">Happy Hanukkah: Dreidel </option>
<option value="Happy Hanukkah: Menorah">Happy Hanukkah: Menorah </option>
<option value="Happy Hanukkah: Gelt">Happy Hanukkah: Gelt </option>
<option value="Happy Holidays: Gingerbread Man">Happy Holidays: Gingerbread Man </option>
<option value="Happy Holidays: Holiday Tree">Happy Holidays: Holiday Tree </option>
<option value="Happy Holidays: Candy Cane">Happy Holidays: Candy Cane </option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_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_US/i/scr/pixel.gif" width="1" height="1">
</form>

Login to Me Too
4 REPLIES 4

Misty11
Advisor
Advisor

Hello CastleKeepers, 

 

Welcome to the Community Robot wink.

Are you by chance using frames at all to design your website? The reason I ask is because the PayPal does not work well with frames and will cause the page to re-load the current page. When I copy and paste the code into notepad and save it as an HTML button it works just fine for me. If you are using a frame I would suggest popping the HTML button code into its own page and testing it that way. I hope this helps.

 

~Misty
 

Login to Me Too

CastleKeepers
Contributor
Contributor

Misty, thanks for the response. I'm not quite techie enough to understand all of what you recommend. My version of Notepad does not allow for saving as anything but .txt, so I'm not sure how to do that step. We do have the code in its own module on our page; should I assume a module is the same as a frame?

Login to Me Too

CastleKeepers
Contributor
Contributor

Misty, my web designer and I are novices. How do we know if we are using "frames". Our skin comes with "modules", but nowhere does the term "frames" get used.

Login to Me Too

Misty11
Advisor
Advisor

Hello CastleKeepers,

 

Welcome to the Community Robot wink.

After reviewing your website code it looks like the original PayPal HTML button code was stripped because less then half of the original code is on your website which may cause your button to not function like it should.

 

Here is the code pasted on your website below.  

 

<input type="hidden" name="currency_code" value="USD" /><br />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" /><br />
<img alt="" border="0" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" /></p>

 

It should look like the code you pasted in your original message. What are you using to develop the website? If you would like please reply with this information and I can see what I am able to come up with.


Smiley HappyMisty

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.