Wrong currency the apple pay payments on product page
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Devis on February 23, 2023, 21:02Hi i'm using stripe plugin with fast payment apple pay on product page and fox currency switch plugin.
when we try to buy the price is the default value but the currency is in the geoIP value, how can I force to use the default value?thanks
Hi i'm using stripe plugin with fast payment apple pay on product page and fox currency switch plugin.
when we try to buy the price is the default value but the currency is in the geoIP value, how can I force to use the default value?
thanks
Quote from Pablo Borysenco on February 24, 2023, 12:39Hello
Please describe it in more detail.
One currency is displayed on the product page, the order is placed in another currency(with fast payment apple pay)
Hello
Please describe it in more detail.
One currency is displayed on the product page, the order is placed in another currency(with fast payment apple pay)
Quote from Devis on February 24, 2023, 13:16example: the default currency is "EUR" and the product cost 1000 EUR, if a client try to connect from USA i can see(on the product page) 1100 USD.
if from the product page, try to buy via apple pay he see the price 1000 USD instead 1000 EUR.
last note: all payments must be done only in EUR.
thanks
example: the default currency is"EUR" and the product cost 1000 EUR, if a client try to connect from USA i can see(on the product page) 1100 USD.
if from the product page, try to buy via apple pay he see the price 1000 USD instead 1000 EUR.
last note: all payments must be done only in EUR.
thanks
Quote from Pablo Borysenco on February 27, 2023, 12:34Hello
Ok! Do you have the multicurrency function activated in woocommerce(native functionality)? if so turn it off
all payments must be done only in EUR. - What settings did you make for this? custom code?
What plugin version number are you using?
Hello
Ok! Do you have the multicurrency function activated in woocommerce(native functionality)? if so turn it off
all payments must be done only in EUR. - What settings did you make for this? custom code?
What plugin version number are you using?
Quote from Devis on February 27, 2023, 13:30Hi i'm using
FOX - Currency Switcher Professional for WooCommerce v.2.4.0 i put in this plugin in the advanced tab --> Is multiple allowed (No) in this way in cart or checkout page the payment is in EUR(the default currency) and this works
but from Product page the amount sent to Apple is in EUR but the currencyis wrong
Hi i'm using
FOX - Currency Switcher Professional for WooCommerce v.2.4.0 i put in this plugin in the advanced tab --> Is multiple allowed (No) in this way in cart or checkout page the payment is in EUR(the default currency) and this works
but from Product page the amount sent to Apple is in EUR but the currencyis wrong
Quote from Pablo Borysenco on February 28, 2023, 10:32Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and wp-admin access - https://share.pluginus.net/image/i20230222134615.png
Drop me exact link to the issue
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and wp-admin access - https://share.pluginus.net/image/i20230222134615.png
Drop me exact link to the issue
Quote from Devis on March 21, 2023, 20:23attached licence and credentials
if you put a currency <> "EUR" i.e USD and you go to a product page when you try to pay with apple pay you can see the amount in EUR but currency is USD
attached licence and credentials
if you put a currency <>"EUR" i.e USD and you go to a product page when you try to pay with apple pay you can see the amount in EUR but currency is USD
Quote from Pablo Borysenco on March 22, 2023, 10:24Hello
Please drop me ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Hello
Please drop me ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Quote from Devis on March 22, 2023, 11:29just put it
thanks
Devis
just put it
thanks
Devis
Quote from Pablo Borysenco on March 22, 2023, 23:38OK! Our developer will check it tomorrow
OK! Our developer will check it tomorrow
Quote from Pablo Borysenco on March 23, 2023, 15:38Hello
Please do a test
Hello
Please do a test
Quote from Devis on March 23, 2023, 16:31now works Thanks, may I ask you what was the issue, in order to apply also in the productive website?
now works Thanks, may I ask you what was the issue, in order to apply also in the productive website?
Quote from Pablo Borysenco on March 23, 2023, 17:13Please make a full test and only after that transfer the changes to the live site
In file - \wp-content\plugins\woocommerce-gateway-stripe\includes\payment-methods\class-wc-stripe-payment-request.php - I added function - https://share.pluginus.net/image/i20230323170423.png
public function get_currency_compatibility(){
$currency = get_woocommerce_currency();
if (class_exists('WOOCS')) {
global $WOOCS;
if (!$WOOCS->is_multiple_allowed) {
$currency = $WOOCS->default_currency;
}}
return $currency;
}and code - https://share.pluginus.net/image/i20230323170414.png
//$data['currency'] = strtolower( get_woocommerce_currency() );
//woocs
$data['currency'] = strtolower($this->get_currency_compatibility());and code - https://share.pluginus.net/image/i20230323170523.png
//'currency_code' => strtolower( get_woocommerce_currency() ),
//woocs
'currency_code' => strtolower($this->get_currency_compatibility()),and code - https://share.pluginus.net/image/i20230323170812.png
//$currency = get_woocommerce_currency();
//woocs
$currency = $this->get_currency_compatibility();
and code - https://share.pluginus.net/image/i20230323171026.png
//$data['currency'] = strtolower( get_woocommerce_currency() );
//woocs
$data['currency'] = strtolower( $this->get_currency_compatibility());
Please make a full test and only after that transfer the changes to the live site
In file - \wp-content\plugins\woocommerce-gateway-stripe\includes\payment-methods\class-wc-stripe-payment-request.php - I added function - https://share.pluginus.net/image/i20230323170423.png
public function get_currency_compatibility(){
$currency = get_woocommerce_currency();
if (class_exists('WOOCS')) {
global $WOOCS;
if (!$WOOCS->is_multiple_allowed) {
$currency = $WOOCS->default_currency;
}
}
return $currency;
}
and code - https://share.pluginus.net/image/i20230323170414.png
//$data['currency'] = strtolower( get_woocommerce_currency() );
//woocs
$data['currency'] = strtolower($this->get_currency_compatibility());
and code - https://share.pluginus.net/image/i20230323170523.png
//'currency_code' => strtolower( get_woocommerce_currency() ),
//woocs
'currency_code' => strtolower($this->get_currency_compatibility()),
and code - https://share.pluginus.net/image/i20230323170812.png
//$currency = get_woocommerce_currency();
//woocs
$currency = $this->get_currency_compatibility();
and code - https://share.pluginus.net/image/i20230323171026.png
//$data['currency'] = strtolower( get_woocommerce_currency() );
//woocs
$data['currency'] = strtolower( $this->get_currency_compatibility());