• Resolved Ward

    (@yward)


    Clicking “Approve Refund” adds a new item to the order “refundable amount” which increases the original order total amount instead of being counted a refund.

    Can I stop this from happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ward

    (@yward)

    To anyone with the same issue, the plugin support team appears to ignore all tickets and just paste the same copy/paste reply asking to email them.

    You can solve the issue as follows:

    1-Rename the plugin folder to prevent it being updated overwriting the changes we’re going to make.
    2-Go to Plugin’s editor the edit the following:
    a–Edit the plugin’s main file and change the plugin name by appending a letter or two to also make sure it doesn’t get updated. (you can also simply edit the version to a version much higher than wp rep, i.e. 11 or something)
    b–Make sure to also edit text-domain in the same files to match the folder name you have renamed.
    c–Go to admin/class_woocommerce_refund_and_exchange_lite-admin.php
    then comment the lines between 546 to 555 which are shown below:

    
    				/*
    				$new_fee_old            = new stdClass();
    				$new_fee_old->name      = esc_attr( 'Refundable Amount' );
    				$new_fee_old->amount    = (float) esc_attr( $total_price );
    				$new_fee_old->tax_class = '';
    				$new_fee_old->taxable   = false;
    				$new_fee->tax       = $totalProducttax;
    				$new_fee_old->tax_data  = array();
    				$item_id = $order->add_fee( $new_fee_old );
    				*/

    That’s all, the plugin will no longer add extra charges to your orders instead of refunding.

    • This reply was modified 6 years, 6 months ago by Ward.

    dear mwb

    please resolve the following prob
    1. when the refund req is approved and refund is initiated it dose not automatically include shipping and tax amount in the product value in refund amount which make it wrong
    2. the confirmation mail sent to the customer that u can see in second image also do not include shipping and tax amount in product value that create difference between the total mount paid and amount refunded this me create a panic situation in customer please suggest how to resolve it
    3. and it is also not showing the note on product page even after enabling it u can refer image 3 for this

    note – i have done all settings you can see in mage 4

    image.png

    image.png

    image.png

    image.png

    i have sent you email on [email protected] regarding same pease resolve asap

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Refundable Amount’ is closed to new replies.