Tuesday 15 July 2014

php - Ebay Trading API "AddItem" Payment method is missing error -



php - Ebay Trading API "AddItem" Payment method is missing error -

getting error below while using below code **response ebay server below

simplexmlelement object ( [timestamp] => 2014-11-08t13:13:09.853z [ack] => failure [errors] => array ( [0] => simplexmlelement object ( [shortmessage] => payment method not valid. [longmessage] => payment method selected no longer available. [errorcode] => 10128 [severitycode] => warning [errorparameters] => simplexmlelement object ( [@attributes] => array ( [paramid] => 0 ) [value] => ) [errorclassification] => requesterror ) [1] => simplexmlelement object ( [shortmessage] => sales taxation has been dropped. [longmessage] => sales tax/ vat dropped listing per new sales taxation / vat policy. item / listed successfully. may revise listing specify inclusive price. [errorcode] => 20233 [severitycode] => warning [errorclassification] => requesterror ) [2] => simplexmlelement object ( [shortmessage] => payment method missing. [longmessage] => must take @ to the lowest degree 1 payment method. [errorcode] => 354 [severitycode] => error [errorclassification] => requesterror ) [3] => simplexmlelement object ( [shortmessage] => homecoming policy not supported. [longmessage] => homecoming policy not supported category. [errorcode] => 21916329 [severitycode] => warning [errorclassification] => requesterror ) ) [version] => 897 [build] => e897_uni_api5_17253832_r1 ) /****************************************************************/

// below code trying additem in ebay merchant business relationship , getting above error message

revert me answers regarding post. appreciate , looking forwards here guys.

$email = 'abc@gmail.com'; $shippingservice = 'in_express'; $countrycode = 'in'; $currency = 'inr'; $location = 'coimbatore'; $category = '174231'; $postalcode = 'mypostalcode'; $paymentmethod = 'integratedmerchantcreditcard'; /* * either 1 of creditcard, cashonpickup or ccaccepted; */ $requestbody = <?xml version="1.0" encoding="utf-8"?> <additemrequest xmlns="urn:ebay:apis:eblbasecomponents"> <requestercredentials> <ebayauthtoken>'.$token.'</ebayauthtoken> </requestercredentials> <errorlanguage>en_us</errorlanguage> <warninglevel>high</warninglevel> <item> <title>harry potter , philosopher\'s stone</title> <description> first book in harry potter series. in first-class condition! </description> <primarycategory> <categoryid>'.$category.'</categoryid> </primarycategory> <startprice>1.0</startprice> <categorymappingallowed>true</categorymappingallowed> <conditionid>4000</conditionid> <country>'.$countrycode.'</country> <currency>'.$currency.'</currency> <dispatchtimemax>3</dispatchtimemax> <listingduration>days_7</listingduration> <listingtype>chinese</listingtype> <paymentmethods>'.$paymentmethod.'</paymentmethods> <!--paypalemailaddress>'.$email.'</paypalemailaddress--> <picturedetails> <pictureurl>http://pics.ebay.com/aw/pics/dot_clear.gif</pictureurl> </picturedetails> <postalcode>'.$postalcode.'</postalcode> <quantity>1</quantity> <returnpolicy> <returnsacceptedoption>returnsaccepted</returnsacceptedoption> <refundoption>moneyback</refundoption> <returnswithinoption>days_30</returnswithinoption> <description>if not satisfied, homecoming book refund. </description> <shippingcostpaidbyoption>buyer</shippingcostpaidbyoption> </returnpolicy> <shippingdetails> <shippingtype>flat</shippingtype> <shippingserviceoptions> <shippingservicepriority>1</shippingservicepriority> <shippingservice>'.$shippingservice.'</shippingservice> <shippingservicecost>82.50</shippingservicecost> </shippingserviceoptions> </shippingdetails> <site>us</site> <!--newly added fields--> <location>'.$location.'</location> </item> </additemrequest>; </code> /****************************************************************/

as per ebay's documentation regarding paymentmethods (http://developer.ebay.com/devzone/xml/docs/reference/ebay/extra/addfxdprcitmrqst.itm.pymntmthds.html):

integratedmerchantcreditcard (in/out) payment method can added if seller has payment gateway account.

please check , ensure have enabled business relationship allow utilize of payment gateway. not set or configured default.

you can here: https://arbd.ebay.com/ws/ebayisapi.dll?setuppaymentgatewaysignuppage

php payment ebay

No comments:

Post a Comment