question

mwhq_developer avatar image
0 Likes"
mwhq_developer asked ·

Direct debit not found.

ErrorCode: 12040

Why do I get this error message through merchant api when Business paypal sandbox account is linked to ebay sandbox account and Direct debit is enabled there?

The only payment method selected is paypal.

direct debit
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @mwhq_developer,

When listing an item please set PaymentMethods as PayPal and enter your PayPal Email Address in the request.

<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>Your_Paypal_Email_Address</PayPalEmailAddress>

Ref: https://developer.ebay.com/devzone/xml/docs/reference/ebay/AddItem.html#Request.Item.PaymentMethods

Best regards ,
eBay Developer Support

·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mwhq_developer avatar image
0 Likes"
mwhq_developer answered ·

Hi @sagar_developersupport


PayPal is included in the available payment methods list provided by GetCategoryFeatures

·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered ·

Hi @mwhq_developer ,

Before listing an item, please use GetCategoryFeatures call of trading API to determine the payment methods that are allowed for a category on a site.


You can also use GetCategoryFeatures to determine the default payment methods for a site.

Ref: https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetCategoryFeatures.html

Best regards ,
eBay Developer Support

·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.