Skip to Content
Docs
E-commerce pluginsWooCommerce

Set up the WooCommerce plugin

Install the Pay.com Payments plugin in your WooCommerce store, connect it to your Pay.com account, and take a test payment.

Pay.com Payments for WooCommerce adds Pay.com as a payment method at your store's checkout. Install it, connect it to your Pay.com account, and take a test payment in the sandbox. What the plugin does once it's running is in WooCommerce plugin.

Requirements

The plugin works with the classic checkout and the Checkout block, and with WooCommerce's high-performance order storage.

RequirementVersion
WordPress6.4 or later (tested up to 7.1)
WooCommerce8.6 or later (tested up to 11.3)
PHP7.4 or later
Plugin0.1.0

Install and connect

You connect the plugin with an API key, created in the Pay.com dashboard, for each environment you use.

  1. 1

    Install the plugin

    Install and activate Pay.com Payments for WooCommerce.

  2. 2

    Enter your API keys

    Go to WooCommerce → Settings → Payments → Pay.com. The settings list two environments, Live and Sandbox. For each one you use, paste an API key you created in the Pay.com dashboard (an sk-pay-com-live- key under Live, and an sk-pay-com-sandbox- key under Sandbox for sandbox payments). Each key is checked with Pay.com when you save. Pay.com shows at checkout once the environment Sandbox mode picks has a key. Until then, Your payment methods on the settings page says which key to enter. See Settings.

  3. 3

    Add the webhook

    In the Pay.com dashboard, add a webhook that sends events to the URL shown on the settings page, then paste its signing secret into Signing secret. Do this for each environment you use, and subscribe to the 12 plugin webhook events.

  4. 4

    Take a test payment

    Sandbox mode is on by default, so the store takes payments in the sandbox. Place an order with a test card, then turn Sandbox mode off to take live payments.

Next steps

  • Apple Pay: Register your store's domain to show the Apple Pay button.
  • WooCommerce plugin: What the plugin supports, how orders stay in sync with Pay.com, and the data the plugin sends.
  • Settings: Every setting with its default, and how to keep your keys in wp-config.php.
Was this page helpful?