Hi,
When the french culture is used on the dnn website (both french language packs are installed for the entire site & the Smith module), the URL sent to PayPal (standard) formats the amount according to the french culture (ie the decimal separator is a comma) that causes the following error message to be displayed once arrived on the PayPal website (actually using the PayPal sandbox for testing purpose - do not known if a similar problem exists on the real PayPal site) :
Le lien que vous avez utilisé pour accéder au système PayPal contient un montant d'objet incorrectement formaté. (The link you have used to enter the PayPal system contains an incorrectly formatted item amount.)
The URL used to access PayPal service (logged in the event viewer indicates "amount=538,20" (comma decimal separator)). If I set the my website culture to en-US, the URL shows "amount=538.20" (dot decimal separator) and the payment can be done (no error on the PayPal website).
Can you please fix the error ?
All french language file (that were downloaded from your website) suffixes must be renamed from ".fr.resx" to ".fr-fr.resx" in order the smith cart modules to be french localized. I don't know if this problem comes from the main website language pack (downloaded from www.dotnetnuke.fr) or if the language files must be fully qualified to be considered (I know that in dotNet, if the fr-fr does not exist, the .fr resource file is automatically taken - and that is not the case here).
EDIT : from this post, I discovered that this was a known bug that was fixed in version 4.64 available since 10/15/11 (so it is a regression bug):
"Also, we have fixed the following Paypal Standard bugs that you will be interested in:
-
Amount field - There was an issue with amount formatting for PayPal Standard payment request. It has to always use point decimal separator no matter the currency. The bug only applies if you have configured your store for a currency that doesnt use decimal places (i.e. EURO uses commma as decimal seperator)."