View Full Version : "Pay your bill"
I have seen on a couple of your websites a link for people to pay their bills through paypal. The amount is blank so they can put any amount they like.
How did you integrate this with paypal? I can't find it anywhere.
03-11-2009, 08:38 PM
It's on the Products and Services tab under website payments standard. There is a "Add a Paypal Button" option at the bottom of the page. Or just search Paypal Button in paypals search box ;)
03-11-2009, 08:42 PM
You need to generate a paypal button which gives you a form like this;
<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@example.com">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="Test">
<input type="hidden" name="amount" value="30.00">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypal.com/en_GB/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.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
Just change the input type to "text" for name="amount" and "item_name" on your website and it'll give you text boxes to enter the values. That's about the jist of it.
Oh and change name="business" to your paypal address.
Here (https://www.paypal.com/uk/cgi-bin/webscr?cmd=_singleitem-intro-outside) is the "generate button" page on paypals website.
The ones I have seen are text not a button?
03-11-2009, 08:59 PM
No problem - just delete the "img" tag and add some text "Click here to pay" or something and call it name="submit", inside the <form> </form> tags :)
Hope that makes sense - in the middle of several jobs and uber tired :(
e.g. - <input type=submit value="Gimme your money">
03-11-2009, 09:05 PM
Actually, having just tried it, that's still a button :p
Will look into it later if no one else has come up with the answer.
Simmy is basically right for being tired. On paypal's site, you can sign up for a button. What they also give you (what i did) was the code to put into an email link. When the customer clicks on it you go right to a paypal page where the customer can pay. I used that code as the value for <a href= on a button on my webpage (http://www.arkitindy.com). You can see it in the source code for the main page.
03-12-2009, 01:45 PM
If I remember right, there is also a way to encrypt your information to keep it from prying eyes.
03-12-2009, 06:09 PM
I just ended up making my own "Pay Now" button. Whenever I drop a computer off, I show then how they can pay with a credit card and they do it on the spot. If anyone wants to use my "Pay Now" button, feel free to copy it from my site in the sig.
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.