Skip to content

Commit

Permalink
Merge pull request #4 from NordicWebTeam/release-1.0.18
Browse files Browse the repository at this point in the history
Release 1.0.18
  • Loading branch information
martinSternelius authored Mar 21, 2024
2 parents cef072a + 13ba692 commit d6235a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function collect(CreatePaymentSession $paymentSession, $subject)
$paymentSession->setLocale($this->checkoutConfig->getCheckoutLanguage());
$paymentSession->setCountry($this->checkoutConfig->getDefaultCountry());
$paymentSession->setReference([
"ref" => "quote_{$subject->getId()}"
"reference1" => $subject->reserveOrderId()->getReservedOrderId()
]);
$paymentSession->setMerchantConfig([
"maxamount" => $this->checkoutConfig->isBriqpayMaxamount(),
Expand Down
2 changes: 1 addition & 1 deletion Model/Payment/ResponseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function handlePaymentStatus(
$briqpayPaymentMethod = $paymentStatus->getPurchasePaymentMethod();
$this->setPaymentData($payment, [
'briqpay_session_id' => $briqpayPaymentMethod->getSessionId(),
'briqpay_method' => $briqpayPaymentMethod->getPspName(),
'briqpay_method' => $briqpayPaymentMethod->getName(),
'briqpay_reservation_id' => $briqpayPaymentMethod->getReservationId(),
'briqpay_payment_status' => $paymentStatus->getState(),
'briqpay_autocapture' => $briqpayPaymentMethod->getAutoCapture()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"Briqpay\\Checkout\\": ""
}
},
"version": "1.0.15"
"version": "1.0.18"
}
5 changes: 1 addition & 4 deletions view/frontend/templates/checkout/order/success.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ $realId = $block->getRealOrderId();
<span class="note">
<?= __("Price including VAT"); ?>
</span>
<span class="note">
<?= __("You have chosen to pay by <b>{$block->getLatestPaymentMethod()}.</b>"); ?>
</span>
</div>

<div class="order_inside">
Expand Down Expand Up @@ -71,7 +68,7 @@ $realId = $block->getRealOrderId();
<thead>
<tr>
<th class="col-item"><?= __('Product') ?></th>
<th class="col-subtotal"><?= __('Amount') ?></th>
<th class="col-subtotal"><?= __('Summa') ?></th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit d6235a0

Please sign in to comment.