Button change

jhcn
Contributor
Contributor

I'm not sure what I messed up but I changed out the button code today and now the shopping cart is not working. It seemed to be a straight copy and paste. I'm not a code person so I need a little help please.

 

<P><a href="http://sidecar.com/"><img src="http://www.sidecar.com/templateimages/logo.gif" width="140" height="105" border="0"></a>   <br /> <H1>Please Pay Online in order to Complete Your Registration!</H1> <p>Please choose from the dropdown list below. <br> If you plan to order multiple items, you can click VIEW CART once you have finished selecting the items you want.</p> <table width="695" border="0" cellspacing="0" cellpadding="0">   <tr>     <th width="348" bgcolor="#999999" scope="col"><form target="paypal" 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="C82WUWLUNXTEU"> <table> <tr><td><input type="hidden" name="on0" value="2013 Rally Registration">2013 Rally Registration</td></tr><tr><td><select name="os0">  <option value="Members by June 10th">Members by June 10th $30.00 USD</option>  <option value="Members after June 10th">Members after June 10th $35.00 USD</option>  <option value="Children 12 -15 Years">Children 12 -15 Years $15.00 USD</option>  <option value="Tent Camping - No Hookups">Tent Camping - No Hookups $5.00 USD</option>  <option value="T-Shirts - Small">T-Shirts - Small $12.00 USD</option>  <option value="T-Shirt - Medium">T-Shirt - Medium $12.00 USD</option>  <option value="T-Shirt - Large">T-Shirt - Large $12.00 USD</option>  <option value="T-Shirt - XL">T-Shirt - XL $12.00 USD</option>  <option value="T-Shirt - 2X">T-Shirt - 2X $12.00 USD</option>  <option value="T-Shirt - 3X">T-Shirt - 3X $12.00 USD</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> </th>     <th width="347" bgcolor="#CCCCCC" scope="col"><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd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MDI4WjAjBgkqhkiG9w0BCQQxFgQUOlshH1GiPoDl/VGGx9A+JSHwzswwDQYJKoZIhvcNAQEBBQAEgYC/mPzg3Zbpdw+Do077OLotkq0TwnSCb7fAeXIIakjXR0pHu1DbceWSk7Urd2+H03FHF7AyDFJypZ1bAmFsX4tTqyOOQbUtz801iOnUOtW+8YpZjztoXUN8FK8LC/QX0fls9BjLmNK9JmvPV+3irOFE+qfvWl5Z6oVLZQi5da7BZQ==-----END PKCS7----- "> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_viewcart_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>     <p>Use VIEW CART if you are ordering multiple items.</p></th>   </tr> </table>

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Your first item button code is a "hosted" Buy Now, it won't work with the View Cart item button code.

 

The second button in the mix, is an encrypted item button which does not work.  Have you setup your encryption key?

 

Not sure why you're mixing "hosted" and "encrypted" code, not to say that you can't but, you're code should be consistent, use either "hosted"  or "encrypted".  Suggest going with "hosted", it's easier and still protected.

View solution in original post

Login to Me Too
2 REPLIES 2
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Your first item button code is a "hosted" Buy Now, it won't work with the View Cart item button code.

 

The second button in the mix, is an encrypted item button which does not work.  Have you setup your encryption key?

 

Not sure why you're mixing "hosted" and "encrypted" code, not to say that you can't but, you're code should be consistent, use either "hosted"  or "encrypted".  Suggest going with "hosted", it's easier and still protected.

Login to Me Too

jhcn
Contributor
Contributor

Thank You! I'll correct that button and try again.

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.