Business directory plugin payments & s2member level payments don't work together

Hi all,
I have the following case and I was wondering if others experienced a similar issue and how it was solved:

  1. I have a few different fee plans for a company to register in the database (through the Business Directory plugin (BD) ) on my website.
  2. I also have s2member installed which protects the database page >> website visitors have to pay for a day, semi-annually or annually to get access to the database with regis)tered companies.
  • s2member wants me to set a membership option page, where visitors automatically get directed to when they wanted to access the database but haven’t subscribed yet.
    Once subscribed for access, they will get upgraded to s2member level 1 and ‘Database’ appears in their top menu.

I wanted to manually upgrade the people to level 1 who register in the database themselves (and don’t just want to browse the database) and give database access complimentary.
But…

Issue:
Once I do a test registration as company, and I hit continue to payment, s2member doesn’t recognize that this is a separate way of subscribing (by another plugin), and doesn’t allow me to continue to the payment. What it does, is redirecting me to the membership options page, instead of the payment screen by BD.

s2member doesn’t recognize that the BD registration is separate from database access membership.

Has anyone experiences something similar? And how was it solved? Let me know!

It sounds like you have inadvertently protected access to the BD Registration page/payment screen. The URL that displays when you get redirected to the MOP should tell you what restriction is being applied. Just remove that restriction and you should be fine.

Well, that’s the thing.
I only protected two pages (the EN and NL version of the pages that include the shortcode of the database of BD)
As I can see in the redirected url after clicking ‘continue to payment’, it restricts page ID 1748, which is totally not a registration/ payment page. Though, when I disable everything and do can access to the payment screen, I found out that the plugin shows a link to the database once payment is completed. Is that link on the payment page messing with this?

xxxxxxxxx.com/ database-membership/?_s2member_vars=page…level…2…page…1748…L2RhdGFiYXNlLz93cGJkcF92aWV3PWNoZWNrb3V0JnBheW1lbnQ9YjRmZTM4YzAyMjcyNjMyYzFhODI1ODc5ZWI2NWRjYjcxOGVkNDdlYQ%3D%3D&_s2member_sig=1511811316-3a2d83988a2d5843b234afb5a49616db

It’s difficult to answer that when I don’t have access to your site’s admin. The problem is that I don’t know what the other plugin’s shortcode is doing.

You might try going to Restriction Options -> Alternative View Protection and unchecking the All option. If that works, try then checking all the other options below ALL and test again.

Thanks for the fast reply. I will try the option you gave me and let you know.
I also opened a topic on BD plugin’s website.

Unfortunately it didn’t work.

So yes, the BD plugin uses xxxxxxxxxx.com/database/?wpbdp_view=submit_listing&listing_id=3178 during the checkout process. This exists exactly the url (xxxxx.com/database) that is restricted be me :frowning:
Not something I would be able to change without help of the DB mod’s.
I continue with their help now :slight_smile: Thanks for the help here!

Good to hear you’re getting it solved. Thanks for letting me know!