Skip to content

Ligare Hotels: Connect hosted pay + multi-LLM gateway - #391

Merged
telivity-otaip merged 2 commits into
mainfrom
cursor/ligare-hotels-connect-pay-df22
Oct 25, 2026
Merged

telivity-otaip merged 2 commits into
mainfrom
cursor/ligare-hotels-connect-pay-df22

Conversation

@telivity-otaip

@telivity-otaip telivity-otaip commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

End-to-end book + pay inside ChatGPT / Claude / Gemini via HAIP Connect and the Ligare Hotels gateway.

Connect API (/api/v1/connect)

  • Tax-inclusive booking totals (aligned with search) + taxAmount
  • hosted_checkout with explicit paymentMode: charge | authorize | guarantee from deposit policy
  • connect_payment_sessions migration + Idempotency-Key
  • payment-status / confirm-payment with PSP reconcile; Stripe checkout.session.completed bridge; TTL void for authorizes
  • Attribution: channelCode: LIGARE + clientPlatform

Gateway (tools/haip-connect-gpt)

  • Allow-list (≤60s cache for search; live check on detail/prepareBooking → 404)
  • prepareBooking + confirmPayment (no card fields in OpenAPI)
  • MCP at /mcp + updated OpenAPI; setup notes in LIGARE-HOTELS.md
  • Unit tests for allow-list, OpenAPI, scrub, and auth

Gateway URLs

  • OpenAPI: <PUBLIC_BASE_URL>/openapi.json
  • MCP: <PUBLIC_BASE_URL>/mcp
  • Privacy: <PUBLIC_BASE_URL>/privacy
  • Smoke: GATEWAY_BASE_URL=… node tools/haip-connect-gpt/scripts/e2e-smoke.mjs

No secrets committed.

Open in Web Open in Cursor 

Tax-inclusive Connect totals, connect_payment_sessions with
charge/authorize/guarantee modes, idempotent confirm and PSP reconcile,
gateway allow-list with prepareBooking/confirmPayment, and MCP/OpenAPI
for ChatGPT, Claude, and Gemini.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/ligare-hotels-connect-pay-df22 branch from ff11596 to f75a099 Compare October 25, 2026 06:11
Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip merged commit 4cc8d49 into main Oct 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants