jqtouch - Troubleshooting Paypal -
i have paypal button within jqtouch site follows
<div id="paypal"> <div class="toolbar"> <h5>pay online</h5> <a href="#" class="back">back</a> </div> <div class="s-scrollwrapper" > <div> <form action="https://www.paypal.com/cgi-bin/webscr"method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="----@-----------"> <input type="hidden" name="item_name" value="test item"> <input type="hidden" name="amount" value="1.00"> <input type="hidden" name="currency_code" value="nzd"> <input type="hidden" name="button_subtype" value="services"> <input type="hidden" name="bn"value="pp-buynowbf:btn_buynowcc_lg.gif:nonhosted"> <input type="image" src="https://www.paypalobjects.com/en_us/i/btn/btn_buynowcc_lg.gif" border="0" name="submit" alt="paypal - safer, easier way pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_us/i/scr/pixel.gif" width="1"height="1"> </form> </div> </div> </div>
taping paypal button nothing. firebuging sees post
request result code of 302
followed get
cancelled. if put button on page outside of jqtouch seems work not problem. how trouble shoot this?
chrome console shows following. in non-jqtouch initiator (other)
that isn't valid paypal button. 302 redirecting login since aren't posting valid set of data. recommend setting sandbox account , cut , paste actual button snippet. should more paypal button sample.
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="me@mybusiness.com"> <input type="hidden" name="currency_code" value="usd"> <input type="hidden" name="item_name" value="teddy bear"> <input type="hidden" name="amount" value="12.99"> <input type="image" src="http://www.paypal.com/en_us/i/btn/btn_buynow_lg.gif" border="0" name="submit" alt="make payments paypal - it's fast, free , secure!"> </form>
Comments
Post a Comment