Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/12800
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Jun 1, 2024
1 parent 8e5e344 commit 04e0ea3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public function confirm(): void {


if (isset($this->session->data['order_id'])) {
$this->load->model('checkout/order');

$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if (!$order_info) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public function confirm(): void {
$json = [];

if (isset($this->session->data['order_id'])) {
$this->load->model('checkout/order');

$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if (!$order_info) {
Expand Down
2 changes: 2 additions & 0 deletions upload/extension/opencart/catalog/controller/payment/cod.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public function confirm(): void {
$json = [];

if (isset($this->session->data['order_id'])) {
$this->load->model('checkout/order');

$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if (!$order_info) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public function confirm(): void {
$json = [];

if (isset($this->session->data['order_id'])) {
$this->load->model('checkout/order');

$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if (!$order_info) {
Expand Down
Binary file modified upload/system/storage/marketplace/oc_payment_example.ocmod.zip
Binary file not shown.

0 comments on commit 04e0ea3

Please sign in to comment.