i currently use the Transaction Search API from Paypal to get a list of transactions, however i have issues getting updated transaction_status, for example:
client pays transaction_status = S explained here , then the client later decides to refund the payment through his paypal account, now the transaction_status should be set to Status code "V", but the same transaction appears under "S" => success, ive waited for 1 hour but updates still dont take place, some say for new transactions there can be 3h or 24h delay.
but is there any fix to transaction update ? does paypal have a API Request that i can call to update the given transaction within the 31 day limit , i dont want to wait for 24 hours or more for my transactions to be updated?
example parameters that i use but should not show any refunded transaction
$params = ['start_date' => $endDate->format('Y-m-d\TH:i:sP'),'end_date' => $currentDateTime->format('Y-m-d\TH:i:sP'),'transaction_type' => 'T0006','page_size' => 500,'page' => $page,'transaction_status' => 'S','instrument_type' => 'Sofort' ];
but in the response i get transaction_id with refunded status in which their 'transaction_status' is still 'S', but when i look at the transaction in paypal account, it has been refunded.
Thansk alot.