A helper library written in PHP, for PayPal API.
This library is supporting only PayPal Recurring Payments
for the present.
Install the latest version with
$ composer require finickydev/pphelper
<?php
use FinickyDev\ppHelper\ppHelperHq;
// Set timezone
ppHelperHq::setTimezone('Europe/Istanbul');
// Set PayPal Client Credentials
ppHelperHq::setClientCredentials('pp_client_id', 'pp_client_secret');
// Set PayPal Client Settings
ppHelperHq::updateClientSettings(['mode' => 'sandbox']);
// Get PayPal Client Settings
$clientSettings = ppHelperHq::getClientSettings();
// Get billing plan details
$billingPlan = ppHelperHq::newBillingPlan()->get('billing_plan_id');
// Get billing agreement details
$billingAgreement = ppHelperHq::newBillingAgreement()->get('billing_agreement_id');
...
FinickyDev - finickydev@gmail.com
ppHelper is licensed under the MIT License - see the LICENSE
file for details