You may want to use a payment gateway that is not natively supported by Chec/Commerce.js. This may be a local payment gateway, a digital wallet, or a crypto gateway.
Using our Manual Payment gateway you can integrate and offer any payment option to customers at checkout.
BYO gateway overview:
In Settings > Payment gateways enable the “Manual” payment gateway.
Create a checkout that uses the manual payment gateway as a payment method. Once this order is created, it will be flagged as unpaid.
Handle the integration/payment flow with your payment gateway. You can also integrate new orders using webhooks and the
orders.create
event.Updating via the Dashboard: After your payment gateway returns a success response update the order in the dashboard by marking the unpaid “transaction” as paid.
Updating via the API: You can use the following API request to update a transaction programmatically (be sure to replace the values in {HERE} with the correct values).
curl -X PUT -H 'X-Authorization: {PRIVATE_API_KEY}' -H 'Content-Type: application/json' -d '{
"status": "complete",
"gateway_transaction_id": "{GATEWAY_TRANSACTION_ID}",
"gateway_reference": "{GATEWAY_REFERENCE}",
"notes": "{NOTES}"
}' -v -i 'https://api.chec.io/v1/orders/{ORDER_ID}/transactions/{TRANSACTION_ID}'