2012-04-10 11 views
0

Ich bin völlig neu für jede Art von API-Anwendung. Im Moment erstelle ich eine Listungsanwendung, um Artikel auf der E-bay India-Site aufzulisten. API-Version verwendet wird, ist 767, Sandbox-URL ist . Ich habe Sandbox-Konto für eBay (Käufer/Verkäufer) und Entwickler-Konto.Problem mit ebay AddItem API-Aufruf

Ich erhalte Fehler, der sagt: 1) Umsatzsteuer/VAT wurde von der Auflistung wie neue Umsatzsteuer-/VAT-Politik gelöscht. Die Artikel werden erfolgreich aufgelistet. Sie können den Eintrag überarbeiten, um den Gesamtpreis anzugeben. 2) Sie haben sich entweder nicht registriert oder haben Probleme mit der Registrierung Ihrer Zahlungsmethode.

ItemType type = new ItemType(); 
type.PaymentMethods = new BuyerPaymentMethodCodeTypeCollection(); 
type.PaymentMethods.Add(BuyerPaymentMethodCodeType.PaisaPayAccepted); 

Muss ich auch die Besteuerung für jeden Zustand angeben? hier ist Für Mehrwertsteuer und Versand Details mein Snippet:

private ShippingDetailsType getShippingDetails() 
     { 
      // Shipping details. 
      ShippingDetailsType sd = new ShippingDetailsType();   
      SalesTaxType salesTax = new SalesTaxType(); 
      ReadSettings rs = new ReadSettings(); 
      rs.GetSettings(); 
      salesTax.SalesTaxPercent = 12f; 
      salesTax.SalesTaxState = "MH"; 
      SalesTaxType s = new SalesTaxType(); 
      salesTax.ShippingIncludedInTax = true; 
      salesTax.ShippingIncludedInTaxSpecified = true; 
      sd.ApplyShippingDiscount = true; 
      AmountType at = new AmountType(); 
      at.Value = 2.8; 
      at.currencyID = CurrencyCodeType.INR; 
      sd.InsuranceFee = at; 
      sd.InsuranceOption = InsuranceOptionCodeType.NotOffered; 
      sd.PaymentInstructions = "These are my instructions."; 
      VATDetailsType vd = new VATDetailsType(); 
      vd.BusinessSeller = false; 
      vd.BusinessSellerSpecified = false; 
      vd.RestrictedToBusiness = false; 
      vd.RestrictedToBusinessSpecified = false; 
      vd.VATID = "VATSNO1234567890"; 
      vd.VATPercent = 12f; 
      vd.VATPercentSpecified = true; 
      vd.VATSite = "None"; 

      sd.ShippingType = ShippingTypeCodeType.Flat; 
      // 
      ShippingServiceOptionsType st1 = new ShippingServiceOptionsType(); 
      sd.SalesTax = salesTax; 
      st1.ShippingService = ShippingServiceCodeType.IN_Express.ToString(); 
      at = new AmountType(); 
      at.Value = 50; 
      at.currencyID = CurrencyCodeType.INR; 
      st1.ShippingServiceAdditionalCost = at; 
      at = new AmountType(); 
      at.Value = 50; 
      at.currencyID = CurrencyCodeType.INR; 
      st1.ShippingServiceCost = at; 
      st1.ShippingServicePriority = 1; 
      at = new AmountType(); 
      at.Value = 1.0; 
      at.currencyID = CurrencyCodeType.INR; 
      st1.ShippingInsuranceCost = at; 
      sd.ShippingServiceOptions = new ShippingServiceOptionsTypeCollection(new ShippingServiceOptionsType[] { st1 }); 
      return sd; 
     } 

Danke für Sie Bemühungen.

Antwort

0

Also, von Ebays .IN Website. http://pages.ebay.in/help/sell/new-sales-tax-policy.html Sie müssen Ihre Liste (n) revidieren, um den Gesamtpreis (all inclusive) einzubeziehen.

-Code weise:

// Before you assign the Item's price 
allInclusiveItemPrice = itemPrice * VAT; // Sales tax also if needed 

Then set the item.price = allInclusiveItemPrice //BuyItNowPrice or Auction price 

Ich bin mir nicht sicher, wie Einstellung der Steuersätze für Indien im Allgemeinen funktionieren würde.
Auch
2) Sie haben sich entweder nicht registriert oder haben Probleme mit der Registrierung Ihrer Zahlungsmethode.
Könnte ein Problem sein. Ich bin mir nicht sicher, was der Fehler in diesem Zusammenhang bedeutet.

Verwandte Themen