Hi Zipurman,
My default UPS Currency Code is not USD. When I add your module, it shows the price from my account but with USD currency which is not correct.
Is there anyway to solve my issue?
UPS Shipping Module
My UPS Currency Code is not USD - UPS Shipping Module
-
- Posts: 19
- Joined: Tue Mar 09, 2021 3:16 pm
- Contact:
Re: My UPS Currency Code is not USD
I know that the USD vs CAD is handled within the account on UPS's side. Is there a currency option in your UPS settings for your account? If not, we'd have to code something into the includes/modules/shipping/zipusps.php to convert the prices to your currency from which ever currency is being returned from your UPS account. The conversion would have to be done on this line: 'price' => $estimate['Postage'],
If you have multiple currencies within your store, then the others would convert the above adjusted values to whatever currency is selected.
If you have multiple currencies within your store, then the others would convert the above adjusted values to whatever currency is selected.
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact:
Re: My UPS Currency Code is not USD
Unfortunately, there is no currency setting in my account.
-
- Posts: 19
- Joined: Tue Mar 09, 2021 3:16 pm
- Contact:
Re: My UPS Currency Code is not USD
Based on their API DOCS:
In what monetary denominations are the rates returned by the Rating API?
For published rates the currency returned is based on the country of origin. For negotiated rates the currency returned is based on the country of the account number. For example, when rating a shipment from the United States to Canada with a Canadian
account number, the published rate will be in USD but the negotiated rates will be returned in Canadian dollars (CAD).
Negotiated rates are available in the PRO version: https://phoenixaddons.com/product/phoen ... ng-module/
If you are shipping from the same country as your default currency, then the non-pro version of the addon should work.
In what monetary denominations are the rates returned by the Rating API?
For published rates the currency returned is based on the country of origin. For negotiated rates the currency returned is based on the country of the account number. For example, when rating a shipment from the United States to Canada with a Canadian
account number, the published rate will be in USD but the negotiated rates will be returned in Canadian dollars (CAD).
Negotiated rates are available in the PRO version: https://phoenixaddons.com/product/phoen ... ng-module/
If you are shipping from the same country as your default currency, then the non-pro version of the addon should work.
zipurman
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
aka Preston Lord
-----------
Happy to help where I can
https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
- zipurman
- PhoenixCart Developer
- Posts: 470
- Joined: Tue Oct 13, 2020 5:20 pm
- : Buy Me A Beverage
- Contact: