PayPal payout error: Cannot read properties of undefined (reading 'senderFees') #6581
Labels
api
Issues that require some work on the API (https://github.com/opencollective/opencollective-api)
bug
complexity → simple
priority
Reported in https://opencollective.slack.com/archives/C0429NTTABF/p1679304696758789 (private)
It looks like PayPal made yet another breaking change to their API:
In some cases,
createPaymentResponse.defaultFundingPlan
looks like it's not set.Impacted expense: https://opencollective.com/siduction-eu/expenses/129072. The PayPal response looks like:
Looks like we may have to fetch the details from PayPal's API. Note that it doesn't seem to be affecting all expenses, as the admin noted:
The text was updated successfully, but these errors were encountered: