Pages:

Change currency in paypal

beholder

Avatar: beholder

2010-03-21 00:33

$aOrder[iOrder] used in the template works, as I can see from the pic ("commande N 5").
But $aData[iOrder] does not, as you can see from the pic.

you may want to add this line under the $aData['sOrderSummary2'] line to see what can you use to make $aData['sOrderSummary2'] have the right content:
print_r($aOrder);

kalanta

No avatar

2010-03-21 07:49

I added this:

$aData['sOrderSummary2'] = $aOrder['sOrderSummary'] * 0.4;
print_r($aOrder);

and nothing good, but I tried with this:

$aOrder['sOrderSummary2'] = $aOrder['sOrderSummary'] * 0.4;
print_r($aOrder);

and in the top of orders_print I got:

Array ( [iOrder] => 20 [sLanguage] => en [iStatus] => 1 [iTime] => 1269153791 [iCarrier] => 1 [iPayment] => 3 [sCarrierName] => FedEx [fCarrierPrice] => 19.00 [sPaymentName] => Credit Card [sPaymentPrice] => [sFirstName] => efefe [sLastName] => fefeferf [sCompanyName] => [sStreet] => erferferfe [sZipCode] => eferfer [sCity] => erferfer [sPhone] => 875787575 [sEmail] => erf@ferf.ru [sIp] => 127.0.0.1 [sComment] => [fPaymentCarrierPrice] => 19.00 [sPaymentCarrierPrice] => 19.00 [sDate] => 2010-03-21 08:43 [fProductsSummary] => 79.00 [fOrderSummary] => 98.00 [sOrderSummary] => 98.00 [sOrderSummary2] => 39.2 )

[sOrderSummary2] => 39.2 - it seems to work, but my paypal amout is still empty. I tried to use $aData[sOrderSummary2], $aOrder[sOrderSummary2]...

kalanta

No avatar

2010-03-21 09:04

Ok, it work!

I use this $aOrder['sOrderSummary2'] = $aOrder['sOrderSummary'] * 0.4; and this $aOrder[sOrderSummary2] as value.

But now I got another problem. For example, 6.22 *0.4 = 2.488 (incorrect price format). It should be converted to 2.48 or 2.49.

kalanta

No avatar

2010-03-21 09:30

I found solution. I added one more variable and now it works ok as I can see.

$aOrder['sOrderSummary2'] = $aOrder['sOrderSummary'] * 0.4;
$aOrder['sOrderSummary3'] = round($aOrder['sOrderSummary2'], 2);

Thanks for help, Beholder

Putta

Avatar: Putta

2010-09-01 13:44

Hi how can how I can do summary for quantity summary like oder 2 in website but show in paypal 1

Putta

Avatar: Putta

2011-01-24 05:14

Hi how can how I can do summary for quantity summary like oder 2 in website but show in paypal 1

Putta

Avatar: Putta

2011-02-03 03:50

Hi Beholder this is impossible? (I'm not a programmer but I know some php , html)

My problem is when customer order product in website 3 different products (that mena 3 quantity) but in paypal show just 1 quantity, I woud like to show quantity (summary quantity in Order form) before check out to paypal

and I would like to have all or 3 products in the desription of paypal like in the order form?

I have some picture
http://www.bemytrader.com/softweb/summary%20quantity.jpg

http://www.bemytrader.com/softweb/summary%20quantity_paypal.jpg

If you could help me please.

Thanks

Pages:
Back to top
about us | contact