Success Story: LawPay & Salesforce Automation | Twopir Consulting
80%
Faster payment
processing
75%
Reduction in
accounting admin
90%
Faster fee
reconciliation
99%
Transaction
accuracy
Real‑time
Financial visibility
across matters
0 hrs
Manual data entry
per payment
Industry
Family Law
Region
United States
Client Type
SMB Law Firm
Transaction Volume
E-Check payments, multi-matter
Platform
Salesforce + LawPay + Accounting Seed
Delivery Timeline
4-Phase Implementation
80%
Faster payment processing — e-check transactions sync to Salesforce in real time, replacing same-day manual entry batches
75%
Reduction in accounting administration — cash receipts and disbursement records now generate automatically after each payment event
90%
Faster fee reconciliation — merchant processing fees are captured and logged as disbursement records at the moment of each transaction
99%
Transaction accuracy — Apex payment logic eliminates manual data-entry errors across payment amounts, dates, and matter references
Real‑time
Financial visibility across all matters — finance staff can see payment status, receipts, and fees without waiting for end-of-day reconciliation
0 hrs
Manual data entry per payment — staff time previously spent re-keying transactions is now redirected to client-facing work

Challenge vs. Solution

Six Operational Problems That Drained Finance Hours — and Six Fixes That Eliminated Them

✕ Before — The Challenges 6 Challenges
Every LawPay transaction was manually re-entered into Salesforce, creating a time-consuming dual-entry process prone to keying errors.
Cash Receipt records were created by hand after each payment, requiring staff to locate the correct matter, match amounts, and input transaction IDs manually.
LawPay merchant/processing fees were calculated manually with no system to auto-generate corresponding disbursement records per transaction.
Reconciliation was a monthly manual effort — finance staff spent significant time cross-referencing LawPay statements against Salesforce and Accounting Seed records.
No real-time financial visibility across matters — payment status, outstanding balances, and fee disbursements were only current after manual updates.
Operations and finance bottlenecks accumulated as team headcount constrained the volume of manual payment processing the firm could handle.
✓ After — What We Built 6 Solutions
Real-time AffiniPay/LawPay API integration syncs every e-check transaction to Salesforce automatically the moment a payment is submitted — no manual entry required.
Automated Cash Receipt generation via Salesforce Flow creates a complete, linked receipt record — amount, transaction ID, date, and matter — immediately after each successful payment.
Auto-calculated Disbursement records are created for merchant processing fees at the time of each transaction, logging the exact fee amount without any manual calculation.
Near real-time reconciliation — Accounting Seed records update automatically on each payment event, replacing the monthly manual reconciliation process entirely.
Live financial visibility across all matters — finance teams see payment status, receipts, and disbursements in real time without waiting for batch updates or manual input.
Staff time fully reallocated from data entry to client-facing activities — the automation handles the full payment-to-accounting flow with no human intervention required.

What We Did

Four Phases That Took the Firm From Manual Entry to Full Automation

Discovery

Mapped Every Payment Touchpoint Before Writing a Line of Code

We reviewed Weinberger Law Group's existing LawPay payment workflows end-to-end, mapping the full lifecycle from e-check submission to Accounting Seed reconciliation. We identified every manual handoff, data duplication point, and integration gap that was costing the finance team time.

Process MappingPayment Lifecycle AnalysisIntegration ArchitectureAccounting Seed Audit
Integration

Built the LawPay–Salesforce Real-Time Payment Sync

We implemented the AffiniPay/LawPay REST API connection and wrote Salesforce Apex to handle payment processing logic — auto-identifying the correct client and matter record on each inbound transaction. Every e-check event in LawPay now triggers an immediate, structured update in Salesforce.

AffiniPay / LawPay REST APISalesforce ApexReal-Time SyncMatter Record Matching
Automation

Automated Cash Receipt and Fee Disbursement Record Creation

We built Salesforce Flow automations that trigger on each successful payment event — generating a fully populated Cash Receipt (linked to the matter) and a separate Disbursement record for the LawPay merchant processing fee. No manual calculation, no human touchpoint between payment and accounting record.

Salesforce FlowCash Receipt AutomationDisbursement Record CreationAccounting Seed Integration
Testing

Validated Every Scenario Against the Manual Process

We ran multi-scenario e-check tests covering successful payments, failed transactions, partial payments, and edge-case fee calculations — running each in parallel against the firm's prior manual process to confirm accuracy. Every automated output was verified against what staff had previously produced by hand.

Multi-Scenario E-Check TestingParallel ValidationTransaction Accuracy Audit
Deployment

Deployed to Production and Enabled the Finance Team

We deployed the full integration to the Weinberger Law Group production environment and ran hands-on training sessions with finance and operations staff. We set up monitoring to track payment event success rates and alert on any sync failures — ensuring the team had full confidence from day one.

Production DeploymentStaff TrainingPayment MonitoringError Alerting

The team used to spend hours every week manually re-entering LawPay transactions and calculating merchant fees. Now the system does it instantly — cash receipts are created, fees are logged, and Accounting Seed is updated before anyone even opens a spreadsheet. It changed how the whole finance operation runs.

— Twopir Project Lead · US Family Law Firm · Salesforce + LawPay Implementation · 2024

Key Outcomes

What Changed — In Numbers and in Practice

80%

Payment processing is 80% faster — from submission to Salesforce record

LawPay e-check payments now sync to Salesforce in real time via REST API. The same-day manual entry batches that previously dominated the finance team's mornings are gone entirely.

75%

Accounting admin down 75% — Cash Receipts generate without staff involvement

Each successful payment now auto-generates a fully populated Cash Receipt record linked to the correct matter in Accounting Seed. Finance staff no longer create, match, or verify these records manually.

90%

Fee reconciliation is 90% faster — disbursements created at transaction time

LawPay merchant processing fees are automatically calculated and logged as Disbursement records at the moment of each payment event — ending the monthly manual fee reconciliation cycle.

99%

99% transaction accuracy — Apex logic eliminates human data-entry error

Custom Salesforce Apex handles the payment matching and record creation logic. Payment amounts, transaction IDs, dates, and matter references are captured exactly as they appear in LawPay — no re-keying, no mismatches.

Live

Real-time financial visibility — every matter shows current payment status

Finance and operations teams can see payment status, cash receipts, and fee disbursements across all matters in real time — without waiting for end-of-day manual updates or monthly reconciliation reports.

0 hrs

Zero hours of manual payment entry — staff time reallocated to client work

The full payment-to-accounting flow now runs without human intervention. Finance and operations staff who previously spent hours each week on payment data entry are now focused on client-facing and higher-value activities.


Technologies Used

The Tools and Techniques Behind This Engagement

Salesforce Sales Cloud AffiniPay / LawPay Accounting Seed Salesforce Apex Salesforce Flow LawPay REST API Cash Receipt Automation Disbursement Charge Automation Real-Time Transaction Sync Matter Record Integration

Running a law firm payment process that still relies on manual entry?

We can audit your current LawPay or payment gateway setup and map exactly what can be automated — free, with findings delivered in 5 business days. No commitment required. We serve US, Canada, UK, UAE, Australia and New Zealand clients across EST, GMT, and AEST time zones.


More From Twopir

Built for firms that can't afford payment errors or wasted hours

Twopir Consulting has delivered Salesforce integrations for 500+ clients across 12+ years — including legal, healthcare, SaaS, and financial services firms in the US, Canada, UK, UAE, Australia and New Zealand. We build integrations that run reliably, not just ones that demo well.

12+ Years · 500+ Clients · Salesforce Partner · HubSpot Partner · US · Canada · UK · UAE · Australia · New Zealand