
Magento 2 integration
Converts the order total into the token at checkout and invoices the order once it is paid.
Read the API quick startRequirements
- Magento Open Source or Adobe Commerce 2.4.4+, PHP 8.3+ with bcmath, curl, json and openssl.
- An HTTPS gateway, a public HTTPS store, a payout wallet and a store currency the gateway can convert.
Install and configure
- Copy the module into app/code/Suawave/Payment without vendor or Test directories, or use the packaged module archive.
- Enable Suawave_Payment, run setup:upgrade, compile dependency injection, deploy static content and flush the Magento cache as described in the module README.
- Open Stores > Configuration > Sales > Payment Methods > Suawave payments.
- Enable the method and set its title, gateway URL, ticker, payout address and public store origin. The module retrieves the callback verification key from /pubkey/.
What the buyer sees
The module converts the order total into the token amount and shows the amount, deposit address and gateway-generated QR code on the success page. The order remains pending until verified confirmed deposits cover the expected amount, then it is invoiced offline and moves to processing.
Payment behavior
- If a fresh conversion rate is unavailable, checkout refuses this payment method. Smaller confirmed deposits accumulate; pending callbacks never pay an order.
- The payment deadline appears in the store timezone. After expiry, an unpaid order offers a new payment address; paid orders hide payment instructions.