JoomShopping
The Orboni package adds crypto to JoomShopping’s checkout, with no code. The buyer chooses Crypto as the payment method, presses Confirm order and pays on Orboni’s payment page, picking a coin and paying from any wallet or exchange. The money goes to the wallets you set in the dashboard, and the order is marked paid by itself once the payment is final.
It is a payment method for JoomShopping 5 on Joomla 5 or 6 and PHP 8.1 or later, tested end to end on Joomla 5.4 and 6.2 with JoomShopping 5.10. It is free, and its source is open, under the GNU GPL (version 2 or later): orboni/joomshopping-payment on GitHub. Joomla’s own updater offers its new versions.
Set it up
- 1Download pkg_orboni_joomshopping.zip from the newest release. In Joomla’s administrator, open System → Install → Extensions and upload it. It adds the payment method, unpublished, and switches on the small plugin that goes with it.
- 2Open Components → JoomShopping → Options → Payments and the method “Crypto (USDT, USDC, BTC, ETH and more)”. Change its name or description on the General tab if you like.
- 3In the Orboni dashboard, set the wallets you want to be paid to under Wallets, then copy a secret key under Developers → API keys — a test key (
sk_test_…) first — into Secret key on the method’s Config tab, tick Published and save. - 4Under Developers → Webhooks, add an endpoint at the Webhook address the method’s settings show, with every event, or at least the
checkout.session.*ones, and paste its signing secret (whsec_…) into Webhook signing secret. Save. - 5Add the Cron address shown under it in System → Scheduled Tasks as a GET Request task every 15 minutes, or call it from your server’s cron: it reads back payments whose webhook did not arrive, and cancels orders left unpaid.
- 6Place an order with Crypto, and on its payment page, signed in to the dashboard, press Simulate payment: the order turns Paid. Then swap in your live key (
sk_live_…) and the live endpoint’s secret. The key decides test or live at Orboni.
How orders move
Confirm order makes the order as JoomShopping does for any online payment — Pending, not placed yet: no order email, no stock taken — and sends the buyer to Orboni’s payment page for its total. Once a payment is seen the order is placed: JoomShopping sends its order emails, takes the stock and empties the cart. The method reads the payment back from Orboni before it changes anything, and the order follows the payment as it is now — whether the webhook, the buyer’s return or the cron comes first, twice or out of order. What happened is written in the order’s history for you; the buyer hears only JoomShopping’s own emails.
| Payment | Orboni says | In JoomShopping |
|---|---|---|
| Paid in full | complete, paid | Placed and Paid, a history line naming the coin, the network and the session, which is also the order’s transaction |
| On the chain, not final yet | processing | Placed as Pending, with a history line; Paid once final |
| Part paid | partially_paid | Placed as Pending, saying how much came; the payment page asks the buyer for the rest |
| Held for your review | held | Placed as Pending, giving the reason; accept it in the dashboard and the order is Paid |
| Left by the page’s back link, or the browser’s Back | expired, unpaid | The page is closed at Orboni and the order Cancelled; the buyer is back at Confirm order with the cart, to pay again or another way |
| Ran out with nothing paid | expired, unpaid | A history line; Cancelled by the cron after the hours set (24 unless you change them; 0 keeps the order) |
| Ran out part paid | expired, partially_paid | A history line saying what arrived of what was due; settle the rest with the buyer |
| Paid for an order changed after its page opened | complete, paid | Placed as Pending, not Paid, with what was paid and what the order totals; check it before shipping |
| Money that paid it left the chain | payment_reversed | Back to Pending, told not to ship until the dashboard shows it paid again |
| More came after it was paid | extra_received | A history line saying what came in all; send the extra back from your wallet if the buyer asks |
| Paid after the order was cancelled | complete, paid | Left Cancelled, with a history line: restore it, or send the money back from your wallet |
The statuses for paid, on its way and cancelled can be changed in the method’s settings. An order you cancel in the admin closes its payment page at Orboni, so nobody can pay it after. Back from the payment page, the buyer lands on JoomShopping’s last page once the payment is seen, which says where it stands while it is not final; before that, they are sent back to the same payment page. Without a webhook a payment is still recorded once the buyer comes back, and the cron address reads back open pages whose webhook did not arrive; set up the webhook all the same.
Good to know
- The currency: the order’s — US dollars, euros, pounds, yen or any other currency a checkout session takes (Currencies in the API reference). The payment page shows the order’s total in it, and the buyer pays its worth in the coin they pick. Crypto is left out of the payment step when the shop’s currency is not one of them.
- The least is worth $1.00. In dollars Crypto is left out of the payment step below it; in another currency the buyer is told the order is below the minimum and is back at Confirm order to choose another way to pay.
- A buyer who comes back to the payment step for the same order gets the same payment page while it is open for more than five more minutes, not a second one.
- Refunds: the money is in your wallet, so send it back from there, record the refund in the dashboard, and set the order Refunded in JoomShopping.
- Several Joomla sites can share one Orboni project: each adds its own endpoint and acts only on its own orders.
- The secret key and the signing secret are kept in Joomla’s database with the method’s other settings and never shown again in its settings page: leave a field empty to keep what is saved. Debug log writes each request and webhook to administrator/logs/pm_orboni.php; errors are written either way, keys and secrets never.
- Uninstalling the package unpublishes the method and keeps it, so past orders still name how they were paid.
What the method sends
Each order makes a checkout session through POST /v1/checkout/sessions, with an idempotency key of the site, the order and its amount, and the try, so a retry never makes a second one. Nothing is sent until the method has your key and a buyer pays with it.
- amountinteger
- The order’s total with shipping, taxes and any fee, in the currency’s smallest unit: cents, or whole yen.
- currencystring
- The order’s currency, in lower case: usd, eur, jpy…
- descriptionstring
- The order’s products, as “Mug × 2, Poster”, cut at 250 characters.
- detailsstring
- The order number and your shop’s name: “Order 00000042 at Example Store”.
- client_reference_idstring
- JoomShopping’s order id: “42”.
- metadataobject
- joomshopping_order_id, joomshopping_order_number and joomshopping_site — a key made from your Joomla site’s own secret, so two sites on one project never act on each other’s events.
- customer_emailstring
- The buyer’s email, where Orboni sends the receipt when your project sends receipts.
- localestring
- The order’s language in your store, as en-GB.
- success_url, cancel_urlstring
- The method’s return and cancel addresses, with the order and a key of its own: the first reads the payment back and shows JoomShopping’s last page, the second closes the page and takes the buyer back to Confirm order with the cart.
No address, phone number or other buyer data is sent. A payment in the dashboard, an export or a webhook leads to its order by client_reference_id, and an order to its payment by the session id in its history and as its transaction.
This page as Markdown, for a program or an AI assistant: /docs/joomshopping.md. Something missing or unclear? Write to us from the dashboard’s Help & Support.