# Changelog

## 2026-10-21 — SDK pages
- New **SDKs** menu in the site header and the docs sidebar, with one page per SDK: [Flutter](/docs/flutter-sdk),
  [Android](/docs/android-sdk), [React Native](/docs/react-native-sdk), [checkout.js](/docs/checkout-js),
  [PHP / Laravel](/docs/php-sdk), [Node.js](/docs/node-sdk) and [Python](/docs/python-sdk).
- Each page: download, install (registry, local zip, GitHub), keys, code examples, a full integration, testing and
  troubleshooting. The PHP page has a complete Laravel backend for a mobile app.
- Webhook examples in the SDK READMEs now read the payment from `event.data.object`.

## 2026-10-19 — Checkout + React Native on npm
- `npm install @razcrypto/checkout` (1.0.4, same file as `/v1/checkout.1.0.4.js`, TypeScript types included).
- `npm install @razcrypto/react-native` (1.0.0) for React Native 0.72+ apps.
- SDKs page: how the mobile SDKs open checkout, and how to accept payments in an app without an SDK.

## 2026-10-19 — Flutter SDK on pub.dev
- `razcrypto_checkout` 1.0.0 is on [pub.dev](https://pub.dev/packages/razcrypto_checkout): `flutter pub add razcrypto_checkout`.
- Works with Flutter 3.24+ (Dart 3.5+), Android and iOS. Source: [GitHub](https://github.com/WorldxGrowth/razcrypto-flutter-sdk).

## 2026-10-04 — SDK defaults (market standard)
- All SDKs and plugins use the official RazCrypto host by default: `new RazCrypto(SECRET_KEY)` is all you need.
- `apiBase` / `api_base` / `RAZCRYPTO_API_BASE` / `payHost` stay available, optional, for staging or self-hosted gateways.
- `checkout.js` 1.0.4; plugins have no URL setting at all — only your keys (WooCommerce) or links (WordPress).

## 2026-10-04 — WooCommerce plugin 1.1.0
- Overview page (WooCommerce → RazCrypto): paid orders, revenue, pending and on-hold orders, latest crypto orders.
- "Finish setup" notice after activation; method enabled by default (shows once the API URL and key are saved).
- Accepted-coin logos (USDT, USDC, BNB, ETH) at checkout instead of a generic icon.
- The order is synced before the thank-you page renders, so download links show right away.

## 2026-10-04 — SDKs & plugins
- **No built-in host in any SDK.** Server SDKs need `apiBase` / `api_base` or `RAZCRYPTO_API_BASE`; browser and
  mobile SDKs need `payHost` with key + payment id (a `checkout_url` needs nothing). See [SDKs](/docs/sdks).
- Dashboard → API apps now shows the **API URL** and **Checkout host** with copy buttons.
- `checkout.js` 1.0.3: `data-pay-host` for bundled copies; clear `pay_host_missing` error.
- New **WordPress** plugin (Pay button block + `[razcrypto_pay]` shortcode). See [WordPress](/docs/wordpress).
- **WooCommerce** plugin: required Gateway API URL setting; tested on WordPress 7.1 and WooCommerce 11.1.
- All SDKs and plugins can be downloaded from the docs.

## 2026-10 — v1
- Payments API (`/v1/payments`): fiat or coin pricing, quotes with locked rates, unique amounts, cancel,
  test-mode simulation.
- Hosted checkout, `checkout.js` popup, custom checkout via the API; signed checkout result.
- Payment links and Pay buttons for sites without a backend.
- Webhooks (Standard Webhooks): `payment.confirming`, `payment.paid`, `payment.underpaid`,
  `payment.expired`, `payment.cancelled`, `payment_link.completed`, `test.ping`; 3-day retries; Events API.
- Networks: BNB Smart Chain, Ethereum, Solana, VDChain (Polygon ready to enable).
- "I already paid" transaction-hash claim on checkout.
- OpenAPI 3.1 spec at `/v1/openapi.json`.
