Forums / PayPal Express Checkout support / Paypal Your order summary is 0 empty, shopping in KR

Paypal Your order summary is 0 empty, shopping in KR

Views: 6,484

Results 1 to 20 of 22
17 Aug 2015, 8:32 AM
#1
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Paypal Your order summary is 0 empty, shopping in KR

hello,

i integrate Paypal express payment

after clicking on the Paypal Express checkout button, it redirect to paypal page, but with empty order in "Your order summary" and is 0
check attachment

Paypal payment is processing without presing Pay Now and i getting Paypal email confirmation ( Notification of payment received )

how to fix it to have real amount of necessary payment in Paypal ( not 0 ) and to have PAY now button before real payment

thanx ?

Regards,

emil
https://www.sonarscope.hr

i am using last Zencart 1.5.4
and old Cold Steel template

please help

best

emil

17 Aug 2015, 1:53 PM
#2
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

more info

here in attachment is a screen shot example

UP on screen shot You can see
missing Description and Amount after Paypal check out on https://www.sonarscope.hr
and on Screen shot down after paypal check out on http://luv4country.com/catalog/ Zencart shop when Paypal is working correct

17 Aug 2015, 3:05 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Paypal Your order summary is 0 empty, shopping in KR

In Admin->Modules->Payment, click Edit on your PP EC module, and set Debug to Log To File. (See more about this here: http://www.zen-cart.com/showthread.php?61199-Debug-Logging-PayPal )

Then try the transaction. I see an error: " An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (10401) 10401 Transaction refused because of an invalid argument. See additional error messages for details. - Order total is invalid."

Now, look on your server in the /logs folder for PayPal-xxxxxx.log files. There will be 3-7 files for each attempted transaction. Each will show some of the progress towards building the data for checkout, and will explain what has gone wrong in calculating the line-item details for submission. I suspect it's a problem with currency exchange.

If it's related to currency calculations, try checkout again using USD. If that works correctly, you'll need to make sure the exchange rates are properly set and your paypal module is properly set to accept appropriate currencies.
At this time the v1.5.4 module can handle 'EUR', 'GBP', 'CAD', 'JPY', 'USD', 'AUD', 'CHF', 'CZK', 'DKK', 'HKD', 'HUF', 'NOK', 'NZD', 'PLN', 'SEK', 'SGD', 'THB', 'MXN', 'ILS', 'PHP', 'TWD', 'BRL', 'MYR', 'TRY'

If you cannot sort it out with the logs, then please zip those log files and post them here for review. (The most sensitive information is already removed from the logs before they are written, but if you need to remove customer name and street address too that's fine. Please don't remove other address information because city, postcode, country may be relevant data.)
Also explain what country your store is set to in Admin->Config->My Store, and what currencies you have in Admin->Localization->Currencies and which is default. And what currency setting you've chosen in your PayPal EC module. What languages are enabled in your store?

I may not be online much for the next couple weeks, but others can offer help too.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Aug 2015, 7:18 AM
#4
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

Attachment 15537Attachment 15538

hello DrByte,

i already apply some changes so when You was checking https://www.sonarscope.hr You get different errors
please check now
in my Paypal account i have selected EUR for primary Currency
in shop You can select Croatian kuna and EUR for Currency

log :

ec-step1-addr_check3
paypalwpp
address details from override check: <NONE FOUND>

getLineItemDetails 1
paypalwpp
Not using default currency. Thus, no line-item details can be submitted.

ec_step1 - 2 -submit
paypalwpp
Array
(
[CURRENCYCODE] => EUR
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] =>
[BRANDNAME] => SonarScope
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Sole
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[AMT] => 10.00
[RETURNURL] => http://www.sonarscope.hr/ducan/ipn_main_handler.php?type=ec
[CANCELURL] => http://www.sonarscope.hr/ducan/index.php?main_page=shopping_cart&ec_cancel=1

PayPal Debug log - SetExpressCheckout

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.4
)

Request Parameters: {SetExpressCheckout}
Array
(
[CURRENCYCODE] => EUR
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] =>
[BRANDNAME] => SonarScope
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[AMT] => 10.00
[RETURNURL] => http://www.sonarscope.hr/ducan/ipn_main_handler.php?type=ec
[CANCELURL] => http://www.sonarscope.hr/ducan/index.php?main_page=shopping_cart&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[USER] = deleted
[PWD] => deleted
[VERSION] => 61.0
[SIGNATURE] =>deleted.VS9
)

Response:
Array
(
[TOKEN] => deleted
[TIMESTAMP] => deleted
[CORRELATIONID] => deleted
[ACK] => Success
[VERSION] => 61.0
[BUILD] => 000000
[CURL_ERRORS] =>
)

ec-step1-addr_check
paypalwpp
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details

getOverrideAddress - 4
paypalwpp
not logged in and not in markflow mode - nothing to override

ec_step1 - 1
paypalwpp
Checking to see if we are in markflow
cart contents: physical

NOTE: $this->showPaymentPage = 0
Customer ID: 0
Session Data: Array
(
[securityToken] => deleted
[customers_host_address] => deleted
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[780] => Array
(
[qty] => 1
)

            )

        [total] => 10
        [weight] => 0
        [cartID] => 26485
        [content_type] => physical
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
        [download_count] => 0
        [total_before_discounts] => 8
        [display_debug_messages] =>
        [flag_duplicate_msgs_set] =>
    )

[check_valid] => true
[language] => hrvatski
[languages_id] => 2
[languages_code] => hr
[currency] => KN
[today_is] => 2015-08-18
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 92.242.240.132
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
[messageToStack] =>

thanx for help

19 Aug 2015, 10:37 AM
#5
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

update

when unregister ( gest ) he is trying to pay with Paypal Express Checkout Shortcut Button on Paypal page amount and product name are empty!

when customer already registered on https://www.sonarscope.hr he is paying with Paypal express payment after going throw regular checkout he get amount on Paypal payment page but is missing product name
so how to get product name on Paypal ?

19 Aug 2015, 9:38 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Paypal Your order summary is 0 empty, shopping in KR

Perhaps setting your store's default currency to EUR also may resolve it.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Aug 2015, 8:35 AM
#7
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

Attachment 15546> DrByte:

Perhaps setting your store's default currency to EUR also may resolve it.

thanx i change store's default currency to EUR and Paypal Express Checkout Shortcut Button start to work

:-)

how to make it to work with Croatian KUNA ?

thanx for help

21 Aug 2015, 6:50 AM
#8
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

i switch default currency to EUR and Paypal Express Checkout Shortcut Button i s working

Can i Force Zencart shop to display Croatian Kuna currency than default currency EUR ?

and if customer need EUR can switch from drop down Currency menu to EUR?

how to do that ?

i tray
admin>>My Store>> Switch To Default Language Currency
changed to True
what will help but is not working

by Croatian Low i need to display Croatian KUNA to Croatian customers

21 Aug 2015, 11:42 AM
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Paypal Your order summary is 0 empty, shopping in KR

From DrByte's post above:

At this time the v1.5.4 module can handle 'EUR', 'GBP', 'CAD', 'JPY', 'USD', 'AUD', 'CHF', 'CZK', 'DKK', 'HKD', 'HUF', 'NOK', 'NZD', 'PLN', 'SEK', 'SGD', 'THB', 'MXN', 'ILS', 'PHP', 'TWD', 'BRL', 'MYR', 'TRY'

Note that HRK (Croatian Kuna) is ***not ***in that list.

21 Aug 2015, 12:11 PM
#10
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

Paypal is also not handling Croatian KUNA
i have EUR default Currency for PAYPAL

when customer on listed products in Croatian Currency press Paypal Express Checkout Shortcut Button should be redirect to Paypal and charge in EUR .
This is already working but for the moment on PAYPAL page amount and product discription are missing / is possible to pay with Paypal and You get a message "You'll be able to see your order details before you pay."

21 Aug 2015, 3:25 PM
#11
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

lat9:

From DrByte's post above:

At this time the v1.5.4 module can handle 'EUR', 'GBP', 'CAD', 'JPY', 'USD', 'AUD', 'CHF', 'CZK', 'DKK', 'HKD', 'HUF', 'NOK', 'NZD', 'PLN', 'SEK', 'SGD', 'THB', 'MXN', 'ILS', 'PHP', 'TWD', 'BRL', 'MYR', 'TRY'

> Note that HRK (Croatian Kuna) is ***not ***in that list.

i add GPD to Currency menu and Paypal Express Checkout Shortcut Button is making the same problem like Croatian Kuna check : <https://www.sonarscope.hr> i 
thanx for trying to help
21 Aug 2015, 6:44 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Paypal Your order summary is 0 empty, shopping in KR

GPD is also not in the list, so expect the same result... As to the message from the previous post, do you have sub-total actve in modules->order totals?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Aug 2015, 7:55 AM
#13
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

hello

Yes i have it on :

Order Total
This module is installed
true

i enable GBP United Kingdom Pound

check Paypal Express Checkout Shortcut Button with GPD here :

http://www.ukgbstamps.co.uk/index.php?main_page=product_info&cPath=3_13&products_id=5283

and on https://www.sonarscope.hr Paypal Express Checkout Shortcut Button with GPD is again without Descriptions and Amount

so any suggestion what to do ?

thanx

22 Aug 2015, 8:12 AM
#14
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

i enable also USD

and on https://www.sonarscope.hr Paypal Express Checkout Shortcut Button with USD is again without Descriptions and Amount

so any suggestion what to do ?

also i can't find how to edit post where is edit buton on forum ?

thanx

24 Aug 2015, 12:34 PM
#15
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

update

i install fresh Zencart v1.5.4 on https://www.sonarscope.com/shop
for PAYPAL test
in Admin / location / Currency default is US Dollar

PayPal Express Checkout Shortcut Button
when You are paying in US Dollar is working

Description and amount are visible !

but if You select EUR is generating the same problem on PAYPAL
check attached photo :

24 Aug 2015, 12:52 PM
#16
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

and from LOG paypalwpp_Paypal_Action

Aug-24-2015 14:41:01 (1440420061)
getLineItemDetails 1
Not using default currency. Thus, no line-item details can be submitted.

Aug-24-2015 14:41:01 (1440420061)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical

NOTE: $this->showPaymentPage = 0
Customer ID: 0
Session Data: Array
(
[securityToken] => 57a879498b25589ad512960f40d3dbe4
[customers_host_address] => 92-242-240-186.metro.net.mtnet.hr
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[1] => Array
(
[qty] => 2
)

            )

        [total] => 2
        [weight] => 0
        [cartID] => 97299
        [content_type] => physical
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
        [download_count] => 0
        [total_before_discounts] => 2
        [display_debug_messages] => 
        [flag_duplicate_msgs_set] => 
    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => EUR
[today_is] => 2015-08-24
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 92.242.240.186
[messageToStack] => 
[new_products_id_in_cart] => 
[valid_to_checkout] => 1
[cart_errors] => 
[payment] => paypalwpp
[cot_gv] => 0
[jscript_enabled] => 1

)

=================================

Aug-24-2015 14:41:01 (1440420061)
ec-step1-addr_check
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details

Aug-24-2015 14:41:01 (1440420061)
getOverrideAddress - 4
not logged in and not in markflow mode - nothing to override

Aug-24-2015 14:41:01 (1440420061)
ec-step1-addr_check3
address details from override check: <NONE FOUND>

Aug-24-2015 14:41:01 (1440420061)
ec_step1 - 2 -submit
Array
(
[CURRENCYCODE] => EUR
[LOCALECODE] => US
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] =>
[BRANDNAME] => sonarscope com shop
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Sole
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[AMT] => 1.48
[RETURNURL] => http://www.sonarscope.com/shop/ipn_main_handler.php?type=ec
[CANCELURL] => http://www.sonarscope.com/shop/index.php?main_page=shopping_cart&ec_cancel=1
)

=================================

24 Aug 2015, 4:48 PM
#17
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: Paypal Your order summary is 0 empty, shopping in KR

SonarScope:

and from LOG paypalwpp_Paypal_Action

Aug-24-2015 14:41:01 (1440420061)
getLineItemDetails 1
**Not using default currency. **Thus, no line-item details can be submitted.

=================================

Voila!

And Velkam tu kroejša!

You probably configured your PayPal account to EUR as default currency. If you're submitting items using any other currency rather than your PayPal default currency, details are not shown.

You could optionally add a message on your shopping_cart page saying something like "if you want to use PayPal, please click here to switch currency to EUR" and hide the express checkout button. Of course, based on session parameters, display the express checkout button if currency is set to EUR. A similar, but not THAT simple solution would go to the checkout_payment page as well.
Just keep in mind currency difference might cause you some headaches - you'll either be losing money on conversion or will be charging more than actual value. At the moment, you seem to have it set to 7.6 ratio, which is close enough (7.55 today), but we both know it fluctuates daily...
I'm not sure how you're withdrawing, but also keep in mind that PayPal will use their own exchange rates if you're withdrawing to your local bank account in HRK...

[Attachment no longer available]

My site - Pro ZC Help
My portfolio | My plugins

25 Aug 2015, 8:34 AM
#18
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

hi BaliHR,

Voila !

thanx for suggestion

Yes I configure PayPal account to EUR as default currency in https://www.sonarscope.hr

i know i will lost some money on withdrawing and conversion but my customers are musicians and there are usually lazy to go throw all registration so Paypal shortcut is like made for them :-)

please check :

http://sonusart.hr/product.aspx?c=82&p=48

webshop Sonusart are displaying Croatian currency and with express checkout button shortcat all is working like expected.

i am shore is way to do that in Zencart

is like just get unsuportet currency and convert them to PAYPAL supported currancy before comunication with PayPal gateway
so Zencart will send on checkout all products to PAYPAL in Euros.

any way to do that ?
thanx best emil

25 Aug 2015, 10:10 AM
#19
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,808
Plugin Contributions:
22

Re: Paypal Your order summary is 0 empty, shopping in KR

Hm...

That site is an example that I can be done, that's for sure. And it REALLY got me thinking...

Here's something that I have just tested and it seems to be working, but be EXTRA careful because I don't know if it would cause any other issues (not very likely, but still).

Edit your domain/store_root/ipn_main_handler.php and go to line 52.

Insert this piece of code:

if($_SESSION['currency'] != 'EUR') {
	   $_SESSION['currency'] = 'EUR';
  }

The code will now look something like this:

if (isset($_SESSION['cart']->cartID)) {
    if (isset($_SESSION['cartID'])) {  // This will only be set if customer has been to the checkout_shipping page. Will *not* be set if starting via EC Shortcut button, so don't want to redirect in that case.
      if ($_SESSION['cart']->cartID != $_SESSION['cartID']) {
        if (isset($_SESSION['shipping'])) {
          unset($_SESSION['shipping']);
          $messageStack->add_session('checkout_shipping', TEXT_RESELECT_SHIPPING, 'error');
          zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
        }
      }
    }
//  } else {
//    zen_redirect(zen_href_link(FILENAME_TIME_OUT));
  }
  
  if($_SESSION['currency'] != 'EUR') {
	   $_SESSION['currency'] = 'EUR';
  }

  require(DIR_WS_CLASSES . 'payment.php');
  // See if we were sent a request to clear the session for PayPal.
  if (isset($_GET['clearSess']) || isset($_GET['amp;clearSess']) || isset($_GET['ec_cancel']) || isset($_GET['amp;ec_cancel'])) {
    // Unset the PayPal EC information.
    unset($_SESSION['paypal_ec_temp']);
    unset($_SESSION['paypal_ec_token']);
    unset($_SESSION['paypal_ec_payer_id']);
    unset($_SESSION['paypal_ec_payer_info']);
  }

This forces using EUR for PayPal checkout, but it does not affect other processes. Downside is - currency will be set to EUR when customer returns to the site (cancel or finish checkout).

USE THE CODE ABOVE AT YOUR OWN RISK. I would love for DrByte to step in and share his thoughts on the idea and if he can foresee any issues with it.

My site - Pro ZC Help
My portfolio | My plugins

25 Aug 2015, 11:46 AM
#20
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Paypal Your order summary is 0 empty, shopping in KR

balihr:

Hm...

That site is an example that I can be done, that's for sure. And it REALLY got me thinking...

Here's something that I have just tested and it seems to be working, but be EXTRA careful because I don't know if it would cause any other issues (not very likely, but still).

Edit your domain/store_root/ipn_main_handler.php and go to line 52.

Insert this piece of code:

if($_SESSION['currency'] != 'EUR') {
$_SESSION['currency'] = 'EUR';
}

> The code will now look something like this:
> ```
if (isset($_SESSION['cart']->cartID)) {
    if (isset($_SESSION['cartID'])) {  // This will only be set if customer has been to the checkout_shipping page. Will *not* be set if starting via EC Shortcut button, so don't want to redirect in that case.
      if ($_SESSION['cart']->cartID != $_SESSION['cartID']) {
        if (isset($_SESSION['shipping'])) {
          unset($_SESSION['shipping']);
          $messageStack->add_session('checkout_shipping', TEXT_RESELECT_SHIPPING, 'error');
          zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
        }
      }
    }
//  } else {
//    zen_redirect(zen_href_link(FILENAME_TIME_OUT));
  }
  
  if($_SESSION['currency'] != 'EUR') {
	   $_SESSION['currency'] = 'EUR';
  }

  require(DIR_WS_CLASSES . 'payment.php');
  // See if we were sent a request to clear the session for PayPal.
  if (isset($_GET['clearSess']) || isset($_GET['amp;clearSess']) || isset($_GET['ec_cancel']) || isset($_GET['amp;ec_cancel'])) {
    // Unset the PayPal EC information.
    unset($_SESSION['paypal_ec_temp']);
    unset($_SESSION['paypal_ec_token']);
    unset($_SESSION['paypal_ec_payer_id']);
    unset($_SESSION['paypal_ec_payer_info']);
  }

This forces using EUR for PayPal checkout, but it does not affect other processes. Downside is - currency will be set to EUR when customer returns to the site (cancel or finish checkout).

USE THE CODE ABOVE AT YOUR OWN RISK. I would love for DrByte to step in and share his thoughts on the idea and if he can foresee any issues with it.

i already apply this change to Force display Croatian Kuna currency than default?:

// If no currency is set, use appropriate default
if (!isset($_SESSION['currency']) && !isset($_GET['currency']) ) $_SESSION['currency'] = 'HRK';

https://www.zen-cart.com/showthread.php?188744-Force-display-of-other-currency-than-default&p=1290345#post1290345

so with You sugested code Croatian Kuna is going to stay visible ?

thanx
hvala
emil