Search by

orboni / craft-commerce-orboni

orboni

Crypto payments for Craft Commerce: USDT, USDC, Bitcoin and more, paid straight to your own wallets through Orboni's payment page.

Package info

github.com/orboni/craft-commerce-orboni

Homepage

Documentation

Type:craft-plugin

pkg:composer/orboni/craft-commerce-orboni

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-11-23 00:06 UTC

This package is auto-updated.

Last update: 2026-11-23 00:12:09 UTC


README

Crypto payments for Craft Commerce: the buyer pays on Orboni's payment page, picking USDT, USDC, Bitcoin, Ethereum or another coin, from any wallet or exchange. The money goes straight to the wallets you set in the Orboni dashboard, and the order is completed and paid once the payment is final — on the buyer's return or by the webhook, whichever comes first.

It is a payment gateway for Craft CMS 5 with Commerce 5, tested end to end on Craft 5.12 with Commerce 5.7. Full guide: https://orboni.com/docs/craft-commerce

Install

From the Plugin Store in your control panel (search for Orboni), or with Composer:

composer require orboni/craft-commerce-orboni
php craft plugin/install commerce-orboni

Set it up

  1. In the Orboni dashboard, set the wallets you want to be paid to under Wallets, and copy a secret key under Developers → API keys — a test key (sk_test_…) first. Put it in your .env as ORBONI_SECRET_KEY.
  2. In Craft, open Commerce → System Settings → Gateways, press New gateway and choose Orboni. Name it (say, "Crypto (USDT, USDC, BTC and more)"), and enter $ORBONI_SECRET_KEY as the Secret key. Save.
  3. The gateway now shows its Webhook address. In the Orboni dashboard, under Developers → Webhooks, add an endpoint at it with the checkout.session.* events, put its signing secret (whsec_…) in .env as ORBONI_WEBHOOK_SECRET, and enter $ORBONI_WEBHOOK_SECRET as the Webhook signing secret. Save.
  4. Place an order with it, and on its payment page, signed in to the dashboard, press Simulate payment: the order is completed and paid. Then swap in your live key (sk_live_…) and the live endpoint's secret. The key decides test or live at Orboni.

Keep both values in environment variables: Craft writes gateway settings into the project config, which is usually committed to git.

Your checkout templates need nothing special: Orboni is an off-site gateway, so the usual commerce/payments/pay form with the gateway selected sends the buyer to the payment page. Its redirect and cancelUrl say where the buyer lands afterwards.

How orders move

Payment Orboni says In Commerce
Paid in full complete, paid The order completed and paid, a transaction naming the coin and the session — on the buyer's return or by the webhook, whichever comes first
On the chain, not final yet processing The order completed, unpaid; paid once final
Held for your review held The order completed, unpaid; accept it in the dashboard and it is paid
Part paid partially_paid Still a cart; the payment page asks the buyer for the rest
Back before paying open, unpaid Still a cart, the buyer back at checkout with a message; paying again opens the same page
Ran out unpaid expired Still a cart
Money that paid it left the chain payment_reversed A failed transaction saying not to ship until the dashboard shows it paid again

The gateway reads the payment back from Orboni before it records anything, so a webhook sent twice, late or out of order changes nothing. A cart changed after its page opened gets a new page for the new total, and the old one is closed.

Good to know

  • The currency: the order's payment currency — US dollars, euros, pounds, yen and any other currency a checkout session takes. The gateway is offered only in one of them.
  • The least an order may be is worth $1.00; below it Orboni refuses, and the buyer is told so and chooses another way to pay.
  • Refunds: the money is in your wallet, so send it back from there, then refund the transaction in Commerce: it is recorded in Orboni, and nothing moves by itself.
  • Several Craft sites can share one Orboni project: each adds its own endpoint and acts only on its own orders.
  • Orboni's errors are shown to the buyer as "Orboni: …" and written to Craft's log under commerce-orboni; keys and secrets never are.
  • What is sent: the order's outstanding amount and currency, its id, short number and lines, the buyer's email and language. No address or phone number.

Licence

MIT. Source: https://github.com/orboni/craft-commerce-orboni