Skip to content

Commit

Permalink
Merge pull request #206 from Mangopay/bufix/klarna-param
Browse files Browse the repository at this point in the history
fixed klarna
  • Loading branch information
iulian03 authored Nov 6, 2023
2 parents 992566c + 7bed1b0 commit c351cf7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MangoPay.SDK.Tests/ApiPayInsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ public async Task TestGooglePayIn()
Assert.AreEqual(getPayIn.Status, TransactionStatus.SUCCEEDED);
}

[Test]
[Ignore("Cannot test Google Pay because the necessary data cannot be generated in the test")]
public async Task Test_PayIns_Create_GooglePayDirect()
{
try
Expand Down
2 changes: 1 addition & 1 deletion MangoPay.SDK/Entities/GET/PayInKlarnaWebDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class PayInKlarnaWebDTO: PayInDTO
public Billing Billing { get; set; }

/// <summary> The merchant order reference
public string MerchantOrderId { get; set; }
public string Reference { get; set; }

public string Culture { get; set; }

Expand Down
6 changes: 3 additions & 3 deletions MangoPay.SDK/Entities/POST/PayInKlarnaWebPostDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public PayInKlarnaWebPostDTO(
string email,
string additionalData,
Billing billing,
string merchantOrderId,
string reference,
string culture = null,
Shipping shipping = null,
string tag = null
Expand All @@ -34,7 +34,7 @@ public PayInKlarnaWebPostDTO(
Email = email;
AdditionalData = additionalData;
Billing = billing;
MerchantOrderId = merchantOrderId;
Reference = reference;
Culture = culture;
Shipping = shipping;
Tag = tag;
Expand Down Expand Up @@ -74,7 +74,7 @@ public PayInKlarnaWebPostDTO(
public Billing Billing { get; set; }

/// <summary> The merchant order reference
public string MerchantOrderId { get; set; }
public string Reference { get; set; }

public string Culture { get; set; }

Expand Down

0 comments on commit c351cf7

Please sign in to comment.