Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Fix generate SSL url
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Mar 5, 2021
1 parent fa6e49c commit 0c4c930
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/catalog/controller/payment/payu.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private function loadLibConfig()
public function index()
{
$data['payu_button'] = self::PAY_BUTTON;
$data['action'] = $this->url->link('payment/payu/pay', '', true);
$data['action'] = $this->url->link('payment/payu/pay', '', 'SSL');

if ($this->isVersion22()) {
return $this->load->view('payment/payu', $data);
Expand Down Expand Up @@ -190,8 +190,8 @@ private function buildOrder()
$this->ocr['merchantPosId'] = OpenPayU_Configuration::getMerchantPosId();
$this->ocr['description'] = $this->language->get('text_payu_order') . ' #' . $order_info['order_id'];
$this->ocr['customerIp'] = $this->getIP($order_info['ip']);
$this->ocr['notifyUrl'] = $this->url->link('payment/payu/ordernotify', '', true);
$this->ocr['continueUrl'] = $this->url->link('checkout/success', '', true);
$this->ocr['notifyUrl'] = $this->url->link('payment/payu/ordernotify', '', 'SSL');
$this->ocr['continueUrl'] = $this->url->link('checkout/success', '', 'SSL');
$this->ocr['currencyCode'] = $order_info['currency_code'];
$this->ocr['totalAmount'] = $this->toAmount(
$this->currencyFormat($order_info['total'], $order_info['currency_code'])
Expand Down

0 comments on commit 0c4c930

Please sign in to comment.