Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Jun-29-2019
Country: United States
Type: Business
BryanM_87
BryanM_87
New Community Member
1
Post
0
Kudos
0
Solutions
Your PayPal Anniversary
Active
View all
Latest Contributions by BryanM_87
  • Topics BryanM_87 has Participated In
  • Latest Contributions by BryanM_87

IPN not posting variables back to payment success ...

by BryanM_87 in REST APIs
‎Jun-29-2019 04:48 PM
‎Jun-29-2019 04:48 PM
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. ... View more
Labels:
  • Labels:
  • Payments REST APIs
  • Webhooks REST APIs
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros