How to downgrade from a free level

I want the user to downgrade from a free level to a subscriber…

[s2Member-Pro-PayPal-Form modify="1" level="*" ccaps="subscriber" desc="Downgrade" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="einfachalles.at" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="" image="https://einfachalles.at/wp-content/uploads/2024/10/button.png" success="https://einfachalles.at/mitgliedschaft" /]

… doesn’t work. The user has nothing to do on Paypal, he has a free level.

How do I write the shortcode so that it works?

Kind regards,
franzl

To allow a user to downgrade from a free level to a subscriber in S2Member, you need to ensure that the correct parameters are set for the downgrade. Here’s an updated shortcode example that should work:

[s2Member-Pro-PayPal-Form modify="1" level="1" ccaps="subscriber" desc="Downgrade" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="einfachalles.at" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="" image="https://einfachalles.at/wp-content/uploads/2024/10/button.png" success="https://einfachalles.at/mitgliedschaft" /]

This setup should allow the user to downgrade their account correctly without being charged again.

Doesn‘t!
Sorry, the image-url was wrong, therefore the corrected shortcode, inclusive your hint and the related conditionals:

[s2If current_user_is(access_s2member_level1) OR current_user_is(access_s2member_level2)]
[s2Member-Pro-PayPal-Form modify="1" level="1" ccaps="subscriber" desc="Downgrade" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="einfachalles.at" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="" image="https://einfachalles.at/wp-content/uploads/2024/12/button.png" success="https://einfachalles.at/mitgliedschaft" /]
[/s2If]

All this leads to Paypal after SUBMIT. Also the submit button is not the one I specified, but the one from Paypal.

franzl