Skip to content

Commit

Permalink
add shippingCost to Ideal
Browse files Browse the repository at this point in the history
  • Loading branch information
vegimcarkaxhija committed Oct 22, 2024
1 parent fa27dc3 commit 40e3e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PaymentMethods/iDeal/Models/Pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
class Pay extends ServiceParameter
{
protected string $issuer;
protected string $shippingCost;
}
1 change: 1 addition & 0 deletions tests/Buckaroo/Payments/IdealTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
]);

Expand Down

0 comments on commit 40e3e84

Please sign in to comment.