YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Sandbox-Testing of PayPal IPN Options
cheesus
#1 Posted : Saturday, March 17, 2012 11:03:38 AM
Rank: Starting Member

Groups: Registered

Joined: 3/17/2012
Posts: 1
Location: Zurich
I'm currently testing my web app which uses PayPal's IPN mechanism. This is my set up:

- I have created a Personal and a Business test account in my PayPal developer account.
- The web app is deployed to my Shared Hosting server.
- My local browser is logged on in the PayPal Sandbox with my PayPal developer account.

Now I point my local browser to the web app and initiate the payment (single payment/express, no cart). The Sandbox's payment pages appear, I complete the payment and I'm redirected to my 'redirect' URL. So far no worries.

Behind the scenes, PayPal invokes my 'notify_url' URL to tell the web app that a transaction has been completed. Now, my web app calls https://www.sandbox.paypal.com/cgi-bin/webscr with the 'cmd' parameter set to '_notify-validate', to protect against faked transactions. It expects PayPal's server to return 'VERIFIED' if the transaction exists.

At this point, my web app does not receive 'VERIFIED', but a generic HTML page with the message "Please login to use the PayPal Sandbox features". I understand why I'm getting this answer. My local browser is logged in on PayPal's Sandbox, but the HTTP client on my web server is not.

But how can I log it in?

Thank you!
Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.525 seconds.