Hi S2Member Devs,
First some details of my configuration:
- PHP: 5.3.27
- WP: 3.9
- S2Member: 140409
- S2Member Pro: 140409
- BuddyPress: 2.0
- QuickCache: 140104
- Wordfence: 5.0.4 (w/ caching disabled)
- Other Misc Plugins
- Open Registrations Disabled
- Using WP S2Member shortcode to generate encrypted buttons
Problem: I have been using Paypal Buttons with my free Paypal Business Account to process payments. Everything was working fine (I thought) until I received an email this morning tipping me off to a bug that is a little concerning -- s2member is not applying the capabilities that were purchased.
I replicated the problem this evening. Buttons that were generated take me to Paypal, and include all the elements that they should for what is being purchased. Paypal email that is sent to me as the site owner also includes this information (User Level, CCAPs, & Description).
Using the links that are generated, I return to my site and am able to set up my new user account. All the logs that are generated seem to indicate that S2Member is receiving the information correctly back from Paypal -- though I'm not sure which log specifically I should be zeroing in on.
Upon setting up and activating my new account, the user role is set to subscriber (not S2Member Level 1), and there are no Paid Subscr. ID, Custom Capabilities, or EOT Time fields filled in (though all my EOTs are blank since these are one-time payments).
This is using Buddypress' user registration form. Is there a bug in how S2Member integrates with BuddyPress 2.0's registration, or is there something else that I may be missing?
Thanks in advance for all your help with troubleshooting/fixing this.
~Cam -- ReflectiveBibleStudy.com