v2.4.4 - Customer email prefill fix on hosted checkout
A small but customer-visible fix: the WooCommerce billing email was passed to the Fungies hosted checkout but silently ignored, so customers always had to retype their email at checkout even though we knew it.
Root cause
Fungies_Checkout_URL_Builder::build() was sending the email as ?fngs-user-email=.... Per the official Fungies docs (billing-data prefill reference), the hosted-checkout prefill parameter is fngs-customer-email.
The two names look almost identical but flow in opposite directions:
| Parameter | Direction | Purpose |
|---|---|---|
fngs-customer-email |
Inbound (you -> Fungies) | Prefill the email field on the Fungies checkout page |
fngs-user-email |
Outbound (Fungies -> you) | System param Fungies appends to the post-purchase Instant Redirect URL |
The plugin was using the outbound name in the inbound slot. Fungies just ignored it.
The fix
Fungies_Checkout_URL_Builder::build()now sendsfngs-customer-emailfor prefill.- The return-side handler in
Fungies_Checkout::handle_return()still readsfngs-user-emailfrom the redirect URL where Fungies appends it - that side was always correct. - Added an inline rationale comment in the URL builder linking to the docs so the next reader doesn't repeat the confusion.
- Corrected two URL examples in
readme.txtand one in the developer guide PDF that had propagated the same mistake.
Customer impact
After upgrading, customers who proceed from WooCommerce to the Fungies hosted checkout will see their email address already filled in. No data migration is required; existing orders are unaffected.
Install / Upgrade
Drop-in replacement for v2.4.3. Download fungies-checkout-2.4.4.zip below and upload via WordPress Admin -> Plugins -> Add New -> Upload Plugin.