{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/101","labels_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/101/comments","events_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/101/events","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/101","id":79429528,"number":101,"title":"Cannot load PayPal section from web.config","user":{"login":"pageroller","id":2825078,"avatar_url":"https://avatars.githubusercontent.com/u/2825078?v=3","gravatar_id":"","url":"https://api.github.com/users/pageroller","html_url":"https://github.com/pageroller","followers_url":"https://api.github.com/users/pageroller/followers","following_url":"https://api.github.com/users/pageroller/following{/other_user}","gists_url":"https://api.github.com/users/pageroller/gists{/gist_id}","starred_url":"https://api.github.com/users/pageroller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pageroller/subscriptions","organizations_url":"https://api.github.com/users/pageroller/orgs","repos_url":"https://api.github.com/users/pageroller/repos","events_url":"https://api.github.com/users/pageroller/events{/privacy}","received_events_url":"https://api.github.com/users/pageroller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/labels/sdk-bug","name":"sdk-bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-05-22T12:03:15Z","updated_at":"2015-05-28T15:39:09Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to set up PayPal in a new MVC5 web application.\r\n\r\nYour documentation doesn't state that you need to add in the `<accounts />` element from the `<paypal />` section (only `<settings />`) so I had to dig through the code to add it in.\r\n\r\nSample code should look like this:\r\n\r\n````xml\r\n\t<configSections>\r\n\t\t<section name=\"paypal\" type=\"PayPal.SDKConfigHandler, PayPal\" />\r\n\t</configSections>\r\n\t<paypal>\r\n\t\t<settings>\r\n\t\t\t<add name=\"mode\" value=\"sandbox\" />\r\n\t\t\t<add name=\"clientId\" value=\"\" />\r\n\t\t\t<add name=\"clientSecret\" value=\"\" />\r\n\t\t</settings>\r\n\t\t<accounts>\r\n\t\t\t<account apiUsername=\"\" apiPassword=\"\" apiSignature=\"\" />\r\n\t\t</accounts>\r\n\t</paypal>\r\n````\r\n\r\nWhen `<accounts />` isn't there it throws this error:\r\n\r\n````\r\nUnable to load 'paypal' section from *.config: Required attribute 'accounts' not found.\r\n````\r\n\r\nI'm now getting this really strange error when attempting to call ConfigManager.Instance.GetProperties(); The error message is: \r\n````\r\nUnable to load 'paypal' section from *.config: An error occurred creating the configuration section handler for paypal: [C:\\Users\\Peter\\AppData\\Local\\Temp\\Temporary ASP.NET Files\\vs\\324c5a82\\84589666\\assembly\\dl3\\c1001f82\\1f0b2ff7_8494d001\\PayPal.dll] Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations. \r\n````\r\n\r\nStack trace:\r\n\r\n````\r\n[ConfigException: Unable to load 'paypal' section from *.config: An error occurred creating the configuration section handler for paypal: [C:\\Users\\Peter\\AppData\\Local\\Temp\\Temporary ASP.NET Files\\vs\\324c5a82\\84589666\\assembly\\dl3\\c1001f82\\1f0b2ff7_8494d001\\PayPal.dll] Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations. (C:\\Users\\Peter\\Source\\Workspaces\\ROA101.01 - American Sniper\\VR.WebApp\\web.config line 10)]\r\n   PayPal.Api.ConfigManager..ctor() +149\r\n   PayPal.Api.ConfigManager.get_Instance() +92\r\n   VR.WebApp.Providers.PayPalProvider.Create(Decimal dollarAmount, String returnUrl) i\r\n````\r\n\r\nDo you have any idea on what is going on?"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/comments/106421509","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/101#issuecomment-106421509","issue_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/101","id":106421509,"user":{"login":"kenney777","id":12645966,"avatar_url":"https://avatars.githubusercontent.com/u/12645966?v=3","gravatar_id":"","url":"https://api.github.com/users/kenney777","html_url":"https://github.com/kenney777","followers_url":"https://api.github.com/users/kenney777/followers","following_url":"https://api.github.com/users/kenney777/following{/other_user}","gists_url":"https://api.github.com/users/kenney777/gists{/gist_id}","starred_url":"https://api.github.com/users/kenney777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenney777/subscriptions","organizations_url":"https://api.github.com/users/kenney777/orgs","repos_url":"https://api.github.com/users/kenney777/repos","events_url":"https://api.github.com/users/kenney777/events{/privacy}","received_events_url":"https://api.github.com/users/kenney777/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T15:39:08Z","updated_at":"2015-05-28T15:39:08Z","body":"@pageroller do you have .net framework 4.6 RC installed? if you check the registry @ HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full and if the \"release\"  key has a value of 393273 then you probably installed VS 2015. After removing the 4.6 RC from my system and reinstalling 4.5.1 it fixed the issue for me with the 1.4.3 nuget package."}}