Getting the right button
gandalf458
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-02-2017
04:37 AM
Hi. I have been using PayPal for donkey's years. I have my own shopping basket and just want to go to PP once with the final cost. I am using the following code to effect a payment.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="email@whatever"> <input type="hidden" name="item_name" value="Book Order"> <input type="hidden" name="item_number" value="order"> <input type="hidden" name="return" value="http://www.domain.com/images/csthanks-p.php"> <input type="hidden" name="cancel_return" value="http://www.domain.com/images/csorder.php"> <input type="hidden" name="amount" value="<?php echo $TotalOrder; ?>"> <input type="hidden" name="currency_code" value="GBP"> <input type="hidden" name="cpp_header_image" value="http://www.domain.com/images/cib.gif"> <input name="submit" type="image" src="images/paypaypal.gif" alt="Pay by PayPal" title="Pay by PayPal" width="75" height="24"> </form>
I have been tearing out my hair trying to see if one of the more modern, more secure buttons will do this but I cannot fathom which button, if any, to use.
Can anyone enlighten me please? Many thanks!
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.