Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal API to pay via credit card

Tags:

paypal

I need to allow users to pay via Credit Card on my site. I'm trying to find suitable API option but can't find it. I have implemented payment via PayPal so far, but now I need to allow users to pay via credit card without account on PayPal.

Anyone knows what specific payment type that is?

like image 640
robos85 Avatar asked Oct 10 '22 11:10

robos85


1 Answers

Here is one way:

First, you'll need a Website Payments Pro merchant account with PayPal. Then, become familiar with the DoDirectPayment API, which will allow you to process transactions on your site with PayPal working in the background. Customers will be able to fill out their credit card information, etc., on your site without visiting PayPal directly.

This also means that customers will not be required to have a PayPal account in order to make a transaction on your site.

If you proceed this way, you will need SSL certificates, and are required to implement Express Checkout for customers who do not want to make their transaction on your site.

Sample Code to get your feet wet. Good luck!

like image 119
Josh Avatar answered Oct 14 '22 01:10

Josh