Simple Membership Plugin › Forums › Simple Membership Plugin › Redirect after successful PayPal payment
- This topic has 14 replies, 3 voices, and was last updated 11 years, 2 months ago by
admin.
-
AuthorPosts
-
September 2, 2015 at 5:04 pm #2930
nataliecary
ParticipantHello,
Please could you help. I have set the plugin up correctly, so that when a user navigates to the “Subscribe Now” page on my site, they click a button (the PayPal recurring subscription button created in the plugin) and they are taken to the PayPal payment page. Once this payment has been successful, I need them to be directed to a thank you page. I have created this page an included the link in Payments > Edit Button > Optional Details, but when the PayPal payment has gone through, it just stays on the PayPal’s successful payment page.
I have set the value of the subscription to $0.02 – not sure if you can try this out to see what I mean? I don’t know how else to explain it to you.
Also, when I am testing and login the member area on the front end, it either breaks the backend of WordPress or logs me out (if I am logged in) – is this normal?
Please could you let me know on the above soonest – I would appreciate it.
Thanks
September 2, 2015 at 11:03 pm #2932mbrsolution
ModeratorHi can you enable debug mode and check the log file. Do you have the latest plugin version installed? Are you using Form Builder add-on? Have you set up your PayPal IPN?
Did you add the return URL in the following field Return URL when you created the button?
Thank you
September 3, 2015 at 6:25 am #2934nataliecary
ParticipantThanks for your reply. See response below:
1. Yes, I have the latest plugin version installed
2. I am not using the Form Builder add-on
3. My PayPal IPN is working, I am receiving the mails to my inbox
4. Yes, I have included the return URL in the correct area
5. See below log file:[09/03/2015 6:22 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1
[09/03/2015 6:22 AM] – SUCCESS :Post string : transaction_subject=SUBSCRIBE+NOW&payment_date=23%3A22%3A31+Sep+02%2C+2015+PDT&txn_type=subscr_payment&subscr_id=I-DR9H5NUEFJ77&last_name=Hood&residence_country=ZA&item_name=SUBSCRIBE+NOW&payment_gross=0.02&mc_currency=USD&business=nick%40eminigains.com&payment_type=instant&protection_eligibility=Ineligible&verify_sign=AOJwt1a9-qN1qlRzaA4ZL6Die5SQA4iW7WHPQGKHBh4fQZbMmHJDIvRX&payer_status=unverified&payer_email=natalie%40thecreativelab.co.za&txn_id=27R11722N4664794G&receiver_email=nick%40eminigains.com&first_name=Natalie&payer_id=YX5JHM2ZC5TFA&receiver_id=83Z4HZQUY7GWU&item_number=4490&payment_status=Completed&payment_fee=0.02&mc_fee=0.02&mc_gross=0.02&custom=subsc_ref%3D3%26user_ip%3D41.29.39.122&charset=windows-1252¬ify_version=3.8&ipn_track_id=6a8359f1d644d&
[09/03/2015 6:22 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[09/03/2015 6:22 AM] – SUCCESS :IPN successfully verified.
[09/03/2015 6:22 AM] – SUCCESS :Creating product Information to send.
[09/03/2015 6:22 AM] – SUCCESS :Transaction Type: Buy Now/Subscribe
[09/03/2015 6:22 AM] – SUCCESS :Item Number: 4490
[09/03/2015 6:22 AM] – SUCCESS :Item Name: SUBSCRIBE NOW
[09/03/2015 6:22 AM] – SUCCESS :Item Quantity: 1
[09/03/2015 6:22 AM] – SUCCESS :Item Total: 0.02
[09/03/2015 6:22 AM] – SUCCESS :Item Currency: USD
[09/03/2015 6:22 AM] – SUCCESS :Membership payment paid for membership level ID: 3
[09/03/2015 6:22 AM] – SUCCESS :Saving transaction data to the database table.
[09/03/2015 6:22 AM] – SUCCESS :Transaction data saved.
[09/03/2015 6:22 AM] – SUCCESS :Paypal class finished.——————————————————————
[09/03/2015 6:22 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1
[09/03/2015 6:22 AM] – SUCCESS :Post string : txn_type=subscr_signup&subscr_id=I-DR9H5NUEFJ77&last_name=Hood&residence_country=ZA&mc_currency=USD&item_name=SUBSCRIBE+NOW&business=nick%40eminigains.com&amount3=0.02&recurring=1&verify_sign=A8uwLENhOtWJLz8adQVJoBGib4xaAZF56pvbccO.mu9OzClMD5DXjjGl&payer_status=unverified&payer_email=natalie%40thecreativelab.co.za&first_name=Natalie&receiver_email=nick%40eminigains.com&payer_id=YX5JHM2ZC5TFA&reattempt=1&item_number=4490&subscr_date=23%3A22%3A29+Sep+02%2C+2015+PDT&custom=subsc_ref%3D3%26user_ip%3D41.29.39.122&charset=windows-1252¬ify_version=3.8&period3=1+M&mc_amount3=0.02&ipn_track_id=6a8359f1d644d&
[09/03/2015 6:22 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[09/03/2015 6:22 AM] – SUCCESS :IPN successfully verified.
[09/03/2015 6:22 AM] – SUCCESS :Creating product Information to send.
[09/03/2015 6:22 AM] – SUCCESS :Subscription signup IPN received… nothing to do here(handled by the subscription IPN handler)
[09/03/2015 6:22 AM] – SUCCESS :swpm integration is being used… creating member account…
[09/03/2015 6:22 AM] – SUCCESS :swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=41.29.39.122
[09/03/2015 6:22 AM] – SUCCESS :Could not find any record using the given email address (natalie@thecreativelab.co.za). Attempting to query database using the unique reference: I-DR9H5NUEFJ77
[09/03/2015 6:22 AM] – SUCCESS :Creating new member account. Membership level ID: 3
[09/03/2015 6:22 AM] – SUCCESS :Member signup URL: http://www.eminigains.com/membership-join/membership-registration/?member_id=5&code=bc0d3f1fe8ea08fce64b6cdbfa4fcc2d
[09/03/2015 6:22 AM] – SUCCESS :Member signup/upgrade completion email successfully sent to: natalie@thecreativelab.co.za
[09/03/2015 6:22 AM] – SUCCESS :Paypal class finished.——————————————————————
Please could you let me know.
September 3, 2015 at 4:34 pm #2937nataliecary
ParticipantPlease could you let me know on this as soon as possible? I can’t see any errors?
September 3, 2015 at 8:47 pm #2938mbrsolution
ModeratorHi, looking at the log file it shows there is no errors. What is the return thank you page URL?
September 4, 2015 at 5:39 am #2943nataliecary
ParticipantHi,
The return URL is http:///www.eminigains.com/payment-processed-successfully
I don’t know how to send you a screen shot, but I’m sure everything is set correctly.
September 4, 2015 at 8:42 am #2944mbrsolution
ModeratorHi, I checked the URL you submitted above and it works well. Can you disable all your other plugins except this one and carry out another test? I am trying to work out what is blocking the return process from working correctly.
September 4, 2015 at 10:50 am #2945nataliecary
ParticipantI deactivated everything and its still not working.
September 4, 2015 at 12:08 pm #2946mbrsolution
ModeratorWhat type of PayPal account do you have?
Can you also check your PayPal account settings. Make sure you have not added any settings that would block the redirect to the thank you page.
September 4, 2015 at 12:56 pm #2947nataliecary
ParticipantI have a business account. I have no settings in my PayPal account – I have not adjusted or changed or updated anything.
Does this plugin work with a personal PayPal account?
September 4, 2015 at 1:01 pm #2948mbrsolution
ModeratorHi, are you currently using a Personal PayPal account?
September 4, 2015 at 1:12 pm #2949nataliecary
ParticipantNo, its a business account. When I tried to use the personal one, when I clicked “subscribe” to check out through the plugin it gave me a merchant error so I thought I needed a business account.
September 4, 2015 at 9:43 pm #2951mbrsolution
ModeratorHi, a business account is correct.
Which browser are you using? Can you test a different browser if possible? If that does not work can you disable and delete the plugin and reinstall it again. Then carry out another test.
September 7, 2015 at 6:05 am #2967nataliecary
ParticipantIt’s still not working – I really need to get this sorted – is there nothing else you can suggest? Can I not add in the redirect to the code or something to force it?
September 7, 2015 at 6:58 am #2968admin
KeymasterIf you want to automatically redirect the user to a URL after payment, you need to enable the “Auto Return” feature in your PayPal account. Enable that option in your PayPal account then PayPal will auto return the user to the redirect URL.
If you don’t enable auto return, then the user will be shown a link/button after the payment that says something like “Return to ……”. Your customers will be able to click that link/button to go to your thank you page.
-
AuthorPosts
- You must be logged in to reply to this topic.