Ebay Trading API & quot; AddItem & quot; Способ оплаты отсутствует ошибка

Получение ошибки, как показано ниже, при использовании приведенного ниже кода
** Ответ от сервера Ebay ниже

SimpleXMLElement Object
(
[Timestamp] => 2014-11-08T13:13:09.853Z
[Ack] => Failure
[Errors] => Array
(
[0] => SimpleXMLElement Object
(
[ShortMessage] => Payment method is not valid.
[LongMessage] => The payment method selected is no longer available.
[ErrorCode] => 10128
[SeverityCode] => Warning
[ErrorParameters] => SimpleXMLElement Object
(
[@attributes] => Array
(
[ParamID] => 0
)

[Value] =>
)

[ErrorClassification] => RequestError
)

[1] => SimpleXMLElement Object
(
[ShortMessage] => Sales tax has been dropped.
[LongMessage] => Sales tax/ VAT was dropped from the listing     as per the new Sales Tax / VAT policy. The item was / will be listed successfully. You may revise the listing to specify an all inclusive price.
[ErrorCode] => 20233
[SeverityCode] => Warning
[ErrorClassification] => RequestError
)

[2] => SimpleXMLElement Object
(
[ShortMessage] => Payment method is missing.
[LongMessage] => You must choose at least one payment method.
[ErrorCode] => 354
[SeverityCode] => Error
[ErrorClassification] => RequestError
)

[3] => SimpleXMLElement Object
(
[ShortMessage] => Return policy is not supported.
[LongMessage] => Return policy is not supported for this category.
[ErrorCode] => 21916329
[SeverityCode] => Warning
[ErrorClassification] => RequestError
)

)

[Version] => 897
[Build] => E897_UNI_API5_17253832_R1
)
/****************************************************************/

// ниже кода, который мы пытаемся добавить в eBay Merchant Account и получить выше
сообщение об ошибке

Верните мне несколько ответов относительно этого поста. Я ценю и с нетерпением жду здесь от вас, ребята.

$email  = '[email protected]';
$ShippingService  = 'IN_Express';
$CountryCode = 'IN';
$Currency = 'INR';
$Location = 'Coimbatore';
$Category = '174231';
$PostalCode = 'mypostalcode';
$PaymentMethod = 'IntegratedMerchantCreditCard';
/*
* Either one of this 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 and the Philosopher\'s Stone</Title>
<Description>
This is the first book in the Harry Potter series. In excellent 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 you are not satisfied, return the book for 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>
/****************************************************************/

0

Решение

Согласно документации eBay относительно PaymentMethods (http://developer.ebay.com/devzone/xml/docs/reference/ebay/extra/AddFxdPrcItmRqst.Itm.PymntMthds.html):

IntegratedMerchantCreditCard
(вход / выход) Этот способ оплаты может быть добавлен, только если у продавца есть учетная запись платежного шлюза.

Пожалуйста, проверьте и убедитесь, что вы включили свою учетную запись, чтобы разрешить использование платежного шлюза. Это не установлено или не настроено по умолчанию.

Вы можете сделать это здесь: https://arbd.ebay.com/ws/eBayISAPI.dll?SetUpPaymentGatewaySignupPage

0

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]