Paypal Sandbox Pdt Fail Error 4003
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and my cash error code = 4003 policies of this site About Us Learn more about Stack Overflow the
My Cash Error Code =4006
company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags paypal login Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Paypal PDT error 4003 up vote 5 down vote favorite 1 After many hours of messing about and trying to set up what should be the relatively simple process of sending a payment to www.sandbox.paypal.com and being redirected back to a page on my site with a transaction id in the querystring, I have finally achieved it. I am now receiving an error message 'FAIL Error 4003'. Here is the code I am using. It is pretty much the same as the paypal example (all I have done is echo out the responses):
Notification (IPN), and PDT → PayPal with ASP / .Net Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. PDT - FAIL Error: 4003 Started by Buckielad , Mar 14 2005 01:57 PM This topic is locked 1 reply to this topic #1 Buckielad Buckielad Newbie Members 2 posts Posted 14 March 2005 - 01:57 PM Hello I am trying to get the PDT working on the Sandbox using ASP. I have read most of the posts on the site about people with the same problem and have tried all the things that have been suggested for them to get their PDT working, without success. I have also read the http://stackoverflow.com/questions/8521800/paypal-pdt-error-4003 hints and tips with no success. Even the code generated by the code generation gave me a FAIL Error: 4003 I have tried all different combinations using :- set objHttp = Server.CreateObject("Microsoft.XMLHTTP") or set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") and objHttp.open "POST", "https://www.sandbox.paypal.com/cgi-bin/webscr", false or objHttp.open "POST", "http://www.sandbox.paypal.com/cgi-bin/webscr", false -as there seems to be no standard. I have checked the AuthToken over and over again and this is correct for my Premier account. Questions :- 1) I am passing individual items to http://paypaldev.org/topic/5179-pdt-fail-error-4003/ the shopping cart, does this work ? or does PDT just work for But It Now buttons / donations ? 2) Is it possible for the authToken to be locked out ? I have tried a dummy authToken and still get the same FAIL Error: 4003 response. Please can anybody help me or point me in the right direction. Many Thanks Buckielad Back to top Report #2 Burnzy Burnzy Member Members 26 posts Posted 15 March 2005 - 03:55 PM Buckielad, Are you getting anything at all displayed? Usually, from my experience, you usually get an HTTP 500 server type error if the set objHttp = server... setting is wrong. For the second, if you are using the sandbox, you should have: objHttp.open "POST", "http://www.sandbox.paypal.com/cgi-bin/webscr", false. The token should be from the one generated from the sandbox account for your business. As for the token being "locked out," I don't think this is possible since it is just a string to check. Nothing to do with locking out an account. Passing individuals items to the cart (clicking on "Add to Cart" button) should work, then continue shopping for other stuff. Thanks, Scott Back to top Report Back to PayPal with ASP / .Net 8 user(s) are reading this topic 0 members, 8 guests, 0 anonymous users Reply to quoted postsClear PayPal Forum | PayPalDev.org → PayPal API, Instant Payment Notification (IPN), and PDT → P
Notification (IPN), and PDT → General IPN and PDT Questions Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. PDT Error http://paypaldev.org/topic/3952-pdt-error-4003/ 4003 Started by John Gateley , Jul 20 2004 02:21 PM This topic is locked 1 reply to this topic #1 John Gateley John Gateley Newbie Members 4 posts Posted 20 July 2004 - 02:21 PM Hi All, I've been using PDT for a little while succesfully. PayPal redirects the buyer to my site, I use PDT to verify the transaction details, and all is good. On occasion, PayPal my cash doesn't verify with the message "PayPal verify site down", it's probably too busy. To address this, I created a web page where the customer enters their PayPal transaction ID, and it tries to use PDT to verify the transaction details. It's the same code that is working above, it just is called more than a few seconds after the transaction. However, I get an error result: FAIL Error: 4003 my cash error I couldn't find a list of error codes. Any idea what 4003 means or why it is failing? Could it be that the PDT verification times out rather quickly (a few seconds)? This happened both in the sandbox and live. Thanks for any help, j Back to top Report #2 John Gateley John Gateley Newbie Members 4 posts Posted 21 July 2004 - 12:08 PM Figured it out. I was getting confused between the sandbox and real site. I think 4003 means "transaction exists, but you are in the sandbox and the transaction is real, or vice versa". 4002 seems to mean "the transaction doesn't exist". j Back to top Report Back to General IPN and PDT Questions 7 user(s) are reading this topic 0 members, 7 guests, 0 anonymous users Reply to quoted postsClear PayPal Forum | PayPalDev.org → PayPal API, Instant Payment Notification (IPN), and PDT → General IPN and PDT Questions Privacy Policy Change Theme IP.Board Mobile Help Community Forum Software by IP.Board Sign In Use Facebook Use Twitter Need an account? Register now! Username Password I've forgotten my password Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active u