Skip to main content
Published: March 04 2011, 10:38:00 AMUpdated: August 26 2022, 2:43:10 AM

What should I expect in the GetOrders response for an order that was partially refunded using PayPal?

If a transaction funded by PayPal was partially refunded you will observe the following in the GetOrders response -

  1. The OrderStatus for the order will stay as 'Completed'
  2. You will see two ExternalTransaction containers one for the payment and one for the refund.
  3. The AmountPaid = Original Payment Amount - Refund Amount
 <OrderArray>
    <Order>
      <OrderID>230575409980-546581043013</OrderID>
      <OrderStatus>Completed</OrderStatus>
      <AdjustmentAmount currencyID="USD">-5.6</AdjustmentAmount>
      <AmountPaid currencyID="USD">51.07</AmountPaid>
      <AmountSaved currencyID="USD">0.0</AmountSaved>
      <CheckoutStatus>
        <eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
        <LastModifiedTime>2022-08-26T03:24:07.000Z</LastModifiedTime>
        <PaymentMethod>PayPal</PaymentMethod>
        <Status>Complete</Status>
        </CheckoutStatus>
      <CreatedTime>2022-08-26T20:42:15.000Z</CreatedTime>
      <PaymentMethods>PayPal</PaymentMethods>
     <Subtotal currencyID="USD">56.67</Subtotal>
      <Total currencyID="USD">51.07</Total>
      <ExternalTransaction>
        <ExternalTransactionID>3AU27487HW764242X</ExternalTransactionID>
        <ExternalTransactionTime>2022-08-26T19:43:34.000Z</ExternalTransactionTime>
        <FeeOrCreditAmount currencyID="USD">1.38</FeeOrCreditAmount>
        <PaymentOrRefundAmount currencyID="USD">56.67</PaymentOrRefundAmount>
      </ExternalTransaction>
      <ExternalTransaction>
        <ExternalTransactionID>3JD48761UW703052V</ExternalTransactionID>
        <ExternalTransactionTime>2022-08-26T03:23:56.000Z</ExternalTransactionTime>
        <FeeOrCreditAmount currencyID="USD">-0.11</FeeOrCreditAmount>
        <PaymentOrRefundAmount currencyID="USD">-5.6</PaymentOrRefundAmount>
      </ExternalTransaction>  
    

 

 

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