WooCommerce Plugin
Accept payments on your WooCommerce store with the official Uplef payment gateway plugin. Customers pay through Uplef (cards and more) without leaving your checkout, and orders update automatically via webhooks.
Requirements
- WordPress 5.8+
- WooCommerce 5.0+
- PHP 7.4+
- An active Uplef merchant account with at least one currency enabled
1. Get your API credentials
In your Uplef dashboard → API Keys, copy:
- API Key — starts with
pk_live_… - API Secret — starts with
sk_…(shown once when created; regenerate it if you no longer have it)
Keep the secret private — treat it like a password.
2. Download & install the plugin
- In the dashboard, open the Plugins tab and click Download to get the WooCommerce plugin ZIP.
- In WordPress admin, go to Plugins → Add New → Upload Plugin.
- Choose the ZIP, click Install Now, then Activate.
To update, upload the newer ZIP the same way and choose "Replace current with uploaded". Your API keys and settings are preserved.
3. Enable and configure
Go to WooCommerce → Settings → Payments, find Uplef, and click Manage (or Set up). Then:
| Field | What to enter |
|---|---|
| Enable/Disable | Tick to enable Uplef at checkout |
| Title | The name customers see at checkout (e.g. "Card / Wallets") |
| Description | Short text shown under the title |
| API Key | Your pk_live_… key |
| API Secret | Your sk_… secret |
Click Save changes.
4. Set up the webhook
Webhooks let Uplef tell your store when a payment succeeds or fails, so orders update automatically.
- On the plugin settings page, copy the Webhook URL shown for your store.
- In your Uplef dashboard, go to Webhooks, add that URL, and subscribe to at least Payment Success and Payment Failed.
- Copy the generated Webhook Secret from the dashboard.
- Paste it into the plugin's Webhook Secret field and save.
See the Webhooks reference for the full list of events and payloads.
5. Test, then go live
- Place a small real order through checkout and complete the payment.
- Confirm the WooCommerce order moves to Processing/Completed after payment.
- While testing, enable Debug Log in the plugin settings — logs appear under WooCommerce → Status → Logs. Turn it off in production.
Once a test order flows through end to end, you're ready to accept live payments.
Troubleshooting
- Uplef doesn't appear at checkout — make sure the method is enabled and your API Key/Secret are saved without extra spaces.
- Orders stay "Pending payment" after a successful payment — the webhook isn't reaching your store. Re-check the Webhook URL and Webhook Secret, and confirm your site is publicly reachable over HTTPS.
- "Invalid API credentials" — the key/secret pair is wrong or from a different account. Copy them again from Dashboard → API Keys.
- Checkout section looks mis-styled — update to the latest plugin version.