Simple Membership Plugin › Forums › Simple Membership Plugin › Payment registration link
- This topic has 14 replies, 2 voices, and was last updated 9 years, 3 months ago by
mbrsolution.
-
AuthorPosts
-
February 15, 2017 at 9:07 am #10168
alvinong
ParticipantHi,
After my paid customers finish payment, are the registration links sent to them unique? if i create a redirect link to allow them to register instantly after they have made payment, will the link be shareable ?
February 15, 2017 at 10:28 pm #10174mbrsolution
ModeratorHi, the registration process is automatically controlled by the plugin. Please read the following documentation. This should answer your questions above.
February 17, 2017 at 7:10 am #10202alvinong
ParticipantHi, i am currently doing a sandbox test. but the registration link i got from the email is (?member_id=11&code=77175f6527d7f64b1618d89b9ec8efbd)
is there something i am doing wrong ?
February 18, 2017 at 6:04 am #10206mbrsolution
ModeratorHi, in Sandbox testing the email does not work because this is a fictitious account. If you test in live mode, the e-mail will work.
Let me know if you need more help.
Thank you
February 21, 2017 at 6:20 am #10227alvinong
ParticipantHi, i did a test using my live account and the link recevied is the email is as follows:
Please complete your registration by visiting the following link:
?member_id=20&code=858ee13a87ac0ef659579c9c37e17775
am i doing something wrong ? the default email setting in the plugin is as follows:
Dear {first_name} {last_name}
Thank you for joining us!
Please complete your registration by visiting the following link:
{reg_link}
Thank You
February 21, 2017 at 7:28 am #10228mbrsolution
ModeratorAnd what happens when you click on that link? Can you enable Debug mode and carry out another test. Then check the log file.
Report back
Thank you
February 21, 2017 at 10:32 am #10230alvinong
Participantthat link is un clickable. if i copy and paste in as an url it is not valid. below is the portion of the debug file for the link creation and sending of email.
[02/21/2017 6:13 AM] – SUCCESS: Paypal Class Initiated by 173.0.81.1
[02/21/2017 6:13 AM] – SUCCESS: Post string : txn_type=subscr_signup&subscr_id=I-JP3EYAV2GD4B&last_name=ong&residence_country=SG&mc_currency=USD&item_name=Premium%2B+Piranha+Trade+Alerts&business=piranhaprofits%40akltg.com&amount3=1.00&recurring=1&verify_sign=Ai1PaghZh5FmBLCDCTQpwG8jB264AxgxdL4EXbZ1SZdn7Cae7eMur8Zs&payer_status=verified&payer_email=masam_ong%40live.com&first_name=alvin&receiver_email=piranhaprofits%40akltg.com&payer_id=PFQ2A397RQLHJ&reattempt=1&item_number=2058&subscr_date=22%3A13%3A40+Feb+20%2C+2017+PST&custom=subsc_ref%3D7%26user_ip%3D27.54.56.114&charset=windows-1252¬ify_version=3.8&period3=1+Y&mc_amount3=1.00&ipn_track_id=702728a916cd8&
[02/21/2017 6:13 AM] – SUCCESS: Checking if PayPal IPN response is valid
[02/21/2017 6:13 AM] – SUCCESS: Connecting to: https://www.paypal.com/cgi-bin/webscr
[02/21/2017 6:13 AM] – SUCCESS: IPN successfully verified.
[02/21/2017 6:13 AM] – SUCCESS: Creating product Information to send.
[02/21/2017 6:13 AM] – SUCCESS: Subscription signup IPN received… (handled by the subscription IPN handler)
[02/21/2017 6:13 AM] – SUCCESS: Found a membership level ID. Creating member account…
[02/21/2017 6:13 AM] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=7&user_ip=27.54.56.114, Unique reference: I-JP3EYAV2GD4B
[02/21/2017 6:13 AM] – SUCCESS: Could not find any record using the given email address (masam_ong@live.com). Attempting to query database using the unique reference: I-JP3EYAV2GD4B
[02/21/2017 6:13 AM] – SUCCESS: Did not find a match for an existing member profile for the given reference. This must me a new payment from a new member.
[02/21/2017 6:13 AM] – SUCCESS: Creating new member account. Membership level ID: 7
[02/21/2017 6:13 AM] – SUCCESS: Member signup URL: ?member_id=20&code=858ee13a87ac0ef659579c9c37e17775
[02/21/2017 6:13 AM] – SUCCESS: Member signup/upgrade completion email successfully sent to: masam_ong@live.com
[02/21/2017 6:13 AM] – SUCCESS: Paypal class finished.February 21, 2017 at 9:42 pm #10233mbrsolution
ModeratorDid you also disable Sandbox in the plugin? What permalinks do you have set up in your site?
February 22, 2017 at 2:01 am #10234alvinong
ParticipantYes I have disabled sandbox, in my previous post I have said that I did a live test. So will you be able to enlighten me? What has the permalinks I have on my site got to do with the plugin’s creation of a membership registration link?
February 22, 2017 at 3:45 am #10235mbrsolution
ModeratorSorry I think I crossed your issue with another issue elsewhere.
Can you check your settings and make sure all URLs are correct. For example the Login, Registration etc.
February 22, 2017 at 6:31 am #10237alvinong
ParticipantHi, it was right there all along, seems like i did not set the registration url properly. i now get an email with a correct URL.
Now i have another questions(sorry!), i have 2 membership levels, one gold and one ultimate and both requires them to pay through paypal. how can i configure to redirect them to different registration urls? example, i sign up for gold, and i get redirected to gold registration, but when i sign up for ultimate i get redirected to ultimate registration. right now there is only an option to input 1 registration url
February 22, 2017 at 9:57 pm #10243mbrsolution
ModeratorYou can add the following function to your theme functions.php file. But this will only work for one registration form.
add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection'); function sam_after_registration_redirection() { $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to wp_redirect($url); }February 23, 2017 at 3:06 am #10257alvinong
Participanthi, is this after registration re-direction?
what i meant was. at the settings page, i input a registration page url as the “general” registration page.
when payment is made, i receive a unique link to register at that link. but i can only setup 1 registration url at the settings page.
if i am selling 2 different memberships(Gold and ultimate), can the registration links be dynamic and be sent according to which membership is being purchased?
February 23, 2017 at 3:17 am #10258alvinong
Participantor is it possible for the plugin to create login credentials automatically and send it to them ? meaning, can i set default login username to be their registered email and a password is randomly generated and the info compiled and sent to them instead of sending a link to get them to register an account on their own ?
February 23, 2017 at 4:49 am #10259mbrsolution
ModeratorPlease read the following documentation. Let me know if this is what you mean.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.