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.