Skip to content

Commit

Permalink
Adding iDeal Fast Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuCh3n committed May 2, 2024
1 parent 3935386 commit 492bebb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/PaymentMethods/iDeal/iDeal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 492bebb

Please sign in to comment.