opencredit / badgeos

BadgeOS is a plugin to WordPress that allows you to easily create badges and set up the steps and achievements users take to earn them. Badges are Mozilla OBI compatible and sharable via Credly.
http://www.badgeos.org
GNU Affero General Public License v3.0
92 stars 65 forks source link

Conflict: Community Add-On / WooCommerce Integration #783

Open delaner opened 3 years ago

delaner commented 3 years ago

This is simply a bug report, but I’m happy to pay for support if it will help resolve the issue.

I feel the devs should be made aware of conflict between the BadgeOS Community Add-On and BadgeOS WooCommerce Integration.

I have badges set up on my site to award for joining certain BuddyPress groups and for purchasing certain memberships. I award badges for joining groups through BadgeOS Community Add-On. I award badges for membership purchase through BadgeOS WooCommerce Integration.

First, I found that when I logged into my site under a test user account, and added that user to a BuddyPress Group, no badges were awarding despite log entries showing that the user had joined the specific group.

I then disabled all plugins on my site for testing, then re-enabled BadgeOS, BuddyPress, bbPress, and WooCommerce. I then enabled BadgeOS Community Add-On.

I logged into my site under the same test account. I used that test account to join a group. I found multiple triggers activated in the log – the user was added to many groups, some more than once. Badges were awarded.

I then re-enabled the BadgeOS WooCommerce Integration, and found that again, log entries were generated, but no badges were awarded to that user.

It seems clear that there is a conflict between BadgeOS Community Add-On and BadgeOS WooCommerce Integration.

I confirmed this through testing by then re-enabling all other plugins on my site, disabling Community Add-On, then re-enabling it, then disabling WooCommerce Integration and enabling Community Add-On.

Furthermore, I found that while BadgeOS Community Add-On was enabled, membership purchases (through WooCommerce Integration) did not award badges. When I disabled BadgeOS Community Add-On, WooCommerce Integration awarded badges as expected.

Thank you for your attention!

Please tell me how I can help and how I should proceed. If I’ve missed a step in testing, or if you would like access to my site to test yourself, of course you’re welcome to join in.

The page I need help with: http://cct.interfanatic.com

Description

Steps to Reproduce

1. 2. 3.

Actual result:

Expected result:

Product Versions

Additional Information

N/A