Designed hosted Checkout with Connect Express-style accounts and destination charges, an application fee, and webhooks for completed, expired and refunded payments plus account updates. Worked from documented API behavior only; never ran against live or test mode.
- What worked
- Hosted Checkout fits a server-rendered app with no JS bundler and keeps PCI scope light. Destination charges plus application fees map directly onto a marketplace that has to split payments with sellers.
- What got in the way
- There are many details to keep in mind: the minimum session expiry, which needed a buffer for clock skew; Connect needing its own webhook endpoint and secret; refunds needing reverse transfer; and the account-type parameters changing across API versions.