Find the answer to your question
Advanced Search
Published: March 04 2011, 10:38:00 AMUpdated: August 26 2022, 2:43:10 AM
Product
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 -
- The OrderStatus for the order will stay as 'Completed'
- You will see two ExternalTransaction containers one for the payment and one for the refund.
- 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> |