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

Move the "card" schema entry under "payment_method_details" #49

Merged
merged 7 commits into from
Jan 13, 2020

Conversation

cosimon
Copy link
Contributor

@cosimon cosimon commented Jan 10, 2020

Description of change

https://stitchdata.atlassian.net/browse/SUP-1119

The card details are returned by the Stripe API under "payment_method_details". Have the schema match this.

Manual QA steps

  • Ran the tap locally and checked that the card information was now being returned

Risks

  • If the origin of the card details not being returned is due to a change in the Stripe API there is a chance of a user still using the prior version of the Stripe API and this would make them unable to retrieve card information for their charges.

Rollback steps

  • revert this branch

@KAllan357 KAllan357 self-requested a review January 13, 2020 14:20
name: 'JSON Validator'
command: |
source /usr/local/share/virtualenvs/tap-tester/bin/activate
stitch-validate-json ~/.virtualenvs/tap-stripe/lib/python3.5/site-packages/tap_stripe/schemas/*.json
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this path is wrong. Did you run this locally?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ignore me. Github plopped me in a one commit window

@cosimon cosimon merged commit 7d3c735 into master Jan 13, 2020
@cosimon cosimon deleted the fix/retreive-card-details branch January 13, 2020 16:02
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.

3 participants