IPN not posting variables back to payment success page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am in the process of setting up paypal for my website, and am currently utilizing the sandbox to test everything. So far, it sends the transaction details through the IPN and then posts the transaction info to my database without an issue, but when it redirects back to the success page on my site, it is not sending any variables about the transaction with it (so that that page can pull the information from the database, and create a printable receipt for the customer to save).
I am following the guide I found for how to set all this up here
The current chain of events so far, is User clicks "Buy Now" on an item in my store, it sends them to PayPal to pay for it. It then sends that transaction information (as long as the payment succeeded) to the ipn listener page, verifies the info, and inserts the transaction details to my database. After this, it redirects the user to the success page, and will either display the receipt with info pulled from the database from the url variables, or display an error if the payment failed, and no variables were sent.
I am getting all the way to the last part without issue, but no variables are being added to the url for the success page to pull from. Any help would be greatly appreciated on solving this issue.
NOTE: the URL for paypal listed in the guide as:
https://www.sandbox.paypal.com/cgi-bin/webscr
I have replaced with the updated address:
https://ipnpb.sandbox.paypal.com/cgi-bin/webscr
I am using PHP for my server side code, and am using the PayPal REST for sandbox and live.
- Labels:
-
Payments REST APIs
-
Webhooks REST APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Add Others data in SDKs
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs
- Change the button from Sandbox to Production in REST APIs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- My webhook stopped working 2 weeks ago in REST APIs