-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate/Remove PayPal adaptive #5923
Comments
Yet another adaptive breaking change: #6581. I'm discussing with OCEU about moving them to PayPal payouts. |
This issue is making it more complex to optimize the host admin page, because we need to refetch the balance for adaptive in multiple occasions. I'm willing to iterate on it. Some data first:
Query
select C.slug, COUNT(t.id) AS total_transactions,
COUNT(t.id) FILTER (WHERE t."createdAt" > NOW() - INTERVAL '6 month') AS total_transactions_last_6_months
from "PaymentMethods" pm
INNER JOIN "Collectives" C on pm."CollectiveId" = C.id
LEFT JOIN "Transactions" t ON t."PaymentMethodId" = pm.id AND t.kind = 'EXPENSE' AND t.type ='DEBIT'
WHERE pm.service = 'paypal' AND pm.type ='adaptive'
AND pm."deletedAt" IS NULL
AND pm."expiryDate" > NOW() - INTERVAL '6 month'
GROUP BY C.id
ORDER BY COUNT(t.id) DESC Actions
|
I just disabled adaptive for all hosts that never used it ( Details
'amtv', We're now down to a list of 12 hosts
|
OCEU's request for PayPal payouts got rejected. Seems like we'll be stuck with adaptive for some time. |
Related to #4210
Motivation
Proposed plan
The text was updated successfully, but these errors were encountered: