</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

03

:

08

:

28

Get this deal
Back to Dashboard

Order Payment Reconciler

Medium

A billing system needs to match incoming payments to open orders. Each payment arrives as a comma-separated string with three fields: a payment ID, a payment amount (positive integer), and a memo note. The memo may contain a reference like "ref:<orderId>" indicating which order the payment targets. Each order is also a comma-separated string with three fields: an order ID, an order amount (positive integer), and a due date in "YYYY-MM-DD" format.


...