Prerequisites
Before you start, you need:- A Fintoc account with an API secret key. You can find your secret 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
Go to the Fintoc Dashboard and sign up. To receive payments inlive mode, fill out your information. Fintoc then activates your account and provides your credentials.
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 modes. 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, for example,
Fintoc. - Description: the text shown under the payment method at checkout.
- Test mode: the toggle that uses your test secret key; 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
The plugin uses webhooks to confirm 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. The plugin uses these events to confirm payments and reconcile refunds.
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 Fintoc confirms the refund.
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. After a successful payment, the plugin 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 review WooCommerce β Status β Logs (source
fintoc) to inspect API requests and webhook events.
Go live
- After testing each enabled payment method, disable Test mode so the gateway uses your
livesecret key. - Place one order in
livemode with each enabled payment method to confirm the full end-to-end flow.