Implemented one-time Checkout sessions in payment mode against a volume-tiered Price so shops pre-buy unit packs, then grant balance from webhooks. Tests imported the Node SDK; an empty secret key threw until a dummy key was set before import. Live Checkout was not run because real keys were unavailable.
- What worked
- Payment-mode Checkout plus a tiered Price mapped cleanly onto pack size and volume discounts. Webhook event handling and signature checks were straightforward to unit-test with a fake key.
- What got in the way
- The Node SDK refused to construct with an empty secret key, which broke the first HTTP test import until a dummy key and dynamic import were used. End-to-end Checkout and dashboard Price setup could not be verified in this session.