Skip to content

Commit

Permalink
Merge pull request #50 from CoinPaymentsNet/INT-264_nastya_opencart_2…
Browse files Browse the repository at this point in the history
….0-2.2

Notes_link add description
  • Loading branch information
letscode-u authored Mar 9, 2021
2 parents 2fd0a6e + fa4df9a commit 2eda402
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion upload/catalog/model/payment/coinpayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ public function createInvoice($order_info)
'amount' => $amount,
'display_value' => $display_value,
'billing_data' => $order_info,
'notes_link' => html_entity_decode($this->url->link('sale/order/info', 'user_token=' . $this->session->data['user_token'] . '&order_id=' . $order_info['order_id'], true)),
'notes_link' => sprintf(
"%s|Store name: %s|Order #%s",
html_entity_decode($this->url->link('sale/order/info', 'user_token=' . $this->session->data['user_token'] . '&order_id=' . $order_info['order_id'], true)),
$this->config->get('config_name'),
$order_info['order_id']),
);

if ($this->config->get('coinpayments_webhooks')) {
Expand Down

0 comments on commit 2eda402

Please sign in to comment.