Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump laravel/cashier from 12.9.3 to 13.12.0 #93

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2022

Bumps laravel/cashier from 12.9.3 to 13.12.0.

Release notes

Sourced from laravel/cashier's releases.

v13.12.0

Changed

v13.11.1

Fixed

v13.11.0

Added

Changed

Fixed

v13.10.1

Security

v13.10.0

Added

Fixed

v13.9.0

Added

Changed

v13.8.6

Fixed

v13.8.5

Changed

v13.8.4

Changed

... (truncated)

Changelog

Sourced from laravel/cashier's changelog.

v13.12.0 - 2022-06-28

Changed

v13.11.1 - 2022-06-21

Fixed

v13.11.0 - 2022-05-17

Added

Changed

Fixed

v13.10.1 - 2022-05-05

Security

v13.10.0 - 2022-05-03

Added

Fixed

v13.9.0 - 2022-04-27

Added

Changed

... (truncated)

Upgrade guide

Sourced from laravel/cashier's upgrade guide.

Upgrade Guide

Upgrading To 13.0 From 12.x

Minimum Versions

The following required dependency versions have been updated:

  • The minimum PHP version is now v7.3
  • The minimum Laravel version is now v8.0
  • The minimum Stripe SDK version is now v7.39

Stripe API Version

PR: laravel/cashier-stripe#1001

The default Stripe API version for Cashier 13.x will be 2020-08-27. If this is the latest Stripe API version at the time that you're upgrading to this Cashier version then it's also recommended that you upgrade your own Stripe API version settings in your Stripe dashboard to this version after deploying the Cashier upgrade. If this is no longer the latest Stripe API version, we recommend you do not modify your Stripe API version settings.

If you use the Stripe SDK directly, make sure to properly test your integration after updating.

Upgrading Your Webhook

You should ensure your webhook operates on the same API version as Cashier. To do so, you may use the cashier:webhook command from your production environment to create a new webhook that matches Cashier's Stripe API version:

php artisan cashier:webhook --disabled

This will create a new webhook with the same Stripe API version as Cashier in your Stripe dashboard. The webhook will be immediately disabled so it doesn't interfere with your existing production application until you are ready to enable it. By default, the webhook will be created using the APP_URL environment variable to determine the proper URL for your application. If you need to use a different URL, you can use the --url flag when invoking the command:

php artisan cashier:webhook --disabled --url "http://example.com/stripe/webhook"

You may use the following upgrade checklist to properly enable to the new webhook:

  1. If you have webhook signature verification enabled, disable it on production by temporarily removing the STRIPE_WEBHOOK_SECRET environment variable.
  2. Add any extra Stripe events your application requires to the new webhook in your Stripe dashboard.
  3. Disable the old webhook in your Stripe dashboard.
  4. Enable the new webhook in your Stripe dashboard.
  5. Re-enable the new webhook secret by re-adding the STRIPE_WEBHOOK_SECRET environment variable in production with the secret from the new webhook.
  6. Remove the old webhook in your Stripe dashboard.

After following this process, your new webhook will be active and ready to receive events.

Tax Percentage Removal

PR: laravel/cashier-stripe#1001

Due to upgrading to a new Stripe API version, the taxPercentage, syncTaxPercentage, and getTaxPercentageForPayload methods have been removed from Cashier since they are deprecated by Stripe. We recommend that you upgrade to Stripe's new Tax Rates API. You can familiarize yourself with Tax Rates via Stripe's documentation on the topic:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2022
@dependabot dependabot bot force-pushed the dependabot/composer/laravel/cashier-13.12.0 branch from 04d2380 to defb18c Compare July 1, 2022 04:58
Bumps [laravel/cashier](https://github.com/laravel/cashier-stripe) from 12.9.3 to 13.12.0.
- [Release notes](https://github.com/laravel/cashier-stripe/releases)
- [Changelog](https://github.com/laravel/cashier-stripe/blob/13.x/CHANGELOG.md)
- [Upgrade guide](https://github.com/laravel/cashier-stripe/blob/13.x/UPGRADE.md)
- [Commits](laravel/cashier-stripe@v12.9.3...v13.12.0)

---
updated-dependencies:
- dependency-name: laravel/cashier
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/laravel/cashier-13.12.0 branch from defb18c to 547b0ef Compare July 1, 2022 04:59
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #107.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/composer/laravel/cashier-13.12.0 branch August 1, 2022 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants