Skip to content

Latest commit

 

History

History
156 lines (91 loc) · 6.41 KB

CHANGELOG.md

File metadata and controls

156 lines (91 loc) · 6.41 KB

Release Notes

Added

  • Allow hasCompletePayment() to check other subscriptions than “default” (#733)
  • Add indexes to those columns used to lookup data in the database (#739)

Fixed

  • Fixed a label with an incorrect for attribute (#732)

Added

  • Add latestPayment method on Subscription (#705)
  • Allow custom filename for invoice download (#723)

Changed

  • Improve stripe statuses (#707)
  • Refactor active subscription state (#712)
  • Return invoice object when applicable (#711)
  • Refactor webhook responses (#722)
  • Refactor confirm payment mail to notification (#727)

Fixed

  • Fix createSetupIntent (#704)
  • Fix subscription invoicing (#710)
  • Fix null return for latestPayment method (#730)

Removed

  • Remove unused $customer parameter on updateQuantity method (#729)

Cashier 10.0 is a major release. Please review the upgrade guide thoroughly.

Changed

  • Remove old 5.9 version constraints (c7664fc)

Fixed

  • Don't try and find a user when stripeId is null (#721)

Changed

  • Updated version constraints for Laravel 6.0 (4a4c5c2)

Fixed

  • Fix hasStartingBalance and subtotal on Invoice (#684)

Changed

  • VerifyWebhookSignature is no longer final (260de04)
  • Remove strict type check for trialUntil() (#678)

Fixed

  • Fixing defaultCard() exception when user is not a Stripe customer (#660)

Added

  • Able to update a Stripe customer (#634)

Fixed

  • Handle incomplete subscriptions upon creation (#631)
  • Handle card failure in plan swap (#641)

Fixed

  • Use new created property on invoice (4714ba4)

Added

  • Add subscription state scopes (#609)

Changed

  • Test latest Stripe API version (#611)

Added

Added

  • Allow Carbon 2 installs (a3b9d36)

Changed

  • Test against latest Stripe API version (#603)

Fixed

  • Correct PHP Doc @return tag (#601)

Changed

  • Removed support for PHP 7.0 (#595)
  • Require Laravel 5.7 as minimum version (#595)
  • Extract updateCard from createAsStripeCustomer method (#588)
  • Remove CASHIER_ENV and event checks and encourage usage of VerifyWebhookSignature middleware (#591)
  • The invoice method now accepts an $options param (#598)
  • The invoiceFor method now accepts an $invoiceOptions param (#598)

Fixed

  • Fixed some DocBlocks (#594)
  • Fixed a bug where the swap and incrementAndInvoice methods on the Subscription model would sometimes invoice other pending invoice items (#598)

Version 2.0.4

  • Allow user to pass paramaters when fetching invoices.
  • Added a method to get the current subscription period's end date.
  • If a webhook endpoint is not defined for a given hook, an empty 200 response will be returned.

Version 2.0.3

  • Added space for extra / VAT information in receipts.
  • Implemented missing method on web hook controller.

Version 2.0.2

  • Fixed how credit cards are updated.

Version 2.0.1

  • Renamed WebhookController's failed payment method to handleInvoicePaymentFailed.
  • Added ability to webhook controller to automatically route all webhooks to appropriately named methods of they area available.