Rank: Member
Joined: 3/2/2009(UTC) Posts: 4
|
I am trying to get PayPal to work. I have traced thru the code and found that when a call is made to the ProfileFactory in the paypal dll, a profile is supposed to be created and returned. But instead, I get an exception that says that the initializer code thru an exception. Since there is no source code for the pay pal dll, I cannot step thru this code and see what the problem might be.
Does anyone know what would stop a paypal profile from being created?
Thanks!
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The code you're referring to is inside a DLL distributed by PayPal so we have no way of debugging it. Which version of BV Commerce do you have with which service pack?
|
|
|
|
Rank: Member
Joined: 3/2/2009(UTC) Posts: 4
|
I am using BV Commerce 5.3.2.20. I don't believe any service pack was installed, unless it came that way when we bought it.
I understand it is a dll provided by PayPal, but I was hoping that you might have run across this same issue and discovered its cause. Since it is a dll provided by a third party, and others are using it, it must be some kind of configuration issue, but I have no way to knowing what it might be. The method takes no parameters, so it cannot be an issue of passing in bad data.
I have Google Checkout working fine, but my customer needs to get PayPal working because there will be Canadian customers as well.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The 5.4 service pack and subsequent hot fixes did make some adjustment to PayPal so I would recommend that you upgrade to the latest service pack and hot fixes.
|
|
|
|
Rank: Member
Joined: 3/2/2009(UTC) Posts: 4
|
I have done extensive modification to BV Commerce since I started with it early last year. My customer required many specific capabilites that did not exist in any e-commerce solution I could find. I choose BV Commerce because I could get the source code and make those modifications.
I am a bit reluctant to install a service pack as that would overwrite months of work. Could you give me some indication of which files or stored procedures changed in the service pack?
I have altered about 35 of the stored procedures, added many fields to several tables, changed the logic in the Core objects (InternalProduct, Category, etc) to read and write to these extra fields, and added several tables of my own. My customer needed the concept of products being "owned" by various persons, and a customer would only see those products that an owner would allow him to see, and prices can vary based both on owner and customer.
I also made changes to the CacheManager object to get the app to work on a web farm, where the asp.net cache was unavailible (they have "sticky sessions" there, so sessions are attached to web requests automatically, no problem there.)
What do you thing would be the likelihood that these changes would be overwritten by the service pack?
There is a possibility that I could install the service pack on a seperate instance of BV Commerce, see what the chances are, and copy them into my production instance of BV Commerce. I would need to have a comprehensive list of files/stored procedures changed to do that though.
I would appreciate your thoughts on this matter.
Bill
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Bill, You will need to use a tool to compare and merge your source code to the latest version from BV. Take a look at Beyond Compare and Araxis Merge. For database comparisons try SQL Compare. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 3/2/2009(UTC) Posts: 4
|
I finally figured it out!
I am running BV Commerce on a web farm, so I had to get off the ASP.Net cache (which is machine specific) and onto something else. (The web farm uses "sticky sessions" so sessions are handled by special web farm software).
I installed a third party cache product called Memcached, which works great. But Memcached uses log4net, as does the PayPal dll. Memcached was overwritting the log4net dll with a different version, which caused PayPal to fail. I put both log4net dlls into the GAC, removed them from the bin folder, and it all works now!
|
|
|
|
Rank: Member
Joined: 8/1/2007(UTC) Posts: 310
|
Thats great Bill. Glad that you figured it out. |
Thanks, Satya support @ bayquel.net Work: +1 803 883 3226 |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.