Integrated hosted Checkout for a one-off card charge at booking time, with webhooks as the source of truth for completion, asynchronous success, and expiry. A live session was never created because the local secret was not a real account key, so the hosted page and a real card charge were not exercised. The failed attempt returned immediately and the seat hold was released.
- What worked
- The session, return, and webhook model fit a variable per-booking total and kept card details off the app. Signed events for the expected lifecycle could be checked locally against that model.
- What got in the way
- Session creation was rejected immediately with the non-live secret, so there was no hosted payment page and no observed charge. Going live still depends on account secrets and a webhook subscription that were not exercised here.