eBay大中华区API开发者平台 开发者专区

搜 索
首页>API开发者平台>技术文档>调用GetSellerTransactions可以在TransactionArray.Transaction.Status.CheckoutStatus返回SellerResponded状态?

技术文档

问题
调用GetSellerTransactions可以在TransactionArray.Transaction.Status.CheckoutStatus返回SellerResponded状态?
解答
0
人觉得答案有帮助)

如果买家购买了某个商品并在完成支付前向卖家请求交易总额,TransactionArray.Transaction.Status.CheckoutStatus转为BuyerRequestsTotal。当卖家回应买家的请求后,TransactionArray.Transaction.Status.CheckoutStatus 转为SellerResponded

调用GetSellerTransactions转换CheckoutStatus字段的代码片段如下: 

 

 

 After buyer purchased the item

      <CreatedDate>2011-02-04T19:38:38.000Z</CreatedDate> 
       <Status> 
        <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus> 
        <CheckoutStatus>CheckoutIncomplete</CheckoutStatus> 
        <LastTimeModified>2011-02-04T19:38:39.000Z</LastTimeModified> 
        <PaymentMethodUsed>None</PaymentMethodUsed> 
        <CompleteStatus>Incomplete</CompleteStatus> 
        <BuyerSelectedShipping>false</BuyerSelectedShipping> 
        <PaymentHoldStatus>None</PaymentHoldStatus> 
        <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled> 
      </Status> 
      <TransactionID>611212955008</TransactionID> 
      </Transaction> 

After buyer requested total - 

  <CreatedDate>2011-02-04T19:38:38.000Z</CreatedDate> 
      <DepositType>None</DepositType> 
      <QuantityPurchased>1</QuantityPurchased> 
      <Status> 
        <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus> 
        <CheckoutStatus>BuyerRequestsTotal</CheckoutStatus> 
        <LastTimeModified>2011-02-04T19:47:15.000Z</LastTimeModified> 
        <PaymentMethodUsed>None</PaymentMethodUsed> 
        <CompleteStatus>Incomplete</CompleteStatus> 
        <BuyerSelectedShipping>false</BuyerSelectedShipping> 
        <PaymentHoldStatus>None</PaymentHoldStatus> 
        <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled> 
      </Status> 
      <TransactionID>611212955008</TransactionID> 
    </Transaction> 

After Seller responded to buyer request - 

  <CreatedDate>2011-02-04T19:38:38.000Z</CreatedDate> 
      <Status> 
        <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus> 
        <CheckoutStatus>SellerResponded</CheckoutStatus> 
        <LastTimeModified>2011-02-04T20:01:28.000Z</LastTimeModified> 
        <PaymentMethodUsed>None</PaymentMethodUsed> 
        <CompleteStatus>Incomplete</CompleteStatus> 
        <BuyerSelectedShipping>false</BuyerSelectedShipping> 
        <PaymentHoldStatus>None</PaymentHoldStatus> 
        <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled> 
      </Status> 
      <TransactionID>611212955008</TransactionID> 
      </Transaction>

After buyer completes checkout -

<CreatedDate>2011-02-04T19:38:38.000Z</CreatedDate> 
      <Status> 
        <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus> 
        <CheckoutStatus>CheckoutComplete</CheckoutStatus> 
        <LastTimeModified>2011-02-04T21:47:02.000Z</LastTimeModified> 
        <PaymentMethodUsed>PayPal</PaymentMethodUsed> 
        <CompleteStatus>Complete</CompleteStatus> 
        <BuyerSelectedShipping>true</BuyerSelectedShipping> 
        <PaymentHoldStatus>None</PaymentHoldStatus> 
        <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled> 
      </Status> 
       <TransactionID>611212955008</TransactionID> 
       <ExternalTransaction> 
        <ExternalTransactionID>7LY20014TT511654B</ExternalTransactionID> 
        <ExternalTransactionTime>2011-02-04T20:47:01.000Z</ExternalTransactionTime> 
        <FeeOrCreditAmount currencyID="USD">0.0</FeeOrCreditAmount> 
        <PaymentOrRefundAmount currencyID="USD">1.0</PaymentOrRefundAmount> 
      </ExternalTransaction> 

      <ShippingServiceSelected> 
        <ShippingService>ShippingMethodStandard</ShippingService> 
        <ShippingServiceCost currencyID="USD">0.0</ShippingServiceCost> 
      </ShippingServiceSelected> 
     </Transaction> 

 

 

答案对您有帮助吗?

是,对我很有帮助
否,没解决我的问题