Jump to content
Sign in to follow this  
Fedka

Commission when paying by LiqPay system

Recommended Posts

Commission when paying by LiqPay system


Commission when paying by LiqPay system


This supplement establishes a commission when placing an order. The LiqPay system uses a commission of 2.75% of the order amount.
For installation:
1) Upload files to the server
2) Переходим Extensions->Order Totals
3) Select the LiqPay Commission and install
4) If necessary, assign rights for a user group

If you want the commission to be distributed and for delivery, then in the file catalog/model/total/liqpay_fee.php need:
Add:


if ($this->cart->hasShipping() && isset($this->session->data['shipping_method'])) {
   if ($this->config->get('liqpay_fee_percents') == 1) {
      $delivery_fee = ((float)$this->session->data['shipping_method']['cost'] / 100) * $this->config->get('liqpay_fee_fee');
      $liqpay_fee_fee = $liqpay_fee_fee + $delivery_fee;
   }
}


Before:


$title = ($this->config->get('liqpay_fee_custom_title')) ? $this->config->get('liqpay_fee_custom_title') : $this->language->get('text_title');

 


  • Submitter
  • Submitted
    09/10/2017
  • Category
  • System requirements
  • Site:
  • OldPrice
  • Activation
    no activation required
  • Ioncube Loader
    No
  • OpenCart
    2.2
    2.1
    2.0
  • ocStore
    2.1

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×