Breaking Changes
- Updated
stripe__balance_transactionsto correctly handle multiple disputes on the same transaction:- Adjusted
customer_facing_amountto reflect thedispute_amountof the latest dispute (if the transaction is not a charge or refund and is associated with any disputes) (PR #92). - Added the following the dispute-related columns (PR #92):
latest_dispute_amount_won: Latest disputed amount that was won in favor of the merchant.latest_dispute_amount_lost: Latest disputed amount that was lost and returned to the customer.latest_dispute_amount_under_review: Latest disputed amount that is currently under review by the bank.latest_dispute_amount_needs_response: Latest disputed amount that currently needs a response (the dispute has been filed but the merchant has not yet responded with evidence).latest_dispute_amount_warning_closed: Latest disputed amount that is currently of statuswarning_under_closed(early fraud warning being closed due to no formal dispute).latest_dispute_amount_warning_under_review: Latest disputed amount that is currently of statuswarning_under_review(card issuer suspects possible fraud but hasn't yet escalated the situation to a full dispute).latest_dispute_amount_warning_needs_response: Latest disputed amount that is currently of statuswarning_needs_response(early fraud warning has been escalated into formal dispute and/or card issuer has requested more information).dispute_count: Count of disputes raised against this transaction. If > 1, join indisputedata for additional information on each dispute.
- Adjusted the
dispute_idanddispute_reasonfields to aggregate together data from multiple disputes if present. They have been renamed todispute_idsanddispute_reasonsin the following models (PR #88):stripe__balance_transactionsstripe__activity_itemized_2stripe__balance_change_from_activity_itemized_3stripe__ending_balance_reconciliation_itemized_4
- Adjusted
Under the Hood
- Updated
disputeseed data to test the above changes (PR #92). - Added additional validation tests on the affected models from above (PR #92).
Contributors
Full Changelog: v0.14.1...v0.15.0