Quote Originally Posted by OJ_SIMON View Post
Code:
    $i = count($order_totals);
    $i -= 1;
    
 echo $order_totals[$i]['value'];
gets the full total amount to send to Stripe but I can only get it to work on index.php?main_page=checkout_confirmation page and need to get this to
includes/modules/payment/stripe.php

line 146
PHP Code:
$amount_total=round($order->info['total']*$order->info['currency_value'],$decimal_places)*$multiplied_by
should be like

PHP Code:
    $i count($order_totals);    $i -= 1;
$order_value $order_totals[$i]['value'];
        
$amount_total round($order_value $order->info['currency_value'], $decimal_places) * $multiplied_by

I'll look into both of these but no promises as I have a bit of work ahead of me.