From 492bebb8b11f301650f13aa0e8b2694a43a561db Mon Sep 17 00:00:00 2001 From: Shu Chen Date: Thu, 2 May 2024 13:33:22 +0800 Subject: [PATCH] Adding iDeal Fast Checkout --- src/PaymentMethods/iDeal/iDeal.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/PaymentMethods/iDeal/iDeal.php b/src/PaymentMethods/iDeal/iDeal.php index dbd0761..e0902c4 100644 --- a/src/PaymentMethods/iDeal/iDeal.php +++ b/src/PaymentMethods/iDeal/iDeal.php @@ -53,6 +53,19 @@ public function pay(?Model $model = null) return parent::pay($model ?? new Pay($this->payload)); } + /** + * @param Model|null $model + * @return TransactionResponse + */ + public function payFastCheckout(?Model $model = null) + { + $this->setPayPayload(); + + $this->setServiceList('PayFastCheckout', $model ?? new Pay($this->payload)); + + return $this->postRequest(); + } + /** * @param Model|null $model * @return TransactionResponse