Working and integrating paypal payment pro

I've worked with the PayPal standard, but the documentation for PayPal Pay Pro is rather vague and I'm not sure how to solve it. For you information, this is PayPal Pro:

https://www.paypal.com/ca/webapps/mpp/paypal-payments-pro

Now I have searched and gone through this tutorial: http://code.tutsplus.com/tutorials/how-to-process-credit-cards-with-paypal-payments-pro-using-php--net-25397

but it's pretty outdated and I'm not sure if it's relevance. Another thing is that this tutorial is only about credit card payments, I would like to understand and have the whole workflow.

I am completely lost and need guidance if any examples are found on github or any support I would appreciate. I am quite used to javascript and php.

+3


source to share


1 answer


I am actually the writer of this tutorial. :) This is as long as it is relevant and will work fine if you follow these procedures.

Payments Pro is for credit cards only. You don't need Pro for other APIs, so if you're just trying to work with Express Checkout, you don't need Pro.

Anyway, I would recommend grabbing this PHP PayPal library . This makes all API calls very easy for you and it is constantly maintained and updated. PayPal's own integration team has also used and recommended it.



Using this library, you must use the DoDirectPayment sample / template to process credit cards directly on the site.

For PayPal payments, you must use Express Checkout, which consists of SetExpressCheckout, GetExpressCheckoutDetails and DoExpressCheckoutPayment (in that order.)

You can see fully functional samples / demos here that use the same library.

+1


source







All Articles