Billing Modification for Stripe Pro Forms
-
Good Day @jaswsinc or @raamdev or anyone smarter than I of course :),
I have a client that I am supporting that has the Pro version of s2member I am setting up on his site. I am trying to add Billing Modification forms for users to upgrade or downgrade their account.I am following the Pro Scripts Billing Modification Form directions and using some of the shortcode hooks in “Wrapping Multiple Shortcodes as “Checkout Options””, however, I am running into trouble.
When I use those I get a form that wants the “current” user to “Create Profile” again even though they are already logged into their profile.
Can you help me understand how to hook the Billing Modification for Stripe Pro Forms properly so I can help customers upgrade/downgrade their account? Thanks.
Here is my code I am currently using in the “My Account” Profile page.
The website is onestopdramashop.com.Code below:
Hi there [s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]! Your current plan is: [s2Get constant="S2MEMBER_CURRENT_USER_ACCESS_LABEL" /]. [s2If current_user_is(s2member_level2)] You can Downgrade to the Month-to-Month plan if you wish. [s2Member-Pro-Stripe-Form modify="1" level="2" ccaps="" desc="$15.00 USD / Monthly (recurring charge, for ongoing access)" cc="USD" custom="onestopdramashop.com" ta="0" tp="0" tt="D" ra="15.00" rp="1" rt="M" rr="1" coupon="" accept_coupons="1" default_country_code="US" captcha="1" /] [/s2if] [s2If current_user_is(s2member_level1)] Upgrade to the Yearly Plan! Save 25%! [s2Member-Pro-Stripe-Form modify="1" level="2" ccaps="" desc="$135.00 USD / Yearly (recurring charge, for ongoing access)" cc="USD" custom="onestopdramashop.com" ta="0" tp="0" tt="D" ra="135.00" rp="1" rt="Y" rr="1" coupon="" accept_coupons="1" default_country_code="US" captcha="1" /] [/s2If] [s2If current_user_is(s2member_level0)] You can upgrade to the Monthly or Yearly plan. The Yearly plan will save you 25% over the month-to-month subscription! [s2Member-Pro-Stripe-Form] [s2Member-Pro-Stripe-Form modify="1" level="1" ccaps="" desc="$15.00 USD / Monthly (recurring charge, for ongoing access)" cc="USD" custom="onestopdramashop.com" ta="0" tp="0" tt="D" ra="15.00" rp="1" rt="M" rr="1" coupon="" accept_coupons="1" default_country_code="US" captcha="1" /] [s2Member-Pro-Stripe-Form modify="1" level="2" ccaps="" desc="$135.00 USD / Yearly (recurring charge, for ongoing access)" cc="USD" custom="onestopdramashop.com" ta="0" tp="0" tt="D" ra="135.00" rp="1" rt="Y" rr="1" coupon="" accept_coupons="1" default_country_code="US" captcha="1" /] [/s2Member-Pro-Stripe-Form] [/s2If]
The topic ‘Billing Modification for Stripe Pro Forms’ is closed to new replies.