s2member how to use on sub domain,(s2member not upgrade the user role )

s2member how to use on sub domain,(s2member not upgrade the user role ), My site, main domain is “http://www.marketingsoftware.biz” but i am run site with s2member on “http://www.staging1.marketingsoftware.biz/”. I have created shortcode for member level-1 from paypal pro form.When I payment for member-level-1, after payment s2member not upgrade the user role from free-member to level-1 member, Paypal return back on main domain “marketingsoftware.biz”, But my site run on subdomain “staging1.marketingsoftware.biz”.

Please help me.

Thank You!
Aravind

The s2M works in subdomain and subdirectory just well. You just must create buttons (or pro forms) shortcodes in s2M generator at Dasboard -> s2Member -> PayPal Butrtons (or “Paypal Pro-forms”). They are usable with “this” site only, can not be used on other site.

I have using s2m paypal pro form, payment with done by this paypal form but user role free_member to level-1_member not upgrade. after payment paypal back response return to maindomain not to subdomain.

main issue is member level not upgrade (from free_member to paid member level-1)

Please show me the shortcode of the Paypal button/form.

Hello #krumch
I am using this shortcode for paypal form…

[s2Member-Pro-PayPal-Form level=“1” ccaps="" desc=“1 Month @ $10.00 / then $10.0 USD / Monthly (recurring charge, for ongoing access)” ps=“paypal” lc="" cc=“USD” dg=“0” ns=“1” custom=“www.marketingsoftware.biz” ta=“10.00” tp=“1” tt=“M” ra=“10.0” rp=“1” rt=“M” rr=“1” rrt="" rra=“2” accept=“paypal” accept_via_paypal=“paypal” coupon="" accept_coupons=“0” default_country_code="" captcha=“0” /]

In the “custom” attribute you have “www.marketingsoftware.biz”, should be “www.staging1.marketingsoftware.biz” to go to the new site. That’s because I suggest you to create pro-forms again - they depend of the site’s domain.

1 Like

Hello Krum Cheshmedjiev

I have try In the “custom” with “www.staging1.marketingsoftware.biz”, This is not working,
showing this error message
“Invalid form configuration. Invalid “custom” attribute. Must start with matching domain.”

main issue is, User information not update…“free-member” to “level-1 member” no any paypal transaction id save.

Can i miss some s2m setting? Please help me.

@aravind:

Check your Site URL here: WordPress Dashboard → Settings → General. The custom= value must start with the same URL as your Site URL If you added the custom="www.staging1.marketingsoftware.biz" to your shortcode manually and it does not match your Site URL, that will cause the error you are seeing.

Hello…#jedishark

In wordpress general setting Site Url is this “www.staging1.marketingsoftware.biz”…but in the custom allow this url “www.marketingsoftware.biz”. when i put “www.staging1.marketingsoftware.biz” showing error message.
This.
“Invalid form configuration. Invalid “custom” attribute. Must start with matching domain.”

@aravind: Sorry to repeat, but you must create pro-forms again, on the site/domain you use them. It’s really better to create them again, instead to edit manually - you may miss something, which internal s2M generator will not miss. Also Paypal asks SSL, did you have?

Last time I have genarate new shrtcode from pro-form,no editing manually. my site not have ssl…
@krumch I have this plugin s2m on my local server this is working fine. But when i move on live url This problem happen.

So maybe DNS problem? Or .httpacces problem?

I am not found any solution yet, for this issue. When I have use paypal-button shortcode this was update the user-role but not redirect utometicaly to site.