wpsharks / s2member

s2Member® Framework (membership management for WordPress®).
64 stars 36 forks source link

no redirect after specific post/page purchase #1202

Open hmspreer opened 4 years ago

hmspreer commented 4 years ago

EXPLANATION OF THE ISSUE

s2Member: Version 200301 + s2Member Pro v200301 wordpress: 5.5.2–de_DE

I have created a protected page (WordPress Dashboard → s2Member (Pro) → Restriction Options → Specific Post/Page Access) and the corresponding PayPal-pro-form to purchase the content (buy now) To test the form I have created a coupon that gives me 100% off.

When I purchase the page using the coupon code s2member does not redirect me to the purchased page. Instead the page containing the PayPal-pro-form is reloaded including an info-box that says that my account has been updated and that I need to login again (presented as a link).

When I klick on the link to login I will be forwarded to the protected page, but the information is misleading, because it says that I need to login again. Also following the manual I would have expected that s2member would redirect me to the protected content immediately after purchase.

STEPS TO REPRODUCE THE ISSUE

link to buy-now form: https://revivalschool-online.de/buy-now-aktuelle-projekte/ coupon code to get it for free: find the code in the comments section (code is valid for 10 uses) title of page that you should be redirected to: Schule der Transformation

BEHAVIOR THAT I EXPECTED

I would have expected that redirection works immediately

BEHAVIOR THAT I OBSERVED

Like mentioned above: When I purchase the page using the coupon code s2member does not redirect me to the purchased page. Instead the page containing the PayPal-pro-form is reloaded including an info-box that says that my account has been updated and that I need to login again (presented as a link).

When I klick on the link to login I will be forwarded to the protected page, but the information is misleading, because it says that I need to login again. Also following the manual I would have expected that s2member would redirect me to the protected content immediately after purchase.