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

Add the ability to create a SEPA debit source from an Ideal one. #1154

Merged
merged 2 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using Machine.Specifications;
/*
using Machine.Specifications;

The token `tok_riskLevelElevated` does not cause a blocked charge anymore.
For now the test is simply disabled in case we want to look it up in the future.

namespace Stripe.Tests
{
Expand All @@ -18,4 +22,5 @@ public class when_creating_a_radar_reviewed_charge
It should_have_a_review_id_on_the_charge = () =>
_charge.ReviewId.ShouldStartWith("prv_");
}
}
}
*/
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
using System;
/*
using System;
using Machine.Specifications;

The token `tok_riskLevelElevated` does not cause a blocked charge anymore.
For now the test is simply disabled in case we want to look it up in the future.

namespace Stripe.Tests
{
public class when_creating_a_radar_reviewed_charge_expanded
Expand Down Expand Up @@ -28,4 +32,5 @@ public class when_creating_a_radar_reviewed_charge_expanded
It should_have_the_right_charge_on_the_review = () =>
_charge.Review.ChargeId.ShouldEqual(_charge.Id);
}
}
}
*/
3 changes: 3 additions & 0 deletions src/Stripe.net/Services/Sources/StripeSourceCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public class StripeSourceCreateOptions : StripeBaseOptions, ISupportMetadata
[JsonProperty("sepa_debit[iban]")]
public string SepaDebitIban { get; set; }

[JsonProperty("sepa_debit[ideal]")]
public string SepaDebitIdealSourceId { get; set; }

[JsonProperty("sofort[country]")]
public string SofortCountry { get; set; }

Expand Down