{"id":12897594,"date":"2020-05-27T07:47:39","date_gmt":"2020-05-27T07:47:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-paypal-checkout-gateway\/"},"modified":"2020-05-27T07:47:39","modified_gmt":"2020-05-27T07:47:39","slug":"problem-with-paypal-checkout-gateway","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-with-paypal-checkout-gateway\/","title":{"rendered":"Problem with Paypal Checkout Gateway"},"content":{"rendered":"<p>Hello, i hope you are well.<\/p>\n<p>I have a problem with the combination of your plugin and Paypal Checkout Gateway: When i change the country at the checkout page, sometime the currency changes as well (eg from USD to EUR). Then, i cannot use Paypal Checkout at all. <\/p>\n<p>I see this error at the console: <\/p>\n<p><strong>Error: Expected currency from order api call to be USD, got EUR. Please ensure you are passing currency=EUR to the sdk url<\/strong><\/p>\n<p>Is there a known conflict with the new version of Paypal Checkout Gateway plugin (vesrion 2.0.1)?<br \/>\nP.S. Everything works well with older versions.<\/p>\n<p>Thanks a lot<\/p>\n","protected":false},"template":"","class_list":["post-12897594","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12897594","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12897594\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12897594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}