Commerce
Commerce in the Carbium Library: 4 working Solana examples, among them Abandoned checkout report, WooCommerce payment matcher and Invoice payment tracker.
- Abandoned checkout report BI0124
Spec and runnable code that sorts checkouts into paid, failed attempt, open or abandoned from their reference addresses and prints the abandonment rate.
- WooCommerce payment matcher BI0122
Spec and runnable code that matches a WooCommerce order to a finalized SOL payment by its Solana Pay reference key and says whether to mark it processing.
- Invoice payment tracker BI0021
Spec and runnable code that checks an invoice against finalized SOL payments to one address and reports unpaid, partial, paid or overpaid.
- Point-of-sale recent sales BI0008
A Solana Pay point-of-sale page that lists recent sales with amount, time and the sender's public key, read over RPC, with runnable code.