Paypal API Client for Yii framework.
Warning! The code should be heavily refactored so updates can have backward incompatibility.
- Express checkout
- Express checkout - Recurring payments (CreateRecurringPaymentsProfile, GetRecurringPaymentsProfileDetails, ManageRecurringPaymentsProfileStatus)
- Adaptive payments (+ refunds)
- API permissions
- Invoices
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
$paymentUrl
. - Check payment result by calling
$result = finishExpressCheckoutPayment()
. If$result
is not false and$result['success']
is true, payment is sent.