*

Web

  • ****
  • 183 posts
how to pay credits ?
« on: March 22, 2021, 07:14:21 AM »
@mbthemes

how to enable pay with credit


You cannot pay with your credits as your cart contains Product. Payments for products using credits are not allowed.

*

MB Themes

Re: how to pay credits ?
« Reply #1 on: March 22, 2021, 07:54:34 AM »
@Web
You will have to update cart.php and enable it, but not sure if there are additional controlers.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • ****
  • 183 posts
Re: how to pay credits ?
« Reply #2 on: March 22, 2021, 10:57:10 AM »
@Web
You will have to update cart.php and enable it, but not sure if there are additional controlers.

I'm change condition but Error



if(!$contains_pack && $contains_product) {
        osp_wallet_button(round($total, 2), sprintf(__('Pay %s cart items for %s', 'osclass_pay'), $count, osp_format_price($total, 2)), '901x1x'.$user_id, array('user' => @$user['pk_i_id'], 'itemid' => @$user['pk_i_id'], 'email' => @$user['s_email'], 'amount' => round($total, 2)));
      }



Error

Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (From): osclass@localhost in D:\WAMP\www\eee\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 1513
( ! ) PHPMailer\PHPMailer\Exception: Invalid address: (From): osclass@localhost in D:\WAMP\www\eee\oc-includes\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 1513

*

MB Themes

Re: how to pay credits ?
« Reply #3 on: March 22, 2021, 11:46:55 AM »
Error has nothing to do with plugin, read it precisely.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • ****
  • 183 posts
Re: how to pay credits ?
« Reply #4 on: March 22, 2021, 11:57:30 AM »
Error has nothing to do with plugin, read it precisely.

Click pay with credit, then REDIRECT to this link

http://localhost/eee/index.php?page=custom&route=osp-wallet&a=55&desc=Pay%201%20cart%20items%20for%2055.00INR&extra=user,2|itemid,2|email,[email protected]|amount,55|concept,Pay%201%20cart%20items%20for%2055.00INR|product,901x1x2|

Error Screenshot

https://ibb.co/c1NprTY
« Last Edit: March 22, 2021, 12:02:49 PM by Web »

*

MB Themes

Re: how to pay credits ?
« Reply #5 on: March 22, 2021, 04:42:01 PM »
Error has nothing to do with plugin, read it precisely.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots