YayCurrency Documentation
  • YayCurrency Documentation
  • Getting Started
    • Introduction
    • System Requirements
    • How to Install
    • Enter License key
    • How To Update YayCurrency
    • Uninstall and Delete
  • Main Features
  • Configurations
    • Manage Currency
    • Custom Rounding
    • Checkout Options
      • Hide estimated price at checkout
      • Hide checkout notice payment method
      • Force payment by customer country
      • Force Currency for Specific Payment Methods
    • Display Options
      • Use params on URL
      • Add A Few Parameters to Display Currency Switcher
    • Advanced Settings
      • Apply multiple currencies to Google Crawlers (or Bots)
      • Fixed Price for Each Currency Option for Bundle/Composite Product
    • Analytics
    • Order Info
    • Developer zone
      • Available YayCurrency Hooks
      • Available YayCurrency Shortcodes
  • Menu Option
  • Widget Option
  • Compatibility
    • Cache plugins
    • Dokan
    • YITH Points and Rewards
    • Name Your Price
    • Polylang
    • WPML
    • WooCommerce Subscriptions
    • Wholesale Pro by Barn2
    • WooCommerce Product Bundles
    • LearnPress
    • Lottery for WooCommerce
    • FunnelKit Automations
    • WordPress Tour & Travel Booking
    • B2B Market by MarketPress
    • Tiered Pricing Table for WooCommerce
    • Bookings Appointments for WooCommerce
    • Advanced Product Fields Extended
  • Why Upgrade?
  • OTHER LINKS
    • FAQs
    • Common Issues
    • Troubleshooting
      • How to pay without PayPal
    • Changelog
    • Support
Powered by GitBook
On this page

Was this helpful?

  1. Configurations
  2. Checkout Options

Force payment by customer country

PreviousHide checkout notice payment methodNextForce Currency for Specific Payment Methods

Last updated 7 months ago

Was this helpful?

Force payment by customer country function can be activated once you allow customers to checkout in different currencies.

This allows customers to place orders in their local currency.

The customers can select or switch currencies anytime in the store, but it will force payment based on billing/shipping country at checkout. To apply this feature on checkout, you should enable the "Force payment in a specific currency" function in the Checkout Options tab setting.

You can utilize either Billing or Shipping option to force payment on checkout, which is flexible to use based on your aim. Here is the reference how it works on the frontend.

Note:

This feature is premium-only.

Once Force payment by customer country is enabled, your customers won't be able to switch currency on the checkout page. The currency switcher displayed on sidebar/header/footer is still showing but unclickable. If you turn this feature on, you are unable to use the "Checkout in fallback currency" feature.

Display force payment notice at checkout

Optionally, you can display a custom notice at checkout to let the customers know why their selected currency has been altered.

For example, “Paying in %currency-selected% is not supported in your location. So your payment will be recorded in %currency-by-country%."

Use these variables to output the values:

Variable
Front-end value

%currency-selected%

Display previously selected currency.

%currency-by-country%

Display currency based on billing or shipping country.

%billing-country%

Display billing country.

%shipping-country%

Display shipping country.

Enable Force payment in a specific currency setting.
Checkout form
Enable force payment in a specific currency