Skip to content

Commit

Permalink
fixed klarna
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian Masar committed Nov 2, 2023
1 parent 8e62d87 commit 56a41d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MangoPay/PayInPaymentDetailsKlarna.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PayInPaymentDetailsKlarna extends Libraries\Dto implements PayInPaymentDet
* The merchant order reference
* @var string
*/
public $MerchantOrderId;
public $Reference;

public function GetSubObjects()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Cases/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ protected function getNewPayInKlarnaWeb($userId = null)
$payIn->PaymentDetails->Phone = "33#607080900";
$payIn->PaymentDetails->Email = "[email protected]";
$payIn->PaymentDetails->AdditionalData = "{}";
$payIn->PaymentDetails->MerchantOrderId = "afd48-879d-48fg";
$payIn->PaymentDetails->Reference = "afd48-879d-48fg";

$lineItem = new LineItem();
$lineItem->Name = 'test item';
Expand Down
1 change: 1 addition & 0 deletions tests/Cases/PayInsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ public function test_PayIns_Create_MbwayWeb()

public function test_PayIns_Create_GooglePayDirectV2()
{
$this->markTestSkipped("Cannot test because payment data can't be generated in tests");
$payIn = $this->getNewPayInGooglePayDirect();

$this->assertNotNull($payIn->Id > 0);
Expand Down

0 comments on commit 56a41d2

Please sign in to comment.