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

Source Stripe: plan.tiers not available by default for Stripe API versions >2020-03-02 #19905

Closed
visnup opened this issue Nov 29, 2022 · 0 comments · Fixed by #19906
Closed

Comments

@visnup
Copy link
Contributor

visnup commented Nov 29, 2022

Environment

  • Airbyte version: 0.40.22
  • OS Version / Instance: AWS EC2
  • Deployment: docker-compose
  • Source Connector and version: Stripe 0.1.40
  • Destination Connector and version: Snowflake 0.4.40
  • Step where error happened: Sync job

Current Behavior

Previously, we were running against Stripe API version 2020-03-02, but when updating to 2022-11-15 the tiers property on plans isn't included in the response by default. This was changed in version 2020-08-27. This means tiers will never be synced for plans when using the latest Stripe API version.

Either we'd have to go back to a previous Stripe API version, or use expand[]=data.tiers when requesting plans.

Expected Behavior

Stripe plan tiers should sync.

Logs

Steps to Reproduce

  1. Set your Stripe account setting API version to anything >=2020-08-27.
  2. Create a Stripe product/price using tiered pricing.
  3. Sync plans using the Airbyte Stripe connector.
  4. See tiers never sync.

Are you willing to submit a PR?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants