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

Stripe API upgrade #8405

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Stripe API upgrade #8405

merged 4 commits into from
Nov 19, 2024

Commits on Nov 18, 2024

  1. Update Pro invoice specs

    Use Stripe mocks instead of doubles. Ideally this would mean if the
    attributes change upstream we get test failures, unfortunately this
    doesn't appear to happen due to how stripe-ruby-mock works.
    gbp committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    f12ed85 View commit details
    Browse the repository at this point in the history
  2. Upgrade Stripe API version

    Bumps the API version to the latest version support by stripe-ruby-mock.
    
    Also remove gem lock allowing us to upgrade both stripe-ruby-mock and
    the main stripe gem.
    
    Fixes broken tests and other changes which aren't testable, such as:
    1. Invoice#date being rename Invoice#created
    2. Plan#name being moved to Plan#product & Product#name and not loaded/
       expanded automatically.
    gbp committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    4eab5cc View commit details
    Browse the repository at this point in the history
  3. Replace deprecated Stripe save calls

    These have been replaced with calls to `create` or `update`.
    gbp committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    e880bc5 View commit details
    Browse the repository at this point in the history
  4. Update changelog

    gbp committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    157d9bf View commit details
    Browse the repository at this point in the history