Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
SimplePress plugin conflict with Samcart
Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Mar 19, 2019 - 5:54 pm

Hi guys, Pete here.

We're setting up new checkout pages with Samcart and we've identified a conflict between the SimplePress plugin and Samcart's Wishlist Member integration (A function that adds purchaser from the checkout page to WLM level on website).

Do you guys know of any forum settings that could cause a conflict like that?

Any suggestions for getting something like that figured out?

Any insight would be appreciated.

Thanks.

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Mar 19, 2019 - 6:01 pm

Hi Pete - how are you?

Can you clarify the nature of the conflict?  How is it presenting?  (Error messages?  Functions not working?)  The more details the better chance the community might be able to point you in a useful direction. Screen shots, (or videos) can be enormously useful in illustrating the issue.

Also, version numbers would help (php, wp and sp versions)

(Having said that, we at Simple:Press don't really have any in-house experience with SamCart )

Thanks.

Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Mar 19, 2019 - 6:47 pm

We're doing great... and will be even better when we get this conflict figured out. 🙂

The checkout tests are processing, but the new customer information is not making its way to the WLM database on the site.

And we get an error on the samcart integration logs that looks like: "Wishlist API Authentication Failed. Caused by: unserialize(): Error at offset 0 of 40045 bytes"

If we disable the SP plugin, it works fine. Activate the plugin and it no longer works and we get the error.

The site is running: WordPress 5.1.1 | PHP 5.6.40 | Apache/2.4.38 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 | MySQL 5.6.43

Any thoughts?

Thanks.

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Mar 19, 2019 - 8:51 pm

So just to clarify, the only three things active are:

  • Simple:Press
  • Wishlist Member
  • The Sam Cart plugin

For Simple:Press are any of the Simple:Press plugins active?  Also, SP 5.x or 6.x?

Is the new customer being added to the WordPress database ok?  What happens if you try to submit an order for an existing customer - does that work without error?

Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Mar 21, 2019 - 6:01 pm

We've got SimplePress 5.7.5.3 installed.

Just ran a few more tests to double check everything. Here are the results.

Test 1 - Set up - All Wordpress plugins and SimplePress plugins deactivated.

A - SimplePress plugin activated > Does not work properly. Customer's data does not transfer to WP or Wishlist databases and we get an error in the Samcart integration log (Wishlist API Authentication Failed. Caused by: unserialize(): Error at offset 0 of 21778 bytes)

B - SimplePress plugin deactivated > Works properly. Customers data transfers to both WP and Wishlist databases.

Test 2 - All WP plugins activated and SimplePress plugin deactivated > Works properly.

Test 3 - Same set up as Test 2 and ran an order through for a current customer > Works properly.

Is there a SimplePress setting that could be causing the conflict?

Thanks,
Pete

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Mar 22, 2019 - 4:53 am

Hi:

Unfortunately I can't think of any option that we have that would be causing a conflict. I suspect that because both plugins are using the WordPress hooks to handle the user creation, they both might be trying to do something to the user that is conflicting and so the user isn't being created. That's the best guess I have. I am not sure that is at all useful for you though and I'm sorry about that.

We can dig into this more if you like via a custom project - under that scenario we can set up the environment you've got on our servers and debug there.  If you want to go down this road just respond here or drop us a note via our contact or or send us a PM and we'll go from there.

Thanks.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625