Find the answer to your question
Advanced Search
I am trying to make a SendInvoice API call as below:
<?xml version="1.0" encoding="utf-8"?>
<SendInvoiceRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ItemID>110043311674</ItemID>
<TransactionID>0</TransactionID>
<ShippingServiceOptions>
<ShippingServicePriority>1</ShippingServicePriority>
<ShippingService>UPSGround</ShippingService>
<ShippingServiceCost>1.0</ShippingServiceCost>
</ShippingServiceOptions>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</SendInvoiceRequest>
And I am getting the following error:
ShortMessage: You can't offer both Domestic and International shipping services together.
LongMessage: Please provide either Domestic or International shipping service options based on Buyer's shipping country.
ErrorCode: 20199
SeverityCode: Error
ErrorClassification: RequestError
I have provided only one domestic shipping service but the error message indicates otherwise. Why is this happening?
Summary
When you use the Sandbox Registration tool to create a new user, the default registration address is incomplete and therefore invalid. Before transacting with that user, please change registration address for the user as below:
- Log in to MyeBay on Sandbox with that user
- Click on Account -> Addresses
- Click on the link Change for the Registration address
- Complete the flow to set the country, address, phone number, etc and complete the flow