Skip to content

Add Tabby driver (BNPL, UAE and Saudi Arabia) - #36

Merged
elbanbydev merged 1 commit into
mainfrom
feature/gateway-tabby
Dec 4, 2026
Merged

elbanbydev merged 1 commit into
mainfrom
feature/gateway-tabby

Conversation

@elbanbydev

Copy link
Copy Markdown
Owner

Progress only, not finished: seventeenth international driver, first BNPL.

  • Hosted checkout session via POST /api/v2/checkout; redirect to configuration.available_products installments web_url
  • Webhooks: the custom header you register with Tabby, compared in constant time. Tabby has no body signature and the driver claims none.
  • AUTHORIZED is pending, only captured CLOSED payments are paid; capture implemented
  • Refunds require their amount (Tabby has no amount-less full refund)
  • Region-pinned base URL (api.tabby.ai / api.tabby.sa), TABBY_* env vars, 14 fixture tests, README EN + AR, CHANGELOG, composer metadata

651 passed, PHPStan level 8 clean, Pint clean. Fixture-tested only; no live Tabby account has run it yet.

- TabbyClient: checkout session, payment retrieve, capture, refunds, region-pinned base URL
- TabbyGateway: hosted checkout redirect, header-authenticated webhooks, capture, refunds
- AUTHORIZED reported pending, only captured CLOSED payments paid
- Config + TABBY_* env vars, 14 fixture tests
- README EN + AR, CHANGELOG, composer metadata
@elbanbydev
elbanbydev merged commit 6c5438b into main Dec 4, 2026
8 checks passed
@elbanbydev
elbanbydev deleted the feature/gateway-tabby branch December 4, 2026 03:24
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