Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 1.25 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.25 KB

Yii Paypal

Paypal API Client for Yii framework.

Warning! The code should be heavily refactored so updates can have backward incompatibility.

Supported API's

How to perform Express Checkout

Express Checkout is a simplest Paypal payment tool.

  1. Execute payment by calling $paymentUrl = setExpressCheckout(array $params) function. You need to pass request parameters to it.
  2. Redirect user to $paymentUrl.
  3. Check payment result by calling $result = finishExpressCheckoutPayment(). If $result is not false and $result['success'] is true, payment is sent.