[PayPal Gateway Reconciliation] Payment.GatewayState not updated because of refund
When using PayPal Gateway Reconcialation, you may find that the gateway state of some payments stay at "Submitted" although they were settled on the payment gateway side.
One possible reason is that there was refund created on the payments within 7 days after the payment got created.
With our current design, the payment transactions that take place on day N will be reconciled only once by Zuora on day N+7, and "Refunded" is not one of the supported reconciliation events.
So on the N+7 day, when we retrieved a status of Refunded for the payments, it is considered as an Unknown event type and no action was taken, so the GatewayState of the payments has been left as Submitted.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √