Update test CSVs to match importer implementations

Some upstream column names have changed over time and the importer
implementations have been updated, but not the test examples.
This commit is contained in:
Ben Sturmfels 2025-09-19 20:39:43 +10:00
parent 7aad059d3d
commit 1e8b2a77eb
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
3 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
Date,Disbursement ID,Name,Fund,Amount,Designation,On Behalf Of,Email,Company Name,Donation Type
10/01/20,123456,Company ,,15,,Employed Person,,Company,MatchingTransaction
09/24/20,123456,Employed Person ,,15,,-,person@example.com,Company,CreditCardTransaction
Created,Disbursement ID,Donor Name,Fund,Amount,Designation,On Behalf Of,Donor Email,Company Name,Type
10/01/2020,123456,Company ,,15,,Employed Person,,Company,MatchingTransaction
09/24/2020,123456,Employed Person ,,15,,-,person@example.com,Company,CreditCardTransaction

1 Date Created Disbursement ID Name Donor Name Fund Amount Designation On Behalf Of Email Donor Email Company Name Donation Type Type
2 10/01/20 10/01/2020 123456 Company Company 15 Employed Person Company MatchingTransaction MatchingTransaction
3 09/24/20 09/24/2020 123456 Employed Person Employed Person 15 - person@example.com person@example.com Company CreditCardTransaction CreditCardTransaction

View file

@ -1,4 +1,4 @@
sponsor handle,sponsor email,sponsorship started on,is public?,is yearly?,transaction id,tier name,tier monthly amount,processed amount,is prorated?,status,transaction date
sponsor handle,sponsor email,sponsorship started on,is public?,is yearly?,stripe transfer id,tier name,tier monthly amount,transferred amount,is prorated?,status,transaction timestamp
exampleA,ajones@example.com,2019-10-01 10:00:00 -0400,TRUE,FALSE,ch_1Gabcdefghijklmnopqrstuv,$1/month,$1.00,$1.00,FALSE,settled,2020-01-02 14:02:00 -0500
exampleB,,2019-11-01 11:00:00 -0400,FALSE,FALSE,1023ABCD5678EFGHI,$10/month,$10.00,$10.00,FALSE,settled,2020-01-03 15:03:00 -0500
exampleC,info@example.com,2019-12-01 12:00:00 -0500,TRUE,TRUE,ch_1Gabcdefghijklmnopqrstuw,$10/month,$10.00,$120.00,FALSE,settled,2020-01-04 16:04:00 -0500

1 sponsor handle sponsor email sponsorship started on is public? is yearly? transaction id stripe transfer id tier name tier monthly amount processed amount transferred amount is prorated? status transaction date transaction timestamp
2 exampleA ajones@example.com 2019-10-01 10:00:00 -0400 TRUE FALSE ch_1Gabcdefghijklmnopqrstuv ch_1Gabcdefghijklmnopqrstuv $1/month $1.00 $1.00 $1.00 FALSE settled 2020-01-02 14:02:00 -0500 2020-01-02 14:02:00 -0500
3 exampleB 2019-11-01 11:00:00 -0400 FALSE FALSE 1023ABCD5678EFGHI 1023ABCD5678EFGHI $10/month $10.00 $10.00 $10.00 FALSE settled 2020-01-03 15:03:00 -0500 2020-01-03 15:03:00 -0500
4 exampleC info@example.com 2019-12-01 12:00:00 -0500 TRUE TRUE ch_1Gabcdefghijklmnopqrstuw ch_1Gabcdefghijklmnopqrstuw $10/month $10.00 $120.00 $120.00 FALSE settled 2020-01-04 16:04:00 -0500 2020-01-04 16:04:00 -0500

View file

@ -1,3 +1,3 @@
id,Description,Created (UTC),Amount,Amount Refunded,Currency,Converted Amount,Converted Amount Refunded,Fee,Tax,Converted Currency,Mode,Status,Statement Descriptor,Customer ID,Customer Description,Customer Email,Captured,Card ID,Card Last4,Card Brand,Card Funding,Card Exp Month,Card Exp Year,Card Name,Card Address Line1,Card Address Line2,Card Address City,Card Address State,Card Address Country,Card Address Zip,Card Issue Country,Card Fingerprint,Card CVC Status,Card AVS Zip Status,Card AVS Line1 Status,Card Tokenization Method,Disputed Amount,Dispute Status,Dispute Reason,Dispute Date (UTC),Dispute Evidence Due (UTC),Invoice ID,Payment Source Type,Destination,Transfer,Transfer Group
id,Description,Created (UTC),Amount,Amount Refunded,Currency,Converted Amount,Converted Amount Refunded,Fee,Taxes On Fee,Converted Currency,Mode,Status,Statement Descriptor,Customer ID,Customer Description,Customer Email,Captured,Card ID,Card Last4,Card Brand,Card Funding,Card Exp Month,Card Exp Year,Card Name,Card Address Line1,Card Address Line2,Card Address City,Card Address State,Card Address Country,Card Address Zip,Card Issue Country,Card Fingerprint,Card CVC Status,Card AVS Zip Status,Card AVS Line1 Status,Card Tokenization Method,Disputed Amount,Dispute Status,Dispute Reason,Dispute Date (UTC),Dispute Evidence Due (UTC),Invoice ID,Payment Source Type,Destination,Transfer,Transfer Group
ch_oxuish6phae2Raighooghi3U,Payment for invoice #102,2017-11-08 16:56,100,0,usd,100,0,3,0,usd,Live,Paid,,cus_DohSheeQu8eng3,,one@example.org,true,card_na1joNohg9Aim6eg9eefooRe,0,American Express,credit,1,2010,Dakota Smith,1 Example St,,City,State,United States,12345,US,queiheVu2ohyei2u,pass,pass,pass,,,,,,,,card,,po_aeYees2ahtier8ohju7Eeyie,
ch_hHee9ef1aeyee1ruo7ochee9,Payment for invoice #100,2017-10-28 02:32,50,0,usd,50,0,1.4,0,usd,Live,Paid,,cus_iepae2Iecae8Ei,,two@example.org,true,card_sitej3Xi2aNgo1ohfoahue8e,1,Visa,credit,2,2011,Dakota Jones,2 Example St,,City,State,United States,12345,US,men2shi3xo1Mao4u,pass,pass,pass,,,,,,,,card,,po_aeYees2ahtier8ohju7Eeyie,

1 id Description Created (UTC) Amount Amount Refunded Currency Converted Amount Converted Amount Refunded Fee Tax Taxes On Fee Converted Currency Mode Status Statement Descriptor Customer ID Customer Description Customer Email Captured Card ID Card Last4 Card Brand Card Funding Card Exp Month Card Exp Year Card Name Card Address Line1 Card Address Line2 Card Address City Card Address State Card Address Country Card Address Zip Card Issue Country Card Fingerprint Card CVC Status Card AVS Zip Status Card AVS Line1 Status Card Tokenization Method Disputed Amount Dispute Status Dispute Reason Dispute Date (UTC) Dispute Evidence Due (UTC) Invoice ID Payment Source Type Destination Transfer Transfer Group
2 ch_oxuish6phae2Raighooghi3U Payment for invoice #102 2017-11-08 16:56 100 0 usd 100 0 3 0 0 usd Live Paid cus_DohSheeQu8eng3 one@example.org true card_na1joNohg9Aim6eg9eefooRe 0 American Express credit 1 2010 Dakota Smith 1 Example St City State United States 12345 US queiheVu2ohyei2u pass pass pass card po_aeYees2ahtier8ohju7Eeyie
3 ch_hHee9ef1aeyee1ruo7ochee9 Payment for invoice #100 2017-10-28 02:32 50 0 usd 50 0 1.4 0 0 usd Live Paid cus_iepae2Iecae8Ei two@example.org true card_sitej3Xi2aNgo1ohfoahue8e 1 Visa credit 2 2011 Dakota Jones 2 Example St City State United States 12345 US men2shi3xo1Mao4u pass pass pass card po_aeYees2ahtier8ohju7Eeyie