Skip to content

Commit 1ae5399

Browse files
authored
Merge pull request #175 from paynl/feature/PLUG-4688
PLUG-4688 - Refund 404 fix
2 parents 2e27290 + f652271 commit 1ae5399

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Transaction.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ public static function refund(
403403
{
404404
$api = new Api\Refund();
405405
$api->setTransactionId($transactionId);
406+
\Paynl\Config::setApiBase('https://rest-api.pay.nl');
407+
406408
if ($amount !== null) {
407409
$amount = round($amount * 100);
408410
$api->setAmount($amount);

0 commit comments

Comments
 (0)