nicktendo
nicktendo

Reputation: 691

Paypal Direct Payment API

Is there any up to date documentation out there on how to use the Paypal direct payment API?

Upvotes: 5

Views: 9035

Answers (5)

Samuel Dauzon
Samuel Dauzon

Reputation: 11324

On the Paypal PHP SDK repo Paypal says :

Direct Credit Card Support

Important: The PayPal REST API no longer supports new direct credit card integrations. Please instead consider Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.

So Paypal recommands to use Braintree Direct. More details on Braintree direct page

Upvotes: 0

Prabin
Prabin

Reputation: 71

PayPal provides various payment related operations using the /payment resource and related sub-resources. Use /payment for direct credit card payments and PayPal account payments.

URI: https://api.paypal.com/v1/payments/payment

Create a payment: POST /v1/payments/payment

For more information, refer:

https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment

Upvotes: 1

Lucas
Lucas

Reputation: 1231

If you are using PHP this component is worth a look. It costs $30, but I found it was well worth the time and effort saved. http://www.binpress.com/app/php-paypal-api-class/20

Upvotes: 1

saifur
saifur

Reputation: 637

I found a working demo code for Paypal direct payment API : http://www.mmtutorialvault.com/paypal-pro-integration-in-php/

Upvotes: 4

Related Questions