Cashline

2026-08-29

Paystack analytics without a fake charge

Put visitor_id on initialize metadata. Count rand only after verify or a signed webhook.

The only payment story Cashline ships native

Cashline initializes Paystack with email, plan code, and metadata: visitor_id, session_id, landing_page, first_referrer. Starter is PLN_su9arwmqh854pjm (R149). Growth is PLN_eizhuzd8dckw0pm (R299). The secret key is read from PAYSTACK_SECRET_KEY only.

How a SA SaaS should pass visitor_id

Read cashline('identity') in the browser (or the same keys from localStorage). Send visitor_id into your /transaction/initialize metadata. After Paystack redirects back, verify the reference on the server. Then fire cashline('purchase') if you want the tracker total to move the same day — or wait for charge.success on the webhook. Never treat authorization_url as revenue.

TEST cards are still real TEST charges

The dummy R99 on /test opens Paystack TEST. Success is shown only after server-side verify. The board lights only after that confirm. Charges are never faked.

All notes