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

搜 索
首页>API开发者平台>技术文档>卖家通过PayPal退款对GetSellerTransactions的Response交易状况会有什么影响

技术文档

问题
卖家通过PayPal退款对GetSellerTransactions的Response交易状况会有什么影响
解答
0
人觉得答案有帮助)
当一笔交易发生退款时,交易的状况会在GetSellerTransaction中发生变化。以下是PayPal付款和退款的实例:

一个买家在2010-03-30T18:03:03.000Z购买了商品,并在2010-03-30T18:05:56.000Z通过PayPal付款。ExternalTransaction中显示了付款的情况,CheckOutStatus显示买家已经完成了checkout的流程。

 <Timestamp>2010-03-30T18:06:27.714Z</Timestamp>
<CreatedDate>2010-03-30T18:03:03.000Z</CreatedDate>
- <Status>
  <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
  <CheckoutStatus>CheckoutComplete</CheckoutStatus>
  <LastTimeModified>2010-03-30T18:05:59.000Z</LastTimeModified>
  <PaymentMethodUsed>PayPal</PaymentMethodUsed>
  <CompleteStatus>Complete</CompleteStatus>
  <BuyerSelectedShipping>true</BuyerSelectedShipping>
  <PaymentHoldStatus>None</PaymentHoldStatus>
  <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
  </Status>
  <TransactionID>0</TransactionID>
  <TransactionPrice currencyID="USD">10.0</TransactionPrice>
  <BestOfferSale>false</BestOfferSale>
- <ExternalTransaction>
  <ExternalTransactionID>3B094585MY1123322</ExternalTransactionID>
  <ExternalTransactionTime>2010-03-30T18:05:56.000Z</ExternalTransactionTime>
  <FeeOrCreditAmount currencyID="USD">0.74</FeeOrCreditAmount>
  <PaymentOrRefundAmount currencyID="USD">15.0</PaymentOrRefundAmount>
  </ExternalTransaction>

当卖家为这笔交易对买家通过PayPal退款后,CheckoutStatus从CheckoutComplete变为CheckoutIncomplete,同时产生一个新的ExternalTransaction 信息出现在Response中,并且相关的amounts为负值。

 <Timestamp>2010-03-30T18:14:27.368Z</Timestamp>
- <Status>
  <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
  <CheckoutStatus>CheckoutIncomplete</CheckoutStatus>
  <LastTimeModified>2010-03-30T18:14:08.000Z</LastTimeModified>
  <PaymentMethodUsed>PayPal</PaymentMethodUsed>
  <CompleteStatus>Incomplete</CompleteStatus>
  <BuyerSelectedShipping>true</BuyerSelectedShipping>
  <PaymentHoldStatus>None</PaymentHoldStatus>
  <IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
  </Status>
  <TransactionID>0</TransactionID>
  <TransactionPrice currencyID="USD">10.0</TransactionPrice>
  <BestOfferSale>false</BestOfferSale>
- <ExternalTransaction>
  <ExternalTransactionID>3B094585MY1123322</ExternalTransactionID>
  <ExternalTransactionTime>2010-03-30T18:05:56.000Z</ExternalTransactionTime>
  <FeeOrCreditAmount currencyID="USD">0.74</FeeOrCreditAmount>
  <PaymentOrRefundAmount currencyID="USD">15.0</PaymentOrRefundAmount>
  </ExternalTransaction>
- <ExternalTransaction>
  <ExternalTransactionID>0KV35537N54870704</ExternalTransactionID>
  <ExternalTransactionTime>2010-03-30T18:13:48.000Z</ExternalTransactionTime>
  <FeeOrCreditAmount currencyID="USD">-0.74</FeeOrCreditAmount>
  <PaymentOrRefundAmount currencyID="USD">-15.0</PaymentOrRefundAmount>
  </ExternalTransaction>

答案对您有帮助吗?

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