Skip to content

Releases: srmklive/laravel-paypal

Cache access token

01 Aug 11:24
7138c3b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.15...3.0.16

Fix error response parsing

06 May 12:21
Compare
Choose a tag to compare

Add feature to get client token

12 Mar 12:32
Compare
Choose a tag to compare

Support Laravel 9

12 Mar 11:38
188bb21
Compare
Choose a tag to compare

What's Changed

  • [v1] Laravel 9 compatibility by @toyi in #505

New Contributors

  • @toyi made their first contribution in #505

Full Changelog: 1.9.0...1.10.0

Support Laravel 9

24 Jan 12:56
064208e
Compare
Choose a tag to compare

This release adds support for use on Laravel 9.

Custom method to set return & cancel URLs

07 Jan 11:58
Compare
Choose a tag to compare
3.0.12

PHPUnit & CI fixes.

Fixes for Subscription Creation

03 Jan 11:38
Compare
Choose a tag to compare

This release implements the following for the Subscription helpers methods:

  • Fix subscription creation without a trial period.
  • Add method to create recurring billing with custom intervals.

Implement custom methods for creating subscriptions.

05 Dec 14:54
4454f96
Compare
Choose a tag to compare

This release implements custom methods to create recurring subscriptions:

  • Daily
  • Weekly
  • Monthly
  • Yearly

Following are the code snippets through which the above can be accomplished:

Create Recurring Daily Subscription

$response = $provider->addProduct('Demo Product', 'Demo Product', 'SERVICE', 'SOFTWARE')
            ->addSubscriptionTrialPricing('DAY', 7)
            ->addDailyPlan('Demo Plan', 'Demo Plan', 1.50)
            ->setupSubscription('John Doe', '[email protected]', '2021-12-10') ;

Create Recurring Weekly Subscription

$response = $provider->addProduct('Demo Product', 'Demo Product', 'SERVICE', 'SOFTWARE')
            ->addSubscriptionTrialPricing('DAY', 7)
            ->addWeeklyPlan('Demo Plan', 'Demo Plan', 30)
            ->setupSubscription('John Doe', '[email protected]', '2021-12-10') ;

Create Recurring Monthly Subscription

$response = $provider->addProduct('Demo Product', 'Demo Product', 'SERVICE', 'SOFTWARE')
            ->addSubscriptionTrialPricing('DAY', 7)
            ->addMonthlyPlan('Demo Plan', 'Demo Plan', 100)
            ->setupSubscription('John Doe', '[email protected]', '2021-12-10') ;

Create Recurring Annual Subscription

$response = $provider->addProduct('Demo Product', 'Demo Product', 'SERVICE', 'SOFTWARE')
            ->addSubscriptionTrialPricing('DAY', 7)
            ->addAnnualPlan('Demo Plan', 'Demo Plan', 600)
            ->setupSubscription('John Doe', '[email protected]', '2021-12-10') ;

Create Subscription by Existing Product & Billing Plan

$response = $this->client->addProductById('PROD-XYAB12ABSB7868434')
    ->addBillingPlanById('P-5ML4271244454362WXNWU5NQ')
    ->setupSubscription('John Doe', '[email protected]', $start_date);

Implement Additional APIs

05 Dec 20:04
d79b43a
Compare
Choose a tag to compare

Implemented the following:

  • Custom filters for Invoices Search.
  • Implementation of Identity API.
  • Implementation of Partner Referral API.
  • Implementation of Web Profiles API.
  • Implementation of Payouts API.
  • Update credentials verification workflow.
  • Implement custom methods to recurring subscriptions.

Implement Payouts API

28 Nov 19:00
Compare
Choose a tag to compare

Implemented the following APIs: