Skip to navigation
WooCommerce

Configuration

After installation and activation, the Yoco Payments plugin must be configured with the unique Yoco API keys. These keys authenticate your website with Yoco servers, allowing secure communication for payment processing.

Two types of API keys are available:

  • Test Secret Key: These keys are used for testing the payment gateway integration without processing actual financial transactions. This allows you to simulate payments using test card details to ensure everything is working correctly.

  • Live Secret Key: These keys are used for processing real customer payments.

The Live Secret Key should only be used once you have thoroughly tested the integration and are ready to accept live transactions. Live keys stay locked until you verify at least one domain under Verified Domains in How to connect.

Test keys are available immediately. Configure and test with your test keys first. See Going live when you’re ready to accept real payments.

Retrieve your Yoco API keys

1

Open the WooCommerce integration in the Yoco App and tap How to connect to view your Test Secret Key and Live Secret Key.

Enter API keys into the WooCommerce plugin settings

1

On the WooCommerce dashboard, navigate to Plugins. From the list of installed plugins, find the Yoco Payment plugin and click its Settings link.

2

On the Yoco Payments plugin settings page, input your API keys. These are labelled Test Secret Key and Live Secret Key respectively.

3Paste the Test Secret Key into the designated Test Secret Key field.
4Ensure test mode is enabled.
5Ensure the plugin is enabled.
6Click the Save button to store the configuration.

You can paste your Live Secret Key when you go live. It remains locked in the Yoco App until your domain is verified.