HomeHome Product Discus... Product Discus...SmithCartSmithCartcurrency problems with shopping cart when checking out with Paypalcurrency problems with shopping cart when checking out with Paypal
Previous
 
Next
New Post
12/14/2010 11:28 PM
 

Hello

We have installed the latest version of the shopping cart:

3.88.0

We are using the Currency for Switzerland which is CHF but when looking at the shopping cart the currency is sFr (on the customer’s view, in the admin view it is correct with CHF). Now while checking out with Paypal I get an error message from Paypal (see attachment).

thanks

Chris

 
New Post
12/15/2010 1:01 AM
 

I just tested this on my test cart and when I changed the currency symbol in the cart settings to "Switzerland Francs" in the buynow module settings it changed the currency symbol to "sFr" in the front end and back end of the cart. I did some googling and found there are 4 or 5 culture settings for currency in Switzerland the 2 that apply are:

"de-LI" German (Liechtenstein) displays currency symbol "CHF"

"fr-CH" Switzerland Francs displays currency symbol "sFr" - This is the one the cart was using

I added the German (Liechtenstein) currency option in the cart settings (settings.ascx) to display CHF. Here are a couple links that discuss currency symbols:

http://www.cambiaresearch.com/cambia3...

http://www.codeproject.com/KB/locale/...

In settings.ascx here are the 2 lines iI added to the currency dropdown:

<asp:ListItem Value="fr-CH" Text="Switzerland Francs- sFr" />
<asp:ListItem Value="de-LI" Text="German (Liechtenstein)- CHF" />

In the buynow module settings under the currency dropdown if you select "German (Liechtenstein)- CHF" you will get the CHF currency symbol you are looking for. The currency table in the link above listed CHF with "German (Liechtenstein)" let me know if thats not correct but as far as I can see Swiss Francs = sFr.

Regarding the paypal error the cart isnt coded to send the Swiss Francs currency code to paypal and it defaults to US is why paypal is displaying the error message. I will have programming fix this and post a hotfix to the cart downloads. Thanks for reporting the issues!


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/16/2010 1:36 AM
 

Thank you for your research and tests. Actually, the official currency symbol of Switzerland is “CHF”, at least for the German speaking part. So that the cart is working with PayPal, “de-CH” should display “CHF”.

I added <asp:ListItem Value="de-CH" Text="German (Switzerland)- CHF" /> (also tried it with “Liechtenstein” which is actually another country using same currency) to settings.ascx, but my product list still displays “sFr”. Do you have to adapt something that it is working or can we do that?

 
New Post
12/19/2010 11:21 PM
 

I need an answer and solution urgent!!!!

 
New Post
12/20/2010 1:43 AM
 

I just did the following on the www7.smith-consulting.com test portal and the currency changed to CHF:

1. Open up settings.ascx and add the following list item to the "ddlStoreCurrency" dropdown:

<asp:ListItem Value="de-LI" Text="Switzerland Francs (German)- CHF" />

2. In the buynow module settings selected "Switzerland Francs (German)- CHF" and saved.

3. Reset IIS - This is required becuase the currency symbol is stored in session and wont change to the newly selected currency setting until session expires or you reset iis.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/20/2010 2:21 AM
 

I am still getting the following Paypal screen:

This recipient either does not accept payments denominated in CH or has specified an invalid currency code on his web site. Please contact the seller and ask him either to update his payment receiving preferences to accept this currency or to correct his web site to specify a valid currency code.

As the url is a https, i dont see what is transmitted... There must be somewhere in your shopping cart still another currency.

How do fix this? I really need to use the shopping cart urgently.

 
New Post
12/20/2010 5:09 PM
 

CH is not one of the currency codes the cart sends to paypal I have forward this into programming to add it as a currency for paypal. I will postback with a hotfix when its ready.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/23/2010 2:40 AM
 

Hi Scott

When will the hotfix be ready?

I am loosing money .... :(

Thanks

Chris

 
New Post
12/23/2010 10:43 AM
 

I just posted a hotfix for this to the cart downloads page under 3.97 hotfixes.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/24/2010 1:16 AM
 

it still doesn't work, this is the Paypal error message which comes up:

The link, with which you called the PayPal system, contains an incorrectly formatted amount for the item.

I really need this to be fixed asap...

Thanks

 
New Post
12/24/2010 1:25 AM
 

The amount is passed as a decimal number like 25.50. We dont have a swiss paypal account so its difficult to test can you contact paypal tech support with your redirect url and see if they can tell us whats wrong with the amount and we will make the programming change to work with a swiss paypal account. Thanks


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/24/2010 2:59 AM
 

After upgrading to the latest version, we were able to change the language of the dotnetnuke to english and now it works! So Paypal is working allright.

But there are now two new problems:

First problem:

I have selected "Purchase order" as Payment Method Setup. Upon chekcout (step "Pay), the buyer needs to select either "Credit Card" or "Paypal", both of them have a radio button. Underneath those two is a select box with only "Purchase order" in it. Why is the "Credit Card" shown? I did not select it. What I need here is that the buyer can pay by invoice or by Paypal.

Second Problem:

I can replace the word "Credit card" with the word "Invoice" in the database (I did not do it so far) and then I would klick on "Next" and the "confirm" page comes up and I click on "Submit order" and on the next page (the main shopping cart page) comes this error message:

Invalid URI: The URI is empty.

What to do?

Thanks

 
New Post
12/24/2010 7:48 AM
 

Can you please post the error from the Admin|Event Viewer log?

Thanks.

 
New Post
12/24/2010 7:56 AM
 
24.12.2010 16:54:41 Page Load Exception frei AssemblyVersion: 5.4.2; PortalID: 1; PortalName< ...
AssemblyVersion: 5.4.2
PortalID: 1
PortalName: ESE Conference 2011
UserID: 5
UserName: frei
ActiveTabID: 91
ActiveTabName: Anmeldung & Preise
RawURL: /2011/AnmeldungPreise/tabid/91/ctl/Confirm/mid/561/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.eseconf.com/2011/AnmeldungPreise/tabid/91/ctl/Confirm/mid/561/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c0213136-5fe4-47d7-acab-5578a60c1552
InnerException: Invalid URI: The URI is empty.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Uri.CreateThis
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Invalid URI: The URI is empty. ---> System.UriFormatException: Invalid URI: The URI is empty. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Net.WebRequest.Create(String requestUriString) at Smith.DNN.Modules.BuyNow.Confirm.CallWebService() at Smith.DNN.Modules.BuyNow.Confirm.SendEmail(CustomerInfo customer, UserInfo objUserInfo) at Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus(PaymentStatusInfo status) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server-Name: SRV-WEB-57
 
New Post
12/24/2010 10:50 AM
 

This was my fault. I will request a hotfix to resolve this right away.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartcurrency problems with shopping cart when checking out with Paypalcurrency problems with shopping cart when checking out with Paypal