Get paypal payments

Posted on 2012-04-11
Last Modified: 2016-03-24
Hi, I would like to get payments via PayPal. The ideal solution would be,

1. My customers go to my website
2. Click pay
3. Enter credit card details and payment amount with reference number
4. Pay.

How can this be done with PayPal? I am good with PHP and Javascript if they are necessary.

Thanks guys
Question by:udara22
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2

Expert Comment

ID: 37836034
Why don't you use PayPals Shopping cart?

Author Comment

ID: 37836067
Not really. I just want people to pay any amount with a reference number? Something else other than the standard BuyNow butotn and the Add to Cart butotn?

Expert Comment

ID: 37836086
Are your users purchasing or making a donation to you? If they are purchasing what are they purchasing.  If they are making a donation, PayPal has a donation button too.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 37836090
They are purchasing my courses and the prices are vary. Not a donation.
LVL 11

Accepted Solution

John Easton earned 500 total points
ID: 37836552
If you log on to PayPal you can create a button (  If you use a Buy Now button the price is optional and PayPal asks them to enter the amount at time of payment.  You can also add a text field on your button for the payment reference.

While I haven't actually done this, as I understand your process would be as follows:

1. Customers go to your website
2. Customer enters reference number, and then clicks pay
3. On PayPal page customer enters credit card details and payment amount
4. Customer clicks pay

Author Comment

ID: 37836598
Thanks JEaston. Is it possible to use php and get the customer to enter credit card details, reference and payment amount without directing them to PayPal website at all? Like do you know a WordPress plugin or a Joomla Plugin or maybe just pure php script that does the job?
LVL 11

Expert Comment

by:John Easton
ID: 37836713
I think for this you would need to use the Website Payments Pro service from PayPal or another merchant.  Although you would then have to meet the PCI DSS requirements.  This is the payment card industry standard for how you hold card details, security etc.  See for more information.

You would also have to pay a monthly fee for this service from PayPal.  The service is aimed at medium sized business with transactions exceeding £50k per year.

Author Comment

ID: 37840829
Ok. Thanks JEaston. I might just use a buy now button with a reference field in it.

Thanks for you help.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question