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(), ]);