/paypal

Paypal API Client for Yii framework

Primary LanguagePHP

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.