Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 02:52 AM |
|
Hello all,
I'm close to have completed the integration with FedEx but have come across an issue. I integrated .netShip successfully, got my meter number and tested using the FedEx.aspx. Nice! Works great and returns shipping rates. When I try it with Catalook I get this error.
Currency code for Intra CA request must be CAD(58721)
I've spoken at length with bothh FedEx and .netShip and both say the same thing .. I'm not passing CAD as the currency code.
Now, in my store settings ... I have CAD chosen as my store currency. I've also gone as far as adding Engligh (CAN) as the default language. Still no good.
I know everything else is good 'cause the test work great! How can I tell Catalook to use CAD as teh currency code. I've even gone into the detNetShip Provider code to see where I could force it .. no luck.
Please help! |
|
|
| Tags: fedex |
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 03:32 AM |
|
I found this reference on page 282
CurrencyFormat: This property accepts a local and will control how the rendered return amounts are displayed. The default is set for US currencies. For Canada you have to set this property for the appropriate local. The currency will be formatted with the correct symbol, spacing delimiter etc. The default is "en-US" CurrencyFormat = "en-CA" CurrencyFormat = "en-GB"
But I don't know where to SET it.
I updated the dotnetship and made the constructor CurrencyFormat = "en-CA", but no luck. I'm guessing that's not the right place.
Any hints? |
|
|
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 03:58 AM |
|
So, every possible setting is en-CA. I confirmed the store setting currency is CAD. I'm at a lose. Its clear that catalook is somehow not passing CAD as a parameter to FedEx.
|
|
|
|
|
Nina Meiers I am the boss today!
 Veteran Member Posts:395

 |
| 04 Dec 2009 04:10 AM |
|
It seems there is an issue with the words - have you tried to change to CAD eg.. en-CAD instead of CA? is that possible? And have you checked the default currency in the store settings is CA and have you also checked the administrator of the store has CA set for default? I'm only guessing here Nina |
|
| Give me a place to stand and a lever long enough... and I will change the world. |
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 04:19 AM |
|
Hi Nina, Sorry .. I've change ALL locale related settings to 'en-CA' and ensured the store currency was CAD. Somehow, CATALOOK is not passing the right currency code of CAD. en-CAD is not a valid language code, so no. The only reason i change locale's from en-US to en-CA was to ensure that the DNN wasn't incorrectly specifying USD as the currency. It had no affect. Can I presume that setting the STORE currency to CAD is sufficient? The worst part is the .netSHIP examples works flawlessy using the FedEx.aspx example.
|
|
|
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 04:23 AM |
|
Question: If I choose CAD in the [Store Settings] what do I put in price .. anything? $0.00 |
|
|
|
|
Nina Meiers I am the boss today!
 Veteran Member Posts:395

 |
| 04 Dec 2009 04:31 AM |
|
I have to go out for a couple of hours now to see a client so i can't reply any more for a while but did you set the store currency be CAD look for this code - Currency on receipts, for payment gateway requests and for the base price of the online currency calculator select / add It has CAD next to it.. Nina |
|
| Give me a place to stand and a lever long enough... and I will change the world. |
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 04:34 AM |
|
Ya, did that. On a bright nte, .netCharge and Moneris integration works. If I can get this real-time FedEx integration to work, this project is DONE! Any assistance would be appreciated. I'd even pay at this point. |
|
|
|
|
evgamon
 New Member Posts:8

 |
| 04 Dec 2009 02:12 PM |
|
Might be a long shot but did you set in web.config |
|
|
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Dec 2009 07:33 PM |
|
So, here's the latest. FedEx is GREEN to go and has no problem with this deployment. .netSHIP originally said that don't support FedEx with shipping orgins from Canada, but now recognize that since the EXAMPLE works, then there's no reason for the Catalook NOT to work. So, Catalook now is looking into it (I think and hope). There must be a bug with the store. |
|
|
|
|
Nina Meiers I am the boss today!
 Veteran Member Posts:395

 |
| 05 Dec 2009 12:56 AM |
|
That's positive news - I was also thinking if you had set the whole site to be Canadian and not US with all the language packs installed. If you don't have all the language packs installed it falls back to US. That was the last thought I had for the day. |
|
| Give me a place to stand and a lever long enough... and I will change the world. |
|
|
Darren Hill
 Basic Member Posts:34

 |
| 15 Dec 2009 07:35 PM |
Accepted Answer
|
So here's the skinny. .netSHIP does NOT support stores where the shipping Origin is Canadian. However, the examples work ...
It was found that the InsuredValue was causly the problem with Store integration. When set to zero, it worked fine.
.netSHIP however says there could be some unexpected results. They declined to respond to how long before they implement CAD Orgins. |
|
|
|
|
Darren Hill
 Basic Member Posts:34

 |
| 04 Mar 2010 04:02 PM |
|
A quick upate ... integration went fine, but its not returning the proper values. Argh! |
|
|
|
|