Hi, we use the plguin in order to change currency when the user choose papal but got error
2024-10-04T10:15:41+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials&response_type=client_token&intent=sdk_init&domains%5B%5D=entesarhusain.com
Response Debug ID: f624013f8f67c
Response: Array
(
[code] => 200
[message] => OK
)
2024-10-04T10:15:58+00:00 Debug POST https://api-m.sandbox.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"KWD","value":"127.53","breakdown":{"item_total":{"currency_code":"KWD","value":"127.53"},"shipping":{"currency_code":"KWD","value":"0.00"},"tax_total":{"currency_code":"KWD","value":"0.00"}}},"description":"","items":[{"name":"\u0627\u0644\u062a\u0635\u0644\u0628 \u0627\u0644\u0645\u062a\u0639\u062f\u062f: \u0645\u0646 \u0627\u0644\u0641\u0647\u0645 \u0625\u0644\u0649 \u0627\u0644\u0642\u0648\u0629","unit_amount":{"currency_code":"KWD","value":"127.53"},"quantity":1,"description":"","sku":"","category":"DIGITAL_GOODS","url":"https:\/\/www.entesarhusain.com\/product\/%d8%a7%d9%85-%d8%a7%d8%b3-%d9%85%d9%86-%d8%a7%d9%84%d9%81%d9%87%d9%85-%d8%a5%d9%84%d9%89-%d8%a7%d9%84%d9%82%d9%88%d8%a9\/","image_url":"https:\/\/www.entesarhusain.com\/wp-content\/uploads\/2024\/06\/course-image.png","cart_item_key":"ac10ec1ace51b2d973cd87973a98d3ab"}],"custom_id":"pcp_customer_t_09df7d0c42a28cb97f1e2c3abd499a"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"ar","brand_name":"\u062f. \u0627\u0646\u062a\u0635\u0627\u0631 \u062d\u0633\u064a\u0646","return_url":"https:\/\/www.entesarhusain.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.entesarhusain.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Amro","surname":"Hassan"},"address":{"country_code":"AE"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"971504402638"}}}}
Response Debug ID: f87282364709c
Response: Array
(
[code] => 422
[message] => Unprocessable Entity
)
Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"CURRENCY_NOT_SUPPORTED","links":[],"description":"Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f87282364709c","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED","rel":"information_link"}]}
2024-10-04T10:15:58+00:00 Warning Failed to create order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED
2024-10-04T10:15:58+00:00 Error Order creation failed: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED
2024-10-04T10:15:58+00:00 Error Order creation failed: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED
Hi.
First, thank you for your great plugin.
I have checked your plugin with default WooCommerce Multilingual & Multicurrency Switcher and then plugin is enabled, the Switcher not working. I use default (%name% (%symbol%) – %code%) and last version of WP and WC, PHP 8.1.
Also, default payment systems, any enabled have the same issue.
No any logs on: WooCommerce > Status > Logs if it is enable from the plugin options.
Any suggestion to solve compatibility with WooCommerce Multilingual & Multicurrency Switcher?
Thank you for your time.
]]>Can your plugin handle a website with DKK currency and a payment gateway plugin with EUR currency?
In other words: can it convert the payment amount from DKK to EUR when progressing from cart to check-out?
]]>Current plugin: Payment Gateway Currency for WooCommerce (version 3.6.0)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 155 of the file /home/*****/public_html/wp-content/plugins/payment-gateways-by-currency-for-woocommerce/includes/class-alg-wc-pgbc-convert.php. Error message: Uncaught Error: Call to a member function get_meta() on bool in /home/*****/public_html/wp-content/plugins/payment-gateways-by-currency-for-woocommerce/includes/class-alg-wc-pgbc-convert.php:155
Stack trace:
#0 /home/*****/public_html/wp-content/plugins/payment-gateways-by-currency-for-woocommerce/includes/class-alg-wc-pgbc-convert-info-backend.php(143): Alg_WC_PGBC_Convert->get_order_data(false)
#1 /home/*****/public_html/wp-includes/class-wp-hook.php(308): Alg_WC_PGBC_Convert_Info_Backend->add_order_pgbc_data_meta_box('product', Object(WP_Post))
#2 /home/*****/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /home/*****/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/*****/public_html/wp-admin/includes/meta-boxes.php(1701): do_action('add_meta_boxes', 'product', Object(WP_Post))
#5 /home/*****/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post))
#6 /home/*****/public_html/w
How Can i fix this Error?
]]>Hello, this plugin has a bug with the front end display and conversion of fees. The total cost, shipping cost and product cost all match. However, the fees are converted twice. Example:
Book $50
Shipping $10
Fee $5
Total: $65
If we assume an exchange rate of 2, the following is the result:
Book €100
Shipping €20
Fee €20 <— display issue? Incorrect amount
Total €130 <— correct amount
Do you have any suggestions or fixes for this?
]]>Hello, since my store is priced in USD, I would like item prices and sub-totals to remain priced in USD on the order summary and thank you page (instead of having line items converted). As it works now, all items are converted, and even in the admin the converted amounts are shown. This is a bit problematic because our accounting is done in USD.
Is it possible to ONLY convert the order total, leaving all other values as is? The customer will still know how much to send in the converted amount, while the item breakdown is in USD. The customer only needs to convert the total to check that the rate is acceptable.
Is this possible to implement, or can it already be achieved via the settings?
]]>Hello, we use Account Funds plugin : https://woocommerce.com/products/account-funds/
We have enabled the option “Partial funds payment” and if the funds don’t cover the entire?order total, customer can use the funds to partially pay the order and pay the remaining amount with a different method like PayPal
We use Paypal and it’s converted everything in cart except “Account Funds” So its just showing $ symbol, but same amount not converted
Any solution?
]]>Hi,
Will this plugin change the currency before sending it to the payment gateway using woocommerce strip ?
Hello there is any way to show decimal numbers in currencies without decimals? (Number of decimals setted to zero in woocommerce settings)
Thanks
]]>Hi there,
I’ve managed to get an API key and I’m using the fixer/latest option which works fine when clicking on update currencies but it doesn’t auto-update them which is vital.
Please advise!
Kind regards
Ben
Hi there
So we have signup for fixer and got the API key which is also working when trying the demo directly in Fixer. However when adding the API key to the plugin for Fixer getting the following Error:
2022-05-11T13:25:42+00:00 INFO Fixer.io server data: Array
(
[success] =>
[error] => Array
(
[code] => 101
[type] => invalid_access_key
[info] => You have not supplied a valid API Access Key. [Technical Support: [email protected]]
)
)
Again the key is valid when trying it outside the plugin.
Can you please help fix ASAP? If it works we are going to purchase the pro version so we support the strip gateway but first we need to test it and see it works and we need it today!
]]>Hello
I have an issue with the exchange rate server of the European Central Bank. When I checked the box to update all rates and save the changes, the conversion rate field (direct bank transfer) wouldn’t show the value. It’s blank and empty.?
If I use Fixer.io, the field manages to update the rate with success. But I didn’t want to use this server because the conversion rate is not similar with the ECB.
Image: https://imgur.com/ks5L4F2
]]>
converting 10 SAR to USD gives 3$, it should apply the role set in WooCommerce settings,
for example it should be round to first 2 decimal
if the conversation rate e.g 3.5 then 10 SAR / 3.75 = 2.67 $
]]>