Paypal Api Error 81002
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and
Paypal Error Code 10001
policies of this site About Us Learn more about Stack Overflow the paypal error codes company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags 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 NVP API - Keep getting error 81002 up vote 8 down vote favorite 2 I am new to PayPal API, and I'm having trouble calling SetExpressCheckout using CURL in PHP. I have set everything correctly, as far as I'm concerned, but I kept getting an 81002 error "Method Specified is not Supported". The code snippet is below. I got the CA Root certificates file from here. urlencode('andree_1272823561_biz_api1.gmail.com'), 'PWD' => urlencode('1272823576'), 'SIGNATURE' => urlencode('Am1t0wiu2tv7VwZ5ebdeY9zv1GF6Ad0PFz-qTGFFf7vbWU6ee4bxy8KL'), 'VERSION' => urlencode('52.0'), 'PAYMENTACTION' => urlencode('Sale'), 'METHOD' => urlencode('SetExpressCheckout'), 'AMT' => urlencode('52.00'), 'RETURNURL' => urlencode('get_express_checkout_details.php'), 'CANCELURL' => urlencode('index.php') ); $url = 'https://api-3t.sandbox.paypal.com/nvp?' . http_build_query($paypal_data); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem'); $result = curl_exec($curl); curl_close($curl); parse_str($result, $result); ?>
Data sent:
Result:When I run the code, the output is the following: Data sent: Array ( [USER] => andree_1272823561_biz_api1.gmail.com [PWD] => 1272823576 [SIGNATURE] => Am1t0wiu2tv7VwZ5ebdeY9zv1GF6Ad0PFz-qTGFFf7vbWU6ee4bxy8KL [VERSION] => 52.0 [PAYMENTACTION] => Sale [METHOD] => SetExpressCheckout [AMT] => 52.00 [RETURNURL] => get_express_checkout_details.php [CANCELURL] => index.php ) Result: Array ( [ACK] => Failure [L_ERRORCODE0] => 81002 [L_SHORTMESSAGE0] => Unspecified Method [L_LONGMESSAGE0] => Method Specified is not Supported [L_SEVERITYCODE0] => Error ) Anyone knows what could be the problem? Regards, Andree. php paypal share|improve this question asked May 3 '10 at 13:44 Andree 1,36912042 It runs fine with me, the only diff. is that I'm not us
with PayPal? 14 3 days ago FAQ2072 Can I have my PayPal funds automatically transfer to my Bank? 13 3 days ago FAQ2068 Where can I access my IPN history? 15 3 days ago FAQ2067 How do I handle failed validation checks in my Payments Standard account? 2,085 19 days ago http://stackoverflow.com/questions/2758457/paypal-nvp-api-keep-getting-error-81002 FAQ2066 Why am I not receiving funds for completed orders? 107 32 days ago FAQ2065 How do I apply for Website Payments Pro? 110 32 days ago FAQ2064 How do I make the phone field mandatory with Express Checkout? 117 53 days ago https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ2030&actp=LIST FAQ2063 How do I successfully complete an Express Checkout API call? 108 53 days ago FAQ2062 Where can I find PayPal Reporting information? 256 59 days ago FAQ2061 How do I use IPN in my third-party shopping cart for Express Checkout? 284 60 days ago FAQ2060 Are Adaptive Payments disputes applicable for Enterprise Dispute Management merchants and/or partners? 323 67 days ago FAQ2059 Can you fund Adaptive Payments with PayPal Credit? 275 67 days ago FAQ2058 Why are my PayPal PLUS payments being declined? 363 67 days ago FAQ2057 What is Seller Protection? 304 67 days ago FAQ2056 How do I return customers to my merchant site after completing checkout? 351 76 days ago Pages: 50 - [ 1 2 3 4 5 … 50 | Next ]
Sign in Pricing Blog Support Search GitHub This repository Watch 22 Star 46 https://github.com/ingenesis/shopp/issues/2005 Fork 49 ingenesis/shopp Code Issues 341 Pull requests 12 Projects http://paypal-error-81002.blogspot.com/ 0 Wiki Pulse Graphs New issue PayPal Express Unspecified Method - Possible fraudulent notification #2005 Closed shopp-lighthouse-import opened this Issue Apr 19, 2013 · 10 comments Projects None yet Labels lighthouse Milestone No milestone Assignees No paypal error one assigned 2 participants shopp-lighthouse-import commented Apr 19, 2013 Imported from Lighthouse http://shopp.lighthouseapp.com/projects/47561/tickets/2005 Reported by Jim Hronchek at Wednesday, 26-Sep-12 13:07:20 GMT-0400 PayPal Express gateway throws this error. Why does it come back after a successful transaction sequence? [23-Sep-2012 16:12:49] PayPalExpress: stdClass Object ( [debuglog] =3D> [ack] =3D> Failure [errorcode] paypal error code =3D> Array ( [0] =3D> 81002 ) [shortmessage] =3D> Array ( [0] =3D> Unspecified Method ) [longmessage] =3D> Array ( [0] =3D> Method Specified is not Supported ) [severitycode] =3D> Array ( [0] =3D> Error ) ) [23-Sep-2012 16:12:49] PHP RECOVERABLE ERROR: Object of class stdClass could not be converted to string [PayPalExpress.php, line 633] [23-Sep-2012 16:12:49] PayPalExpress: PayPal IPN notification verfication response received:[23-Sep-2012 16:12:49] PayPalExpress: An unverifiable order update notification was received from PayPal for transaction: 72M325985X6603628. Possible fraudulent notification! The order will not be updated. Details are in this Support Ticket https://shopplugin.net/support/topic/shopp-notification-2#post-160405 shopp-lighthouse-import commented Apr 19, 2013 Imported from Lighthouse Comment by Jonathan at Wednesday, 07-Nov-12 13:22:22 GMT-0500 Order verification is failing (on some sites) and we have no reasonable explanation as to why. shopp-lighthouse-import commented Apr 19, 2013 Imported from Lighthouse Comment by Jonathan at Wednesday, 07-Nov-12 13:22:37 GMT-0500 shopp-lighthouse-import commented Apr 1
gateway has rejected request. Method Specified is not Supported (#81002: Unspecified Method). Answer:- If you search for the below code in your php.ini file arg_separator.output = "&" you can see the PHP building the query parameter while starting with "&" Which PayPal doesn't understand. That's why you are getting the above error. To resolve this just change above code to arg_separator.output = "&" Restart your Apache server. Happy Coding.......................... :) Posted by Venkata Naga Pradeep Veera at 08:22 No comments: Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Home Subscribe to: Posts (Atom) Blog Archive ▼ 2012 (1) ▼ November (1) PayPal gateway has rejected request. Method Specif... About Me Venkata Naga Pradeep Veera I am a Software Engineer, with my blog I want to help developers, who are working hard, day and night to give best results and those who are stepping in to the world of 0 and 1 View my complete profile Simple template. Powered by Blogger.