-
Notifications
You must be signed in to change notification settings - Fork 572
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 the ability to create a SEPA debit source from an Ideal one. #1154
Conversation
@@ -44,6 +44,9 @@ public class StripeSourceCreateOptions : StripeBaseOptions, ISupportMetadata | |||
[JsonProperty("sepa_debit[iban]")] | |||
public string SepaDebitIban { get; set; } | |||
|
|||
[JsonProperty("sepa_debit[ideal]")] | |||
public string SepaDebitIdealSource { get; set; } |
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 chose to add "Source" at the end as it takes a source id and in the future we might add an ideal
hash so wanted to protect future us
@@ -44,6 +44,9 @@ public class StripeSourceCreateOptions : StripeBaseOptions, ISupportMetadata | |||
[JsonProperty("sepa_debit[iban]")] | |||
public string SepaDebitIban { get; set; } | |||
|
|||
[JsonProperty("sepa_debit[ideal]")] | |||
public string SepaDebitIdealSource { get; set; } |
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 think this should be named SepaDebitIdealSourceId
in order to be consistent with other parameters that expect an ID.
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.
fixed, sorry for the delay
c04746b
to
d3111f2
Compare
@ob-stripe PTAL |
Those tests do not work anymore as the Charge created on that token is not put in Review by Radar anymore. Comment those out so that we can look it up as needed in the future.
b2903f7
to
ee9c2be
Compare
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.
lgtm!
Fixes #1153
r? @ob-stripe
cc @stripe/api-libraries