Paypal API Client for Yii framework.
Warning! The code should be heavily refactored so updates can have backward incompatibility.
- Express checkout
- Adaptive payments (+ refunds)
- API permissions
How to perform Express Checkout
Express Checkout is a simplest Paypal payment tool.
- Execute payment by calling
$paymentUrl = setExpressCheckout(array $params)function. You need to pass request parameters to it.
- Redirect user to
- Check payment result by calling
$result = finishExpressCheckoutPayment(). If
$resultis not false and
$result['success']is true, payment is sent.