• Resolved wattsyourwebsite

    (@wattsyourwebsite)


    We have a situation where I have written code to partially refund an order. It all works well EXCEPT fot the totals.

    I have used this code:

    $order->recalculate_totals()

    and it does nothing. If I edit the Order, click the blue RECALCULATE it all works perfectly.

    Is there any PHP code I am missing here to simulate the “click the blue RECALCULATE button”

    Thanks,

    Tania

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Changing an order programatically does not update totals’ is closed to new replies.