Paypal Error Code 81002
Notification (IPN), and PDT → PayPal API and Web Services Javascript Disabled Detected You currently have javascript disabled. paypal error code 10001 Several functions may not work. Please re-enable javascript to access full paypal error codes functionality. PayPal NVP API - Keep getting error 81002 Started by ang89 , May 03 2010 08:25 AM This topic is locked 1 reply to this topic #1 ang89 ang89 Newbie Members 1 posts Posted 03 May 2010 - 08:25 AM Hi there,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. Back to top Report #2 nds_webdesign nds_webdesign Junior Member Members 159 posts Posted 12 May 2010 - 12:08 AM I used your API credentials and it worked with this request: API Request: USER=andree_1272823561_biz_
Services [FAQs] [Adv Search] Forum Configuring the Zen Cart Admin PayPal Express Checkout support 81002: Unspecified Method: Method Specified not Supported If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Thread: 81002: Unspecified Method: Method Specified not Supported Results 1 http://paypaldev.org/topic/9202-paypal-nvp-api-keep-getting-error-81002/ to 10 of 10 Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 7 Jul 2011,06:03 PM #1 George_Moureau View Profile View Forum Posts View Blog Entries View Articles New Zenner Join Date May 2009 Location Hartwell, Ga Posts 12 Plugin Contributions0 81002: Unspecified https://www.zen-cart.com/showthread.php?182814-81002-Unspecified-Method-Method-Specified-not-Supported Method: Method Specified not Supported I'm getting the above error response when trying to use paypal express checkout. Below it the pertinent log file. I assume I am on an outdated version of the product but am at a loss as to how to upgrade (our company hired a third party who implemented zen, then they went under leaving me the task of trying to figure all this out). https://api-3t.paypal.com/nvp live Request Headers: array ( 0 => 'Content-Type: text/namevalue', 1 => 'X-VPS-Timeout: 45', 2 => 'X-VPS-VIT-Client-Type: PHP/cURL', 3 => 'X-VPS-VIT-Integration-Product: PHP::Zen Cart WPP-NVP', 4 => 'X-VPS-VIT-Integration-Version: 0.1', ) Request Parameters: array ( '' => NULL, ) Response: array ( 'ACK' => 'Failure', 'L_ERRORCODE0' => '81002', 'L_SHORTMESSAGE0' => 'Unspecified Method', 'L_LONGMESSAGE0' => 'Method Specified is not Supported', 'L_SEVERITYCODE0' => 'Error', ) Reply With Quote 7 Jul 2011,06:33 PM #2 stevesh View Profile View Forum Posts View Blog Entries View Articles Black Belt Join Date Feb 2005 Location Lansing, Michigan USA Posts 20,297 Plugin Contributions3 Re: 81002: Unspecified Method: Method Specified not Supported If you search the forums for
Sign in Pricing Blog Support Search GitHub This repository Watch 22 Star 46 Fork 49 ingenesis/shopp https://github.com/ingenesis/shopp/issues/2005 Code Issues 341 Pull requests 12 Projects 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 one assigned 2 participants shopp-lighthouse-import commented Apr paypal error 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] =3D> Array ( [0] =3D> 81002 ) [shortmessage] =3D> paypal error code 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 19, 2013 Imported from Lighthouse Comment by Jonathan at Friday, 16-Nov-12 11:50:09 GMT-0500 I have seen this issue occur