What You Will Build
A fully functional WooCommerce payment gateway plugin that lets your store accept USDT payments on BNB Smart Chain. The plugin handles everything — session creation, payment page display, webhook verification, and automatic order completion.
Chapters
- WooCommerce payment gateway architecture overview (0:00)
- Scaffolding the plugin files (5:45)
- Registering the gateway class (11:00)
- Admin settings page (API key, webhook secret) (16:30)
- process_payment() — creating the session (22:00)
- Building the payment instruction page (27:45)
- Registering the webhook REST endpoint (33:00)
- Verifying signatures and updating order status (38:20)
- Sandbox testing end-to-end (44:00)
- Packaging and installing on live site (49:30)