Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Releases: gnikyt/laravel-shopify

v4.0.1

17 Sep 12:15
Compare
Choose a tag to compare

Fix for #105 where extended Shop Model does not use observer class

v4.0.0

14 Sep 13:48
389e8b4
Compare
Choose a tag to compare

Please review changelog and upgrading doc in the wiki.

  • Ability for multi-plan billing and usage charges built-in
  • Plans are now stored in database (new plans table)
  • New freemium flag on shops table allowing a shop to use the app for "free"
  • New plan_id added to shops and charges tables so a charge and shop can be tied to a plan
  • Config entries modified for config/shopify-app.php to support new billing features
  • Charge creation on BillingController moved to firstOrNew instead of a new instance directly, solving #94
  • Default view added for declined charges or issues with charges, solving #96
  • Addition of usageCharge route on BillingController to automatically handle creation of usgae charges on a recurring charge, given values passed by get/post
  • BillingPlan modified to work with multiple plans
  • Added ability to define a default plan on install

v3.2.0

31 Aug 15:38
2572975
Compare
Choose a tag to compare
  • Added ability for namespacing apps as per issue #91, multiple apps can now be installed for the same database
  • Migration was added to support namespacing, namespace is added to shops table
  • Observer (global) added to shop model to support namespacing so all new shops created automatically get assigned a namespace
  • Scope (global) added to the shop model to support namespacing so all calls on the model append a where namespace = ?

See Changelog & Upgrading docs for more information in the wiki.

v3.1.1

31 Aug 15:15
Compare
Choose a tag to compare
  • Removing shopify_token on app uninstall to fix issue #90

v3.1.0

23 Aug 03:00
Compare
Choose a tag to compare
  • Ability to retrieve charge data from Shopify for a charge via $charge->retrieve() for single/recurring/credit type charges
  • Set previous charge to cancelled on new charge #79
  • Auto discovery support for provider and facade #81
  • Tracking previous request URL to prevent always redirecting to home app route for every auth #85
  • Full page redirect for auth now uses non-escaped Blade variables to prevent double encoding

v3.0.2

16 Aug 15:29
Compare
Choose a tag to compare
  • Merged PR #75 by @paulcanning to force auth redirect URLs to be secure for issue #68
  • Fix for issue #65 where charge_id was int and needed to be bigint
  • Fix for issue #60 where Laravel defaults to 120 minute cookie expire, is now set to expire on browser close

v3.0.1

24 Jul 17:50
51ba9de
Compare
Choose a tag to compare
  • Added ability to use ShopifyApp:shop to fix issue #56

v2.3.2

24 Jul 17:50
Compare
Choose a tag to compare
  • Added backport fix for issue #56 to allow for ShopifyApp::shop to be used in proxy requests.

v3.0.0

24 Jul 17:50
e55c3e8
Compare
Choose a tag to compare

Breaking release

  • Focused release on tracking charges (for trial purposes mainly) for issues #25
  • charge_id is removed from the Shop table and instead, a charges tables is created which is a many-to-one relation to the shop
  • Charges can now be tracked to the shop, if a shop uninstalls during a trial period and attempts to reinstall, they will get adjusted dates
  • Soft deleting of shops and charges is now supported
  • New webhook (not enabled by default) is setup to support soft delete and the charges, as well as mark the current charge (if one) as cancelled
  • Several other improvements

v2.3.1

30 May 01:26
Compare
Choose a tag to compare
  • Modified AuthShop middleware to check for a missing shop access token, and redirect to auth process if missing. Fix for issue #29.