-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add "src" as a valid prefix for PaymentMethodId #164
Conversation
@andrewhalle can you link the appropriate section of the API docs for this change? |
@FL33TW00D the Sources API page is listed in the "Payment Methods" section, is there a more specific place I can reference? I noticed this when a PaymentIntent I was testing with failed to de-serialize. Going by the pages listed under "Payment Methods", I suppose I could also add |
Looks good, |
No problem! I'll add that. Any preference on if I also add a trailing underscore to |
* add "ba" as a valid prefix for PaymentMethodId * add trailing underscores for the valid prefixes of PaymentMethodId to keep with style of other `def_id!`s
Based on the rest of the ID's ( Line 522 in 5f83127
|
Hey guys thanks for raising this discussion @andrewhalle! I am going to get in touch with people at stripe and get a canonical list of all id formats so that we ensure these are all correct! Stay tuned :) |
Codecov Report
@@ Coverage Diff @@
## master #164 +/- ##
=========================================
- Coverage 5.09% 5.03% -0.06%
=========================================
Files 117 117
Lines 8836 8841 +5
=========================================
- Hits 450 445 -5
- Misses 8386 8396 +10
Continue to review full report at Codecov.
|
No problem, thank you! |
I have reached out to stripe, will update with progress. In the mean time, I am happy to merge this. Here is another (incomplete) list: https://gist.github.com/fnky/76f533366f75cf75802c8052b577e2a5 |
No description provided.