WWooshPayment docs
Store integration

WooCommerce plugin โ€” 1-click install

Install the official "WooshPayment Checkout" WordPress plugin on your WooCommerce store. 2 minutes, zero code. Intercepts the "Proceed to checkout" button and redirects to your branded checkout.

6 min read

WooCommerce plugin โ€” 1-click install

The fastest way to connect a WooCommerce store to WooshPayment: install the official plugin, activate it, done. No PHP snippets in your theme, no API keys to generate (for the redirect part), no extra Code Snippets plugin.

Alternative: if you cannot install plugins on your WP (locked server, restricted multisite, etc.), use the classic REST API key guide โ€” slightly longer but same end result.

All screenshots in this guide show the WordPress admin interface (it requires WordPress admin credentials we can't ship here). They are illustrative renderings of the actual plugin install flow.

Prerequisites

  • WordPress 6.0+ with WooCommerce 7.0+ active
  • "Post name" or similar permalink structure enabled (WP Admin โ†’ Settings โ†’ Permalinks โ†’ anything other than "Plain"). Required for the WC Store API the plugin calls.
  • Permission to install plugins (Administrator role)
  • A WooshPayment account with onboarding completed (your-slug.wooshpayment.com provisioned)

1. Download the plugin

Direct button:

โฌ‡ Download wooshpayment-checkout.zip

The zip is ~5 KB. Contains one PHP file (~120 lines) + readme.txt. Zero external dependencies, no third-party libraries.

The plugin is open-source (MIT). You can inspect the source before installing: see the code on GitHub (link coming soon). In short: 119 PHP lines, only one wp_enqueue_scripts hook on cart/checkout pages, no DB writes, no outbound network calls from your WP server.

2. Upload to WordPress

Step 2.1 โ€” Plugins โ†’ Add new

WordPress Admin: Plugins page with "Add new plugin" button highlighted at the top, ready to start the upload flow

Go to WordPress Admin โ†’ Plugins โ†’ Add new plugin (link at the top).

WordPress Admin: "Add plugins" page with the "Upload plugin" tab highlighted. Annotation: don't search the marketplace, upload the zip directly

You'll see two tabs at the top: "Search plugins" and "Upload plugin". Click Upload plugin โ€” do NOT search the marketplace.

Step 2.3 โ€” Choose the file and install

WordPress Admin: plugin upload form with "Choose file" button and wooshpayment-checkout.zip selected, "Install now" button ready

  1. Click Choose file โ†’ select wooshpayment-checkout.zip (the one you downloaded at step 1)
  2. Click Install now

Step 2.4 โ€” Activate the plugin

WordPress Admin: "Installing plugin" page with three green checkmarks (Unpacking, Installing, Plugin installed) + "Activate plugin" button highlighted at the bottom

WP unpacks + installs in ~3 seconds. At the end the Activate plugin button appears โ€” click it.

Step 2.5 โ€” See the plugin in the list

WordPress Admin: plugin list with WooshPayment Checkout at the top, green "Active" status, version 1.0.0. In sidebar Settings โ†’ WooshPayment new entry highlighted

You land on the plugin list with WooshPayment Checkout at the top, green Active status. In the sidebar you'll find a new entry Settings โ†’ WooshPayment.

3. Verify it's running

WordPress Admin: Settings โ†’ WooshPayment page with 3 green cards: "Plugin active and working", "Store connected to demo-store.wooshpayment.com", "Last test: 2 minutes ago โ€” checkout intercepted correctly"

Go to Settings โ†’ WooshPayment (new entry in the Settings menu).

The plugin pings our server and shows the live status:

  • ๐ŸŸข Green "All OK": plugin active, store connected, last checkout intercepted correctly
  • ๐ŸŸก Yellow: plugin active but no recent checkouts (run a real test)
  • ๐Ÿ”ด Red "Not connected": the merchant hasn't completed onboarding on wooshpayment.com (3 steps to fix shown on the page)

If you see green, everything works. โœ“

If you see a warning "WooCommerce is not active", activate WooCommerce first. The WooshPayment plugin does nothing until WC is active.

4. Quick test

  1. Open your store as a visitor (incognito works)
  2. Add a product to the cart โ†’ go to /cart/
  3. Click Proceed to checkout
  4. Expected: you're redirected to your-slug.wooshpayment.com/checkout/... instead of the native WC /checkout/ page
  5. The cart is pre-loaded (products, quantities, correct prices)

If you see the branded checkout โ†’ all working. You can proceed with a test payment (Whop test card 4242 4242 4242 4242).

What the plugin does (exactly)

  • Only on cart and checkout WC pages, enqueues the wc-checkout-interceptor.js script from our CDN
  • The script intercepts the click on "Proceed to checkout" and reads the cart via WC Store API (/wp-json/wc/store/v1/cart)
  • POST to https://api.wooshpayment.com/api/checkout/create with the cart products
  • Receives a branded checkoutUrl and redirects the customer
  • Forwards utm_* parameters for Meta/TikTok/Google attribution
  • When payment succeeds on Whop, WooshPayment creates the real order on WooCommerce via REST (see next section)

Catalog, orders, inventory โ€” all stay on WooCommerce

The plugin does not replace WooCommerce. Everything stays on WC:

WhatWhere managed
Product catalogWooCommerce (admin โ†’ Products)
Inventory / stockWooCommerce
Received ordersWooCommerce (admin โ†’ Orders) โ€” created by WooshPayment via API key
Order transactional emailsWooCommerce
SEO plugins (Yoast, RankMath)WordPress
Catalog theme / designWordPress / your theme
Only the final checkoutWooshPayment

To automatically create the order on WC after payment, WooshPayment needs a Consumer Key + Consumer Secret from your WC REST API. Generate once following the WC integration guide โ€” the plugin alone isn't enough, because the JS script only handles the button redirect.

Summary of what you need for WooCommerce:

  1. WooshPayment Checkout plugin โ† this guide โ€” intercepts the checkout button
  2. WC REST API Consumer Key + Secret โ† classic guide โ€” to receive orders in the WC admin

Plugin without Consumer Key = checkout works but WooCommerce doesn't receive orders. Consumer Key without plugin = WooCommerce receives orders, but the checkout button leads to the native WC checkout (no branding).

Both are needed.

Uninstall

  1. WordPress Admin โ†’ Plugins
  2. Find WooshPayment Checkout โ†’ click Deactivate
  3. (Optional) Click Delete to remove completely

The native WooCommerce checkout returns immediately. No catalog / order row is touched. The plugin doesn't write to the DB.

Updates

For now plugin updates are manual: download a new wooshpayment-checkout.zip, go to Plugins, deactivate the old one, activate the new one.

Roadmap: publication on the official WordPress.org plugin directory for automatic WP updates. Q3 2026.

Troubleshooting

"Upload plugin" is missing โ€” I only see "Add new plugin โ†’ Search plugins"

Some WordPress hosts (e.g. WordPress.com Business, some managed plans) have disabled custom plugin upload. If that's your case:

  1. Ask the provider to enable upload (usually enterprise tier)
  2. Or extract the zip, upload the files via SFTP into /wp-content/plugins/wooshpayment-checkout/
  3. Or use the REST API key guide without the plugin

Plugin activated but checkout button isn't intercepted

Open the browser console (Cmd/Ctrl+Shift+I) on your cart page and check:

  1. Is there a request to https://api.wooshpayment.com/wc-checkout-interceptor.js? If no โ†’ the plugin isn't enqueuing the script. Verify the plugin is active + WooCommerce is active.
  2. Does the script return 200? If 403/500 โ†’ problem on our side, open a ticket.
  3. Console errors? Look for [WooshPayment] messages. Common causes:
    • fetch /wp-json/wc/store/v1/cart fails โ†’ WC Store API disabled. Go to WooCommerce โ†’ Settings โ†’ Advanced โ†’ Legacy API and verify REST APIs are enabled.
    • POST /api/checkout/create 401 โ†’ your store isn't connected on WooshPayment yet. Complete step 9 of the WC integration guide (Consumer Key + Secret).

Accidentally deactivated the plugin

Reactivate from Plugins โ†’ WooshPayment Checkout โ†’ Activate. No re-setup needed.

WordPress multisite

The plugin works on WordPress multisite. Must be activated per site that has WooCommerce. Only sites where it's active + WC present will be intercepted.

Next steps


Questions? Open a ticket or use the chat at the bottom-right of the dashboard.