View Categories

Convert Currency Advanced Options Explained

The Convert Currency Advanced options in Payment Gateway Currency for WooCommerce are at WPFactory > Payment Gateway Currency > Convert Currency > Advanced. Use them when conversion misbehaves: they cover gateway locking, cart recalculation, price caching, session handling, the rate field, single product and shop currency checks, and debug logging.

Convert Currency Advanced options

Where to find it #

Go to WPFactory > Payment Gateway Currency (also reachable at WooCommerce > Settings > Payment Gateway Currency), then open the Advanced sub-tab under Convert Currency.

Options #

Label Option ID Default
Lock gateway on order payment alg_wc_pgbc_convert_currency_order_pay_lock_gateway Yes
Recalculate cart alg_wc_pgbc_convert_currency_recalculate_cart Yes
Current gateway fallbacks alg_wc_pgbc_convert_currency_current_gateway_fallbacks HTTP request payment_method variable
Force session start alg_wc_pgbc_convert_currency_set_session_cookie Yes
Cache prices alg_wc_pgbc_convert_currency_cache_prices Yes
Cache product ID alg_wc_pgbc_convert_currency_cache_product_id Product ID
Fix RTL currencies alg_wc_pgbc_convert_currency_add_bdi No
Rate step alg_wc_pgbc_convert_currency_rate_step 0.000001
Enter as text alg_wc_pgbc_convert_currency_rate_type_text No
Check single product page alg_wc_pgbc_convert_currency_check_single_product No
Check shop currency alg_wc_pgbc_convert_currency_check_shop_currency No
Debug alg_wc_pgbc_convert_currency_debug No

Two options that are often confused #

Rate step and Enter as text are different settings:

  • Rate step sets the step attribute of the numeric conversion-rate field (how small an increment you can type). It defaults to 0.000001.
  • Enter as text switches the rate field to a plain text input, which then ignores Rate step. Turn this on only if your rates need a format the number field rejects.

Current gateway fallbacks #

This multiselect decides which gateway is used for conversion when the plugin cannot read the current gateway from the session. Choices: HTTP request payment_method variable (the default), First available payment gateway, Last known payment gateway, and Default payment gateway.

When to change caching #

If prices convert twice, keep Cache prices on and, if needed, raise Cache product ID to Product ID and product data or Product ID and product changes. Use Debug to write an alg-wc-payment-gateway-currency log to WooCommerce > Status > Logs.

Get more control #

These Advanced options are free. Payment Gateway Currency for WooCommerce Pro extends conversion to any gateway on your store. See what Pro unlocks.

 

Payment Gateway Currency for WooCommerce