Configuration
Step 1: Choose Your Environment
Important: Production and staging are completely separate. API keys, products, and webhooks are all independent. Staging keys will NOT work against the production API, and vice versa.

Step 2: Get Your API Keys
Log in to your Fungies Dashboard (production or staging)
Go to Developers → API Keys
Click Generate API Key
Copy your Public Key (
pub_...) and Secret Key (sec_...)Copy your Webhook Secret from Developers → Webhooks
Step 3: Plugin Settings
Navigate to WooCommerce → Settings → Fungies and fill in:
Sandbox Mode
Check if using staging
Public Key
Your pub_... key
Secret Key
Your sec_... key
Webhook Secret
From Fungies webhook settings
Fungies Store URL
Your store URL (see Step 4)
Step 4: Match Store Currencies
Your WooCommerce store currency must match the currency set in your Fungies workspace.
Check your Fungies currency in Fungies Dashboard → Settings → General (under "Currency")
Check your WooCommerce currency in WooCommerce → Settings → General (under "Currency options")
Make sure both are set to the same currency (e.g. both USD, both EUR)
If the currencies don't match, product prices will display incorrectly and checkout totals may be wrong.
Step 5: Publish Your Fungies Store & Get the Store URL
Your Fungies store must be published for the hosted checkout to work.
In the Fungies Dashboard, click "Go to Store" in the top menu
Make sure the store is published (not draft)
Copy the store URL — it looks like:
Production:
https://yourname.app.fungies.ioStaging:
https://yourname.stage.fungies.net
Paste it into the Fungies Store URL field in WooCommerce → Settings → Fungies
Click Save Changes
Step 6: Configure Webhook in Fungies
Go to Fungies Dashboard → Developers → Webhooks
Add a new endpoint with the Webhook URL shown on the plugin settings page (e.g.
https://yoursite.com/wp-json/fungies/v1/webhook)Select the events:
payment_success,payment_failed,payment_refunded,subscription_created,subscription_interval,subscription_cancelled
Step 7: Configure Post-Purchase Redirect URL in Fungies
After a customer completes payment on Fungies, they need to be redirected back to your WooCommerce store. This is configured store-wide in the Fungies Dashboard.
Go to Fungies Dashboard → Settings → Store → Checkout tab
Scroll down to "Success redirection settings"
In the Instant Redirect URL field, paste the Post-Purchase Redirect URL shown on the plugin settings page:
In URL Parameters, add these system parameters from the dropdown:
Order id (appears as
fngs-order-idin the URL)User email (appears as
fngs-user-emailin the URL)
Note: The dropdown list shows human-readable names (e.g. "Order id", "User email"). Once selected, they are automatically converted to the correct URL parameters (
fngs-order-id,fngs-user-email). The names in the dropdown may differ from the final parameter names -- this is expected.The final redirect URL will look like:
Click Save
How it works: After payment, Fungies redirects the customer to this URL with the Fungies order ID. The plugin looks up the matching WooCommerce order and sends the customer to the WooCommerce "Order Received" thank-you page.
See the Fungies redirect documentation for more details on available system parameters.
Step 8: Test the Full Flow
Enable Sandbox Mode and use staging keys
Click Sync Now to pull products
Add a product to cart and proceed to checkout
Select Fungies Checkout and place order
You should be redirected to the Fungies hosted checkout page
Pay using Stripe test cards
After payment, you should be redirected back to the WooCommerce thank-you page
Check WooCommerce → Orders — the order should be marked as completed
Check logs at WooCommerce → Status → Logs →
fungies-*
When ready to go live, uncheck Sandbox Mode, switch to production keys and store URL, and Save Changes.

Last updated