Skip to content

Commit

Permalink
Merge pull request #9 from paynl/feature/PLUG-674
Browse files Browse the repository at this point in the history
PLUG-674: Changes for graphql
  • Loading branch information
woutse authored Sep 30, 2021
2 parents deb2c1a + c1be180 commit f85b571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/Paymentmethod/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ protected function doStartTransaction(Order $order)
$store = $order->getStore();
$baseUrl = $store->getBaseUrl();

$returnUrl = $baseUrl . 'paynl/checkout/finish/?entityid=' . $order->getEntityId();
$exchangeUrl = $baseUrl . 'paynl/checkout/exchange/';
$returnUrl = $additionalData['returnUrl'] ?? $baseUrl . 'paynl/checkout/finish/?entityid=' . $order->getEntityId();
$exchangeUrl = $additionalData['exchangeUrl'] ?? $baseUrl . 'paynl/checkout/exchange/';

$paymentOptionId = $this->getPaymentOptionId();

Expand Down

0 comments on commit f85b571

Please sign in to comment.