Skip to content

v2.3.0 — Forward WC coupon codes to Fungies checkout

Choose a tag to compare

@dukenukemall dukenukemall released this 09 May 08:13
· 11 commits to main since this release

v2.3.0 — Forward WC coupon codes to Fungies checkout

New

  • When a customer applies a coupon at the WooCommerce checkout (e.g. percent10), the redirect URL to the Fungies hosted checkout now includes &fngs-discount-code=<code>. Fungies auto-applies the matching discount on its side, so the post-discount total stays consistent across both checkouts.
  • Requires the coupon to have been synced to Fungies via WooCommerce → Settings → Fungies → Sync Now (or the hourly cron). The plugin forwards the coupon code as-is; Fungies looks it up by discountCode.
  • Multiple coupons: the first applied coupon is forwarded (Fungies hosted checkout supports a single discount code).

Pairs with v2.2.x coupon sync

  • v2.2.0 introduced WC → Fungies coupon sync. v2.3.0 closes the loop on the customer-facing side: discounts now propagate to the Fungies checkout total automatically.

Upgrade notes

  • No DB migrations, no permission changes.
  • Backwards-compatible with single-product redirect URLs and multi-line-item Checkout Element URLs.
  • If the customer applies a coupon code that has not been synced to Fungies, the URL still includes the parameter; Fungies will simply ignore an unknown code and the customer will see the un-discounted Fungies total. Run Sync Now first.