News:

Support the VirtueMart project and become a member

Main Menu

Neet to send product price to payment gateway

Started by irina11, April 05, 2013, 05:13:20 AM

Previous topic - Next topic

irina11

Hi! I'm trying to add a form that sends information to my payment gateway. So i got all the information needed except for items prices (if there are several items in the cart, i need to send each item's price, not total amount). So far i could use this:
$my_price=$this->currencyDisplay->createPriceDiv ('basePriceVariant', '', $this->cart->pricesUnformatted[$pkey], false,true);   

and i get price like this:

1687 руб

How can i get it without currency symbol? i need just numbers..

Thanks.