Prices can now be set in EUR, GBP and other ECB reference currencies (displayCurrency + displayAmount, or currency on quick products). Each checkout converts them to USDC at the live rate from a frankfurter service (MIT, FX_RATES_URL), rounded half-up to the cent with exact bigint math, and locks the quote on the session (fxQuote) until it expires, so onchain verification expects exactly the quoted USDC. Promo, tax, receipts and the hosted checkout lines use the locked rate; the payment link page shows the fiat price and today's USDC amount. Missing or implausible rates fail closed (503); fiat subscriptions and mixed fiat currencies are refused. Dashboard product form gets a currency picker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
1.3 KiB
Markdown
11 lines
1.3 KiB
Markdown
# Open source used by SettleKit
|
|
|
|
Every third-party project SettleKit depends on, vendors, or models a feature on for the parity work (branch `parity/2026-09-30`). Licences were checked on 2026-09-30.
|
|
|
|
| Project | Licence | How it is used | Where |
|
|
|---------|---------|----------------|-------|
|
|
| [foliojs/pdfkit](https://github.com/foliojs/pdfkit) 0.17.2 | MIT | npm dependency (not vendored). Renders invoice and receipt PDFs. | `packages/invoices/src/pdf.ts` |
|
|
| [btcpayserver/btcpayserver](https://github.com/btcpayserver/btcpayserver) | MIT | Design reference only, no code copied. The invoice / payment request lifecycle (issue, public pay page, expiring payment attempts that can be re-opened, settle only on a confirmed payment) follows its model. | `packages/invoices/src/payment.ts` |
|
|
| [btcpayserver/woocommerce-greenfield-plugin](https://github.com/btcpayserver/woocommerce-greenfield-plugin) @ `371ebfc744d0f0e9e6da581a1b00c11d59a6c026` | MIT | Ported (structure and flow, rewritten for the SettleKit API). Notice kept in the plugin's `LICENSE` and `NOTICE`. | `plugins/woocommerce/settlekit-for-woocommerce` |
|
|
| [lineofflight/frankfurter](https://github.com/lineofflight/frankfurter) | MIT | Separate service (self-host or public instance), called over HTTP for ECB reference rates. No code copied. | `apps/api/src/fx/rates.ts` |
|