From 40e3e84c824d509511e43559a127eac5284be131 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 22 Oct 2024 17:31:15 +0200 Subject: [PATCH] add shippingCost to Ideal --- src/PaymentMethods/iDeal/Models/Pay.php | 1 + tests/Buckaroo/Payments/IdealTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/PaymentMethods/iDeal/Models/Pay.php b/src/PaymentMethods/iDeal/Models/Pay.php index da7304ea..5c0ed0ee 100644 --- a/src/PaymentMethods/iDeal/Models/Pay.php +++ b/src/PaymentMethods/iDeal/Models/Pay.php @@ -25,4 +25,5 @@ class Pay extends ServiceParameter { protected string $issuer; + protected string $shippingCost; } diff --git a/tests/Buckaroo/Payments/IdealTest.php b/tests/Buckaroo/Payments/IdealTest.php index c0d3508c..445192bb 100644 --- a/tests/Buckaroo/Payments/IdealTest.php +++ b/tests/Buckaroo/Payments/IdealTest.php @@ -100,6 +100,7 @@ public function it_creates_a_ideal_fast_checkout_payment() { $response = $this->buckaroo->method('ideal')->payFastCheckout([ 'amountDebit' => 10.10, + 'shippingCost' => 0.10, 'invoice' => uniqid(), ]);