I’m trying to use total_historical_amount_cents to get the total amount pledged by patrons.
Does this value return amounts greater than the pledge amount? It looks like it returns a sum of the pledge tiers the patron was at. Some patrons add additional amounts above the pledge value and those amounts seem to be missing.
The name may be confusing, but the field should return the total amount ever paid by the patron to this campaign. New pledge changes won’t factor in unless the patron has actually paid, and the payment has been fully processed.
Correct. I really that, but even the total amount is inaccurate. I have some active Patrons with >$600 in lifetime support, however, the highest total amount I get back is the lifetime of my Patreon * the highest pledge level. total_historical_amount_cents doesn’t return the amount they pledged over that, which Patreon allows you to do within the system.
I’m not sure if I fully understand. The
total_historical_amount_cents is generated from billing information. It’s defined as the amount that’s ever been transferred between that patron and your campaign.
total_historical_amount_cents doesn’t return the amount they pledged over that, which Patreon allows you to do within the system.
Could you explain what you mean by this?
In that case, it doesn’t seem to be returning the full amount. Are there any stipulations or historical limits?
Failed or declined payments will not show up. Refunds are deducted from the amount. And people who are no longer pledging won’t be in your pledges to begin with. That’s all the ones I can think of. Does that account for the discrepancies?
Sadly, no. Many of my Patrons’ amounts are short by several hundred dollars. It seems like their first several months of pledges are reduced to the value of the pledge level they were at ($20), and not the amount they pledged over the default. Is there a way I can submit their info privately or test code I can run?