CheckOut - Language group -1 not supported parameter name

Feb 15, 2010 at 9:35 AM

During the CheckOut operation I have 2 problem.

The order is saved well but

1) The emails address listed with ; in the merchant.email configuration doesen't receive the email.
2) In the event viewer I have this error:

ModuleId: 387
ModuleDefId: 108
FriendlyName: Carrello
ModuleControlSource: DesktopModules/NB_Store/CheckOut.ascx
AssemblyVersion: 5.2.1
PortalID: 0
PortalName: WebSite1
UserID: -1
UserName:
ActiveTabID: 60
ActiveTabName: CARRELLO
RawURL: /CARRELLO/tabid/60/stg/4/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3f532137-5a70-45c0-a3f6-54f9137e6ff8
InnerException: Nome di gruppo linguistico '-1' non supportato. Nome parametro: name
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.CultureTableRecord..ctor
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Nome di gruppo linguistico '-1' non supportato. Nome parametro: name ---> System.ArgumentException: Nome di gruppo linguistico '-1' non supportato. Nome parametro: name in System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride) in System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride) in System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) in System.Globalization.CultureInfo..ctor(String name) in NEvoWeb.Modules.NB_Store.TokenStoreReplace.GetTokenList(Object obj, String Lang) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\Components\General\TokenStoreReplace.vb:riga 191 in NEvoWeb.Modules.NB_Store.TokenStoreReplace.LoadStoreTokens(NB_Store_OrdersInfo objOrderInfo, String Lang) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\Components\General\TokenStoreReplace.vb:riga 132 in NEvoWeb.Modules.NB_Store.TokenStoreReplace..ctor(NB_Store_OrdersInfo objOrderInfo, String Lang) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\Components\General\TokenStoreReplace.vb:riga 60 in NEvoWeb.Modules.NB_Store.SharedFunctions.SendStoreEmail(Int32 Portalid, String ClientEmail, String SubjectText, NB_Store_OrdersInfo objOrderInfo, String EmailTemplateName, String Lang) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\Components\General\SharedFunctions.vb:riga 87 in NEvoWeb.Modules.NB_Store.SharedFunctions.SendEmailToClient(Int32 Portalid, String ClientEmail, String SubjectText, NB_Store_OrdersInfo objOrderInfo, String EmailTemplateName, String Lang) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\Components\General\SharedFunctions.vb:riga 64 in NEvoWeb.Modules.NB_Store.Gateway.GatewayPayPal.AutoResponse(Int32 PortalID, HttpRequest Request) in NEvoWeb.Modules.NB_Store.CheckOut.Page_Load(Object sender, EventArgs e) in C:\archivi_web\www.WebSite1.it\www\DesktopModules\NB_Store\CheckOut.ascx.vb:riga 119 --- Fine dell'analisi dello stack dell'eccezione interna ---
Source:
Server Name: 123-101321

can You help me to resolve this?
Rmartin

Feb 15, 2010 at 11:20 AM

Hi,

This looks like an issue with the langauge parameter not being set....I've just checked the email list with the cheque provider and everything seems OK, I'll assume the paypal one should be compatible with multiple addresses in the merchant.email setting.

Have a look at the "merchant.culture" and make sure it's set to the correct culture, "it-IT" I assume?

Regards,
Dave.

Feb 17, 2010 at 3:44 PM

Do you think is possible that Paypal  make this kind of error beacause there are multiple email defined in merchant.email?

Yes of course the merchant.coulture is it-IT - the default merchant.coulture and also the Italian merchant.coulture (dropdown)

Rmartin

Feb 17, 2010 at 6:49 PM

Hi,

I've looked at the code for the paypal gateway and the only thing I can see is that the language used in the return language from paypal....maybe this is just "it" instead of "it-IT".  I must say I've not had a problem with this so it could be a problem with the xml gateway settings or the reply from the Italian Paypal.

I not in the office next until next week so I can't look closer at the moment, but one thing you could do is to check the NB_store logs to see what was returned from paypal...look at the portal directory under DNN and you'll find the return audit logs there.

The one you need to look at is the "ipn.language" parameter.

Regards,

Dave.

Feb 18, 2010 at 8:15 AM

on the 17/02/10 I have redeived only one order, this is the log file of yesterday:

17/02/2010 22.19.56 -  - PayPal URL = https://www.paypal.com/xclick?business=info@mycompany.com&item_name=Mycompany&item_number=1049&quantity=1&custom=it-IT&amount=135.00&shipping=0.00&tax=0.00&currency_code=EUR&bn=NB_Store&return=http%3a//www.mycompany.it/CARRELLO/tabid/60/stg/5/ordID/1049/Default.aspx%3fPayPalExit%3dRETURN&cancel_return=http%3a//www.mycompany.it/CARRELLO/tabid/60/stg/5/ordID/1049/Default.aspx%3fPayPalExit%3dCANCEL&notify_url=http%3a//www.mycompany.it/CARRELLO/tabid/60/stg/4/Default.aspx&undefined_quantity=0&no_note=1&no_shipping=1
17/02/2010 22.23.50 -  - IPN = NEvoWeb.Modules.NB_Store.Gateway.PayPalIPNParameters

but i doesen't find your "ipn.language" parameter.

thanks
rmartin

Feb 18, 2010 at 4:50 PM

Yes, sorry I wrote the wrong param, it should be the ipn.custom param, which should be set to the same as what we sent, so in this case it looks like it-IT, so that should be OK.

I think the next step is to create a provider with some more debugging in it so we can sort out exactly what's happening.  I'm not in the office until next week, so I can do anything until then.  Mid next week bump this back up onto the disscussions so I don;t forget and I'll have a look to see what we can do.

Regards,

Dave.

 

Feb 27, 2010 at 3:01 PM

Hi Dave!
Have ou an idea about this problem?

thanks

rmartin

Mar 1, 2010 at 8:14 AM

Hi RMartin,

I've created a debug dll for paypal, you can download it from here: http://nbstore.codeplex.com/releases/view/28920

Simplay download the "NEvoweb.DNN.Modules.NB_Store.GatewayPayPal.dll" and copy it into the DNN/bin folder.  This should then give us a trace in the logfile of what the autoresponse if doing.

I've not tested this, but it obviously compiles OK, so I think it should work......give it a try and send me the results, hopefully we'll be able to understand what's going wrong the.

Regards,

Dave.

Mar 1, 2010 at 6:35 PM

Ok, tomorrow I'll try and I send you the information insert in the new log file!

thanks

Rmartin

Mar 1, 2010 at 7:00 PM

FOLLOWING THE RESULT OF THE LOG FILE ORDER

I have tried an really order with my credit card.

01/03/2010 11.54.21 -  - PayPal URL = https://www.paypal.com/xclick?business=WebSite1%40WebSite1.it&item_name=WebSite1&item_number=1057&quantity=1&custom=it-IT&amount=47.00&shipping=8.00&tax=0.00&currency_code=EUR&bn=NB_Store&return=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/5/ordID/1057/Default.aspx%3fPayPalExit%3dRETURN&cancel_return=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/5/ordID/1057/Default.aspx%3fPayPalExit%3dCANCEL&notify_url=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/4/Default.aspx&undefined_quantity=0&no_note=1&no_shipping=1
01/03/2010 11.56.05 -  - IPN = NEvoWeb.Modules.NB_Store.Gateway.PayPalIPNParameters
01/03/2010 19.42.51 - host - desktopmodules.nb.store.shiprates.ascx - updateRangeDG - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>2</ItemId><Range1>0.06</Range1><Range2>99.99</Range2><ObjectId>-1</ObjectId><ShipCost>8.00</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description>&amp;nbsp;</Description><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.42.51 - host - desktopmodules.nb.store.shiprates.ascx - updateRangeDG - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>7</ItemId><Range1>100.00</Range1><Range2>9999.00</Range2><ObjectId>-1</ObjectId><ShipCost>0.00</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description>&amp;nbsp;</Description><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.42.53 - host - desktopmodules.nb.store.shiprates.ascx - AddNewRecord - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>0</ItemId><Range1>0</Range1><Range2>0</Range2><ObjectId>-1</ObjectId><ShipCost>0</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description /><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.43.02 - host - desktopmodules.nb.store.shiprates.ascx - updateRangeDG - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>8</ItemId><Range1>0.01</Range1><Range2>0.05</Range2><ObjectId>-1</ObjectId><ShipCost>0.00</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description>&amp;nbsp;</Description><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.43.02 - host - desktopmodules.nb.store.shiprates.ascx - updateRangeDG - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>2</ItemId><Range1>0.06</Range1><Range2>99.99</Range2><ObjectId>-1</ObjectId><ShipCost>8.00</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description>&amp;nbsp;</Description><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.43.02 - host - desktopmodules.nb.store.shiprates.ascx - updateRangeDG - <NB_Store_ShippingRatesInfo><PortalID>0</PortalID><ItemId>7</ItemId><Range1>100.00</Range1><Range2>9999.00</Range2><ObjectId>-1</ObjectId><ShipCost>0.00</ShipCost><ShipType>PRC</ShipType><Disable>false</Disable><Description>&amp;nbsp;</Description><ProductWeight>0</ProductWeight><ProductHeight>0</ProductHeight><ProductLength>0</ProductLength><ProductWidth>0</ProductWidth><ShipMethodID>1</ShipMethodID></NB_Store_ShippingRatesInfo>
01/03/2010 19.46.51 -  - PayPal URL = https://www.paypal.com/xclick?business=WebSite1%40WebSite1.it&item_name=WebSite1&item_number=1058&custom=it-IT&amount=0.05&shipping=0.00&tax=0.00&currency_code=EUR&return=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/5/ordID/1058/Default.aspx%3fPayPalExit%3dRETURN&cancel_return=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/5/ordID/1058/Default.aspx%3fPayPalExit%3dCANCEL&notify_url=http%3a//www.WebSite1.it/CARRELLO/tabid/60/stg/4/Default.aspx&bn=NB_Store&quantity=1&undefined_quantity=0&no_note=1&no_shipping=1
01/03/2010 19.52.24 -  - ---- AUTORESPONSE START ----
01/03/2010 19.52.24 -  - IPN = <PayPalIPNParameters><PostString>cmd=_notify-validate&amp;transaction_subject=it-IT&amp;payment_date=10%3a52%3a00+Mar+01%2c+2010+PST&amp;txn_type=web_accept&amp;last_name=LastName&amp;residence_country=IT&amp;item_name=WebSite1&amp;payment_gross=&amp;mc_currency=EUR&amp;business=WebSite1%40WebSite1.it&amp;payment_type=instant&amp;protection_eligibility=Ineligible&amp;verify_sign=A8RQ0F8gkUzMctcqZ4r9aZzwD7JUAD66irOtFc6vRYYlG-FufN3N5ilI&amp;payer_status=verified&amp;tax=0.00&amp;payer_email=mail%40domain.it&amp;txn_id=1B4857998C400290V&amp;quantity=1&amp;receiver_email=WebSite1%40WebSite1.it&amp;first_name=Myname&amp;payer_id=9PZFLCQJFVTKQ&amp;receiver_id=2CGYG2FW82FS8&amp;item_number=1058&amp;handling_amount=0.00&amp;payment_status=Completed&amp;payment_fee=&amp;mc_fee=0.05&amp;shipping=0.00&amp;mc_gross=0.05&amp;custom=it-IT&amp;charset=windows-1252&amp;notify_version=2.9</PostString><payment_status>Completed</payment_status><txn_id /><receiver_email /><email /><custom>it-IT</custom><item_number>1058</item_number><mc_gross>-1</mc_gross><shipping>-1</shipping><tax>-1</tax></PayPalIPNParameters>
01/03/2010 19.52.25 -  - Order = <NB_Store_OrdersInfo><OrderID>1058</OrderID><UserID>9</UserID><PortalID>0</PortalID><OrderNumber>00-00009-01058-20100301</OrderNumber><OrderDate>2010-03-01T19:46:41.627</OrderDate><ShipDate>2010-03-01T00:00:00</ShipDate><ShippingAddressID>58</ShippingAddressID><BillingAddressID>58</BillingAddressID><AppliedTax>0.0000</AppliedTax><ShippingCost>0.0000</ShippingCost><OrderIsPlaced>true</OrderIsPlaced><OrderStatusID>45</OrderStatusID><PayType /><CalculatedTax>0.0000</CalculatedTax><NoteMsg>QUESTO E' UN TEST QUESTO E' UN TEST - QUESTO E' UN TEST</NoteMsg><VATNumber /><Discount>0.0000</Discount><PromoCode /><Total>0.0500</Total><Email /><BankAuthCode /><ShipMethodID>1</ShipMethodID><TrackingCode /></NB_Store_OrdersInfo>
01/03/2010 19.52.25 -  - ---- AUTORESPONSE END ----

rmartin

 

 

Mar 2, 2010 at 8:07 AM

HI,

This looks like your AutoResponse is being triggered after your return to store...which is a bit odd!!  Have you got some kind of auto returen setup in paypal or can you think of some reason for the autoresponse to be delayed??

Regards,

Dave.

Mar 3, 2010 at 7:27 PM

Hi Dave

excuse me but I haven't understand your reply?
what about AutoResponse?
On paypal I have never set on autoresponse or some thing like this.... Sincerally I haven't understand what you mean about AutoResponse....

rmartin

Mar 3, 2010 at 9:25 PM

Hi,

By AutoResponse I mean the paypal IPN.....this should be set to the same as the <ReturnNotifyURL>

The <ReturnURL> in the settings should be the return after the payment has been made by the customer.  It seems that the <ReturnURL> is being triggered before the <ReturnNotifyURL>.

It could be that these two url are setup the wrong way around, or the paypal IPN is returning to the <ReturnURL> instead of the <ReturnNotifyURL>.

Check the settings against the documentation "NB Store - Configure PayPal Website Payments - 1.0.pdf", you can find this here  - http://nbstore.codeplex.com/releases/view/34143

Regards,

Dave