{"id":18997391,"date":"2026-08-19T13:21:42","date_gmt":"2026-08-19T13:21:42","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=18997391"},"modified":"2026-08-19T13:43:09","modified_gmt":"2026-08-19T13:43:09","slug":"woocommerce-payments-hook-priority-change","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/woocommerce-payments-hook-priority-change\/","title":{"rendered":"WooCommerce Payments hook priority change"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Heads up!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I just came across a client site where I could see the &#8220;Order Summary&#8221; section on the checkout page refresh back to the store&#8217;s default currency while keeping the selected currency value the same. In other words, I choose USD, I&#8217;m checking out in USD for $58, and as I enter the US ZIP code, the currency in the Order Summary reverts to the store default GBP, but using the same &#8220;58&#8221; value. I end up getting charged 58 GBP, not the manually set lower GBP amount. The currency selector in the header is still in USD. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It seems to be because WooCommerce Payments 11.0 uses a new <code>get_store_currency_code()<\/code> instead of the previous <code>get_woocommerce_currency()<\/code>, and\/or WooCommerce Payments&#8217; <code>FrontendCurrencies::get_woocommerce_currency<\/code> is now at priority 900, higher than this plugin&#8217;s 100 priority on the <code>woocommerce_currency<\/code> filter.<\/p>\n","protected":false},"template":"","class_list":["post-18997391","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18997391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18997391\/revisions"}],"predecessor-version":[{"id":18997409,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18997391\/revisions\/18997409"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18997391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}