Quote from debbiecooper on May 14, 2020, 23:12
I have still got problems with your plugin and even though I only bought it a week or so ago, I have now had to disable it because it was causing an error with my EPDQ payments. I really want to get this working and have been speaking to the developer of the EPDQ plugin. This is what he tells me is the problem -
"You will need to ask the plugin developer for WOOCS - WooCommerce Currency Switcher to fix his plugin as he is loading all his scripts on every single page.
The errors are after payment is made, when the customer is sent back to the website is when the WOOCS plugin breaks our checks.
Barclays sends us data back when the customer comes back to the website, this data is encrypted and we use your SHA-Out to decrypt it. The WOOCS plugin is messing with this.
He just needs to make sure his code is not ran on this URL https://www.swankypins.co.uk/wc-api/epdq_checkout/ as this is where we do the SHA check.
I quickly disabled the WOOCS - WooCommerce Currency Switcher plugin, reloaded the page with the SHA issue and then turned back on the Currency plugin and the payment has gone through fine."
As it worked when he disabled your plugin, I have now had to remove the code from functions.php
add_filter('wp_head',function(){
if(is_checkout()){
global $WOOCS;
$WOOCS->set_currency('GBP');
}
});
and then disable plugin.
Can you please help with this.
Thanks, Debbie
I have still got problems with your plugin and even though I only bought it a week or so ago, I have now had to disable it because it was causing an error with my EPDQ payments. I really want to get this working and have been speaking to the developer of the EPDQ plugin. This is what he tells me is the problem -
"You will need to ask the plugin developer for WOOCS - WooCommerce Currency Switcher to fix his plugin as he is loading all his scripts on every single page.
The errors are after payment is made, when the customer is sent back to the website is when the WOOCS plugin breaks our checks.
Barclays sends us data back when the customer comes back to the website, this data is encrypted and we use your SHA-Out to decrypt it. The WOOCS plugin is messing with this.
He just needs to make sure his code is not ran on this URL https://www.swankypins.co.uk/wc-api/epdq_checkout/ as this is where we do the SHA check.
I quickly disabled the WOOCS - WooCommerce Currency Switcher plugin, reloaded the page with the SHA issue and then turned back on the Currency plugin and the payment has gone through fine."
As it worked when he disabled your plugin, I have now had to remove the code from functions.php
add_filter('wp_head',function(){
if(is_checkout()){
global $WOOCS;
$WOOCS->set_currency('GBP');
}
});
and then disable plugin.
Can you please help with this.
Thanks, Debbie