Sam Brown

Accept PayPal Payments from your site in style

PayPal is an easy and relatively cheap method of accepting payments online and I have been accepting PayPal payments from my clients for several years now. I set up a site at a few years ago and when I sent a recent client there to pay their invoice they wanted to be able to charge their own clients in the same way, thus, ‘Accept PayPal Payments from your site in style’ was born.

Massive Blue - Payments

What is it

This is simply a section on your site that allows your clients to fill in their invoice number, the amount they owe, select a currency and submit their payment to you via PayPal. If successful they are sent to a Thank You page, and likewise, if they cancel the payment at any time on the PayPal site they are sent to a Cancel page.


You can see it in action here and view the subsequent pages:

Feel free to submit a test payment if you like! :)


Installing this could not be any easier, it is just a couple of simple PHP files. All you need to do is update the config.php file with your details and then upload the ‘payments’ folder to the root of your domain (

Important: You will need to check your PayPal settings in regard to receiving payments from other currencies. Log into PayPal and check the Payment Receiving Preferences section in your Profile. I suggest either allowing payments from other currencies to be converted to your local currency or simply edit the files and remove any of the currencies you would not like to accept payment from.

Massive Blue - Thanks

Need help?

This is pretty straight forward but if you do run into any problems feel free to get in touch with me and I’ll see if I can help!


This has been released under a Creative Commons License.


Think you will find this useful? Download a copy for free today!

Post a link to this on Twitter ↩


Spencer 18 February 2008, 09:34 #1

Thanks, Sam! I’m going to have to try this out. Are you currently freelancing, or do you actually have an employer that you work for? Would love to talk to you more about possibly collaborating on some cool sites. Let me know if you are interested. Thanks!

johno 22 February 2008, 03:10 #2

Exactly what I was looking for. Thank you. Off to try…

James 10 March 2008, 07:12 #3

Hi, My name is James, I work with a new & Free to use, mobile payment company called, which is speficialy designed for College Students and merchants who do not wish to be charged the 3% fees that paypal charges when making online payments.

Our niche; We handle mobile payments via cellphone as well. That menas anyone can pay you from anywhere, without the need of a computer or internet service.

Our service is 100% Free. We don’t charge any fees. Your clients can pay you directly from their cellphones with simple text messages.

The money would be sent to your CelPog account with details of the transaction and can be withdrawn anytime to your linked bank account.

You can also use CelPog to split bar tabs, dinner bills, and shared expenses without the need for credit cards, or checks.

Parents can also send their kids money right into their celpog account without paying for expensive western union fees.

Check out our website at to learn more.. I think you will be very well served in organizing your payments in this fashion. Everything is tracked online for everyone to view at their leisure, and allows for quick and easy entry for people who don’t want to send in checks.

Let me know your thoughts.

James B.

Jess 29 March 2008, 18:38 #5

Very nice! Thanks so much for sharing!

Commenting has closed for this article. Feel free to me.

Sam Brown co-founded Iterate, and was previously VP of Design at Foursquare. Based in NYC.