Simple Membership Plugin › Forums › Simple Membership Plugin › Return URL after payment not working for PayPal
- This topic has 1 reply, 2 voices, and was last updated 9 years, 6 months ago by
mbrsolution.
-
AuthorPosts
-
January 10, 2017 at 11:51 am #9557
fletj
ParticipantHi there,
I have given my members the option of paying by either PayPal or Stripe. All is working well for both except for one thing. I have set up “Manage Payment Buttons” identically to redirect members to a Thank You page. But for PayPal, the “Return URL: User will be redirected to after a successful payment” doesn’t happen – it does for Stripe.
Here is the Debug log for two payments, the first PayPal and the second Stripe. You will see that “Redirecting customer to: …” doesn’t appear for the PayPal payment, yet it does for the Stripe one. I have edited out the sensitive data:
[01/10/2017 10:10 AM] – SUCCESS: Paypal Class Initiated by 173.0.81.1
[01/10/2017 10:10 AM] – SUCCESS: Post string : transaction_subject=&payment_date=02%3A09%3A18+Jan+10%2C+2017+PST&txn_type=web_accept&last_name=xxxxx…
…[01/10/2017 10:10 AM] – SUCCESS: Checking if PayPal IPN response is valid
[01/10/2017 10:10 AM] – SUCCESS: Connecting to: https://www.paypal.com/cgi-bin/webscr
[01/10/2017 10:10 AM] – SUCCESS: IPN successfully verified.
[01/10/2017 10:10 AM] – SUCCESS: Creating product Information to send.
[01/10/2017 10:10 AM] – SUCCESS: Transaction Type: Buy Now/Subscribe
[01/10/2017 10:10 AM] – SUCCESS: Item Number: 12923
[01/10/2017 10:10 AM] – SUCCESS: Item Name: Individual 1 Year
[01/10/2017 10:10 AM] – SUCCESS: Item Quantity: 1
[01/10/2017 10:10 AM] – SUCCESS: Item Total: 10.00
[01/10/2017 10:10 AM] – SUCCESS: Item Currency: GBP
[01/10/2017 10:10 AM] – SUCCESS: Membership payment paid for membership level ID: 3
[01/10/2017 10:10 AM] – SUCCESS: Transaction type: web_accept. Creating member account…
[01/10/2017 10:10 AM] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=x.xx.xx.xxx, Unique reference: xxxx
[01/10/2017 10:10 AM] – SUCCESS: Found a match in the member database. Member ID: 4204
[01/10/2017 10:10 AM] – SUCCESS: Modifying the existing membership profile… Member ID: 4204
[01/10/2017 10:10 AM] – SUCCESS: Setting access starts date value to: 2017-01-10
[01/10/2017 10:10 AM] – SUCCESS: Updating the current membership level (3) of this member to the newly paid level (3)
[01/10/2017 10:10 AM] – SUCCESS: Member signup/upgrade completion email successfully sent to: xxxxxxx
[01/10/2017 10:10 AM] – SUCCESS: Saving transaction data to the database table.
[01/10/2017 10:10 AM] – SUCCESS: Transaction data saved.
[01/10/2017 10:10 AM] – SUCCESS: Paypal class finished.——————————————————————
[01/10/2017 11:08 AM] – SUCCESS: Stripe Buy Now IPN received. Processing request…
[01/10/2017 11:08 AM] – SUCCESS: Stripe Buy Now charge successful.
[01/10/2017 11:08 AM] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=xx.xxx.xx.x, Unique reference: xxxxxxxx
[01/10/2017 11:08 AM] – SUCCESS: Found a match in the member database. Member ID: 10003
[01/10/2017 11:08 AM] – SUCCESS: Modifying the existing membership profile… Member ID: 10003
[01/10/2017 11:08 AM] – SUCCESS: Setting access starts date value to: 2017-01-10
[01/10/2017 11:08 AM] – SUCCESS: Updating the current membership level (2) of this member to the newly paid level (3)
[01/10/2017 11:08 AM] – SUCCESS: Member signup/upgrade completion email successfully sent to: xxxxxxxxxxx
[01/10/2017 11:08 AM] – SUCCESS: Transaction data saved.
[01/10/2017 11:08 AM] – SUCCESS: Redirecting customer to: http://johnfletchermusic.org/thank-you-individual/
[01/10/2017 11:08 AM] – SUCCESS: End of Stripe Buy Now IPN processing.——————————————————————
January 10, 2017 at 9:57 pm #9563mbrsolution
ModeratorHi, do you have any redirect settings enabled in your PayPal account?
Can you also carry out a test, this time only have PayPal payment set up for a test registration. Then check the log file again if it does not redirect.
Regards
-
AuthorPosts
- You must be logged in to reply to this topic.