-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
Filter out Stripe client_id #12058
Filter out Stripe client_id #12058
Conversation
If they follow a rule, it reduces indirection and makes it easier to manage, I reckon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an aside, I'm actually not sure why we need to filter out "bogus_customer" and "bogus_account", as those are stored in .env.test
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
Co-authored-by: Maikel <[email protected]>
I agree, we don't. But when we send out the "real_customer" and "real_account" to Stripe then the corresponding replies (cassettes) may contain these, too. So I think it's ok to include this in the VCR config and scramble them out 👍 We set these bogus credentials on This is my understanding of it - I hope I've understood your comment correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
I didn't have a "real" customer or account ID configured when I re-recorded the cassettes, I just had the default "bogus" ones from Anyway, I don't see any harm in filtering them out like this. |
What? Why?
What should we test?
Stripe specs pass
Dependencies
Ideally we'd deal with this before the next Stripe version bump.