Prerequisites
Before you start, you need:- A Fintoc account with API credentials (secret key). You can find your keys in the Fintoc Dashboard.
- Admin access to your WordPress site.
- WordPress 6.2+, WooCommerce 7.4+, and PHP 7.4+.
Get your API credentials
1. Sign up
Head to the Fintoc Dashboard and sign up. To start receiving payments inlive mode, fill out your information so Fintoc can activate your account and provide the credentials you need.
2. Obtain API keys
Your Fintoc dashboard shows bothtest and live secret keys. To get them, go to For Developers β API Keys. Use the button on the top left of the dashboard to switch between test and live mode. Use your live secret key (sk_live_...) to set up Fintoc in production.
Install the plugin
Download the latest plugin package from the Fintoc for WooCommerce page, then install it:- Upload the
fintoc-for-woocommercefolder to/wp-content/plugins/, or install the ZIP from Plugins β Add New β Upload Plugin. - Activate the plugin through the Plugins menu in WordPress.
Configure the plugin
- Go to WooCommerce β Settings β Payments β Fintoc.
- In the settings screen, configure:
- Enable Fintoc: the toggle that turns the gateway on.
- Title: the payment method name shown to customers at checkout (e.g.
Fintoc). - Description: the text shown under the payment method at checkout.
- Test mode: the toggle that uses your test keys; leave it off to take live payments.
- Live secret key: your
sk_live_...key from the dashboard. - Test secret key: your
sk_test_...key, needed only while test mode is enabled. - Debug log: the toggle that logs API requests and webhook events under WooCommerce β Status β Logs (source
fintoc).
- Save changes.
Webhook setup
Webhooks are how Fintoc confirms payments, so this step is required.- On the Fintoc settings screen in WooCommerce, copy the Webhook endpoint URL shown there.
- In your Fintoc Dashboard, create a new webhook endpoint with that URL and method
POST. - Subscribe the endpoint to the
payment_intent.*,checkout_session.*, andrefund.*events so the plugin can confirm or revert refund outcomes.
Manage refunds
You can issue full and partial refunds directly from the WooCommerce order screen. Open the order, click Refund, enter the amount, and submit. The plugin sends the request to the Fintoc Refunds API and reconciles the outcome through therefund.* webhook events.
Refund confirmation times vary by country. For bank transfers, Fintoc may retry for up to 7 days when there is insufficient balance, so a refund can stay pending until it confirms.
Test the integration
- Enable Test mode on the settings screen and paste your test secret key (
sk_test_...). - Place a test order with each enabled payment method and complete the authorization in Fintocβs sandbox. A successful payment moves the order to Processing and records the matching
payment_intent.*andcheckout_session.*webhook events. For test credentials and sandbox details, see Test your integration. - Enable Debug log and watch WooCommerce β Status β Logs (source
fintoc) to inspect API requests and webhook events.
Go live
- Once you are satisfied with testing, disable Test mode so the gateway uses your live secret key.
- Place one live order with each enabled payment method to confirm the full end-to-end flow.