vr4_0184071 Posted April 24, 2009 Posted April 24, 2009 Hello I need some help to get total amount in different currencies to be transfered to my CSP I'm using DPS pxpay module, in dps_pxpay.php it get total amount from order.php as below: 'AmountInput' => number_format($order->info['total'], 2, '.', ''), The problem I have is I need to have total amount transfered in different currencies e.g. USD or GBP, but in my order php there is only: $this->info = array('currency' => $order['currency'], 'currency_value' => $order['currency_value'], 'payment_method' => $order['payment_method'], 'cc_type' => $order['cc_type'], 'cc_owner' => $order['cc_owner'], 'cc_number' => $order['cc_number'], 'cc_expires' => $order['cc_expires'], 'date_purchased' => $order['date_purchased'], 'orders_status' => $order_status['orders_status_name'], 'last_modified' => $order['last_modified'], 'total' => strip_tags($order_total['text']), 'shipping_method' => ((substr($shipping_method['title'], -1) == ':') ? substr(strip_tags($shipping_method['title']), 0, -1) : strip_tags($shipping_method['title']))); currency_value is the exchange rate and total is the total amount in the default currency. Is it possible to multiply these two and create a new variable so I can use it in my dps_pxpay.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.