Skip to content

Conversation

julienbourdeau
Copy link
Contributor

@julienbourdeau julienbourdeau commented Jun 4, 2025

As part of the stripe upgrade, I added integration tests to call the Stripe API for real.

By default, it still runs 2020-08-27 version but locally you can run the future version by setting the version in you api/.env

STRIPE_API_VERSION=2025-04-30.basil

The integration tests are not run on CI. You must run them locally.

@julienbourdeau julienbourdeau self-assigned this Jun 4, 2025
@julienbourdeau julienbourdeau force-pushed the feat/stripe-integration-test branch 5 times, most recently from 6b1a674 to 5548892 Compare June 5, 2025 10:02
@julienbourdeau julienbourdeau changed the title feat(stripe): Upgrade API to 2025-04-30.basil feat(stripe): Prepare test suite to use Stripe 2025-04-30.basil Jun 5, 2025
@julienbourdeau julienbourdeau force-pushed the feat/stripe-integration-test branch from 5548892 to 942e8d4 Compare June 5, 2025 10:33
@julienbourdeau julienbourdeau changed the title feat(stripe): Prepare test suite to use Stripe 2025-04-30.basil feat(stripe): Introduce integration tests (calling Stripe API) Jun 5, 2025
@julienbourdeau julienbourdeau marked this pull request as ready for review June 5, 2025 10:45
Copy link
Contributor

@diegocharles diegocharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julienbourdeau The code looks great man!
I just left optional suggestions to use the dig method instead of nested keys if you agree.

@julienbourdeau julienbourdeau merged commit 7bfc818 into main Jun 6, 2025
14 checks passed
@julienbourdeau julienbourdeau deleted the feat/stripe-integration-test branch June 6, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants