X
    Categories: APIPHP

Using the PayPal Payments API with PHP and Guzzle

Using the PayPal Payments API with PHP and Guzzle

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. We are using Guzzle to integrate PayPal API.

You can use the PayPal Payments API, documented at: https://developer.paypal.com/docs/integration/direct/rest-payments-overview/ to let your users make payments to you of dynamically/arbitrarily generated sums.

To use the API, first you would need to get your PayPal Client and Secret Id, which are unique strings given to you in exchange for creating an application. You can create an application at: https://developer.paypal.com/developer/applications/create

Ivan Dimov: Ivan is a student of IT, a freelance web designer/developer and a tech writer. He deals with both front-end and back-end stuff. Whenever he is not in front of an Internet-enabled device he is probably reading a book or traveling. You can find more about him at: http://www.dimoff.biz. facebook, twitter