Skip to main content
Published: March 30 2007, 6:48:00 PMUpdated: August 01 2022, 12:31:18 AM


A seller doesn't know which shipping option the buyer will select at the time of making AddOrder call, how can the "Total" be calculated? 

Summary

  The Total property is an estimate cost amount for the Order you are creating.  The actual default Seller Total that shows on the buyer's Review Your Purchases from ${SellerID} >   Review payment details page for the order created by the seller is not determined by the Total value you defined,  the Seller Total is calculated by the transaction subtotal plus all the costs you specified in your ShippingDetails container (AddOrder ).  

 You should set the Total  value to be greater or equal to the TransactionPrice total of all the transactions you attempt to combine in your AddOrder request. Otherwise you get a request Error 12104 as below.   

  <?xml version="1.0" encoding="UTF-8" ?>
   <AddOrderResponsexmlns="urn:ebay:apis:eBLBaseComponents">
     <Timestamp>2020-03-30T02:32:35.171Z</Timestamp>
   <Ack>Failure</Ack>
  <Errors>
   <ShortMessage>Total Amount has to be greater than or equal to transaction total</ShortMessage>
  <LongMessage>Total Amount has to be greater than or equal to transaction total</LongMessage>
  <ErrorCode>12104</ErrorCode>
  <SeverityCode>Error</SeverityCode>
  <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Version>505</Version>
  <Build>e505_core_Bundled_4458437_R1</Build>
  </AddOrderResponse>
 
NOTE. The TransactionArray.Transaction.TransactionPrice  property can be obtained  from GetItemTransaction or GetSellerTransactions API call.

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!