Skip to content

Latest commit

 

History

History
599 lines (346 loc) · 24 KB

CHANGELOG.md

File metadata and controls

599 lines (346 loc) · 24 KB

Release Notes

Added

  • Implement invoice renderer (#1304)

Added

  • Laravel 9 support (#1302)

Added

  • Implement webhook command (#1202)

Fixed

  • Fix broken unit_amount with tab (9246063)

Added

  • Support prorations while extending trials (#1151)
  • Add extra methods to invoice object (#1167)

Fixed

  • Add extra 10 seconds of trial time for checkout session (#1160)
  • Fix adding invoice item with quantities (#1161)
  • Fix coupons with Stripe Checkout sessions (#1165)
  • Fix checkout owner (7bbfe23)

Fixed

  • Fix discount calculation (#1144)

Added

  • Add methods for managing TaxIDs (#1137)

Fixed

  • Fix receipt comments (#1131)

Added

  • Implement object serialization (#1116)

Changed

  • Replace symfony/intl dependency (#1114)
  • Extract creating subscription to a separate method (#1124)

Fixed

  • Fix latest_invoice retrieval (#1115)
  • Fix coupon label on receipts (#1118)

Added

  • Implement cancelAt method (#1106)

Added

  • Added new payment status helper methods (#1068)
  • Add capture method (#1099)

Changed

  • Update description on receipt (#1098)
  • Update payment page (#1094)

Changed

  • Use DejaVu Sans for receipts (#1083)

Fixed

Fixed

  • Fix missing method on WebhookController (#1080)
  • Allow relative urls for redirect (#1082)

Changed

  • Allow model swapping (#1067)

Fixed

  • Fix styles overwriting checkout button when class is set (#1070)

Added

  • Add endTrial method (#1062)

Fixed

Fixed

  • Fix removing tax rates (#1059)

Added

  • Metered billing (#1048)

Changed

  • Allow Stripe dashboard subscriptions (#1058)

Fixed

  • Fix return type for invoice line items (#1053)

Fixed

  • Fix tax rates for subscription checkouts (#1050)

Added

  • Stripe Checkout Support (#1007)

Fixed

Changed

Fixed

  • Fix proration behaviour being forced when syncing tax rates (#1028)

Added

  • Add withPromotionCode method (#1032)

Changed

  • Refactor duplicated code (#1029)

Added

Fixed

  • Fix trial ends at check (#1015)

Fixed

  • Fix n+1 problem with subscription retrieval (#1009)

Added

  • Implement trialEndsAt (#1000)

Changed

  • Simplify subscription method (#1003)

Fixed

  • Fix quantity preserving (#999)
  • Fix Models namespace for Laravel 8 (9024107)

Fixed

  • Fix double payment method (#987)

Added

  • Support Laravel 8 (#985)

Changed

  • Stripe SDK minimum version is now ^7.39 (#981)

Fixed

  • Fix url checking for invalid urls (#984)

Added

  • Apply prorate and invoice_now for cancelNow (#975)

Added

  • Add support for Stripe's Customer Portal (#966)

Fixed

  • Fix validating payment intent (#959)

Changed

  • Implement new proration and pending updates (#949)

Fixed

  • Fail url checking when url is invalid (#1021)

Added

  • Add convenience methods to update stripe objects (#943)

Fixed

  • Send invoice when charging automatically (#942)
  • Remove unnecessary if statement on receipt (#946)

Fixed

  • Fix undefined redirect error (0fc4c6e)

Security

  • Protect against host mismatch (#930)

Fixed

  • Fix add and remove plan (#926)
  • Fix quantity prorating (#924)
  • Fix multiplan subscription swapping (#925)

Fixed

  • Fix quantity methods (#919)

Changed

  • Re-add tax percentage (#916)

Fixed

Added

  • Multiplan swapping (#915)

Added

  • Multiplan subscriptions (#900)
  • Tax Rates (#830)
  • Add new has payment method (#838)

Changed

  • Update stripe api version (#905)
  • Require PHP 7.2 (f0f8cd1)
  • Dropped Laravel 5.8 support (b6256a2)
  • Allow for subscription options (#868, #901)
  • Use proper invoice number (#878)
  • Loosen exception throwing (#882)
  • Rename some exceptions (#881)
  • Allow for custom filename with downloadInvoice method (#889)
  • Split Billable trait into multiple concerns (#898)

Fixed

  • Send along status for payment page (#896)

Added

  • Add getters for owner instances to objects (#877)
  • Implement extending trials (#884)
  • Allow for custom email address attribute (#887)
  • Re-enable proration (#886)

Changed

  • Add @throws declaration to methods on Billable which can throw Payment exceptions (#872)
  • Update payment page with new JS method (#879)

Added

  • Add findBillable method (#869)

Fixed

  • Prevent createAsStripeCustomer when stripe_id is set (#871)

Fixed

  • Fix findInvoiceOrFail behavior (#853)

Changed

  • Assert customer exists before retrieving (#834)
  • Simplify refund method (#837)

Fixed

  • Fix typo in exception message (#846)
  • Fix overriding notification subject translation (59faaf3)

Added

  • Symfony 5 support (#822)

Added

  • Webhook events (#810)

Fixed

  • Add missing @throws tags (#813)
  • Properly return null for find methods (#817)

Added

  • Add findPaymentMethod method (#801)
  • Allow to set past due as active (#802)

Added

Changed

  • Add language line for full name placeholder (#782)
  • Update Stripe SDK to v7 (#784)
  • Refactor handling of invalid webhook signatures (#791)
  • Remove config repository dependency from webhook middleware (#793)

Fixed

  • Remove extra sign off from ConfirmPayment notification (#779)

Fixed

  • Ensure SVG icons are visible even with a long success or error message (#772)

Added

  • Add ability to ignore cashier routes (#763)

Fixed

  • Only mount card element if payment has not succeeded or been cancelled (#765)
  • Set off_session parameter to true when creating a new subscription (#764)

Fixed

  • Remove collation from migrations (#761)

Added

  • Multiple stripe accounts (#754)
  • Set Stripe library info (#756)
  • Paper size can be set in config file (#752, cb837d1)

Changed

  • Update Stripe API version to 2019-08-14 (#749)

Fixed

  • syncStripeStatus trying to update incorrect status column (#748)

Added

  • Allow hasIncompletePayment() 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.