Skip to content

Commit

Permalink
Using order ID instead of order ref for RefNr
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Allimant committed Nov 17, 2022
1 parent 52ce22c commit dbc7d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Axepta.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function pay(Order $order)
$paymentRequest->setTransID($transId);
$paymentRequest->setAmount((int) ($order->getTotalAmount()*100));
$paymentRequest->setCurrency($order->getCurrency()->getCode());
$paymentRequest->setRefNr($order->getRef());
$paymentRequest->setRefNr($order->getId());
$paymentRequest->setURLSuccess($urlNotification);
$paymentRequest->setURLFailure($urlNotification);
$paymentRequest->setURLNotify($urlNotification);
Expand Down
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0.1</version>
<version>1.0.2</version>
<authors>
<author>
<name>Nicolas Barbey</name>
Expand Down

0 comments on commit dbc7d44

Please sign in to comment.