Tooster
Forum Replies Created
-
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Doesn't work with WPMLI checked the logs and no apparent relevant errors. But i’ll keep an eye on it.
when i continue (choose “payed”) on the mollie payment page (test page) it sends me here:
http://www.skili.be/wc-api/mollie_return/?order_id=5461&key=wc_order_55dd1b1bbc6c1
this is a 404when i add /en or /nl like so:
http://www.skili.be/en/wc-api/mollie_return/?order_id=5461&key=wc_order_55dd1b1bbc6c1
it redirects me to:
http://www.skili.be/en/checkout/order-received/5461/?key=wc_order_55dd1b1bbc6c1&utm_nooverride=1
but in the back-end the order is always “payment pending” instead of “payed”.I’m hoping you can help me based on all this info
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Doesn't work with WPMLI’ve now fixed the SSL certificate. The plugin i’m using for multilingual functions is WPML a very known and popular plugin. It provides a filter so that
home_url()orget_home_url()return the url with the current language appended.
In your plugin there is an example where you use$_SERVER['SERVER_NAME']to get the base urlwww.skili.beusing the following code I would get the correct url$str = home_url(); $str = preg_replace('#^https?://#', '', $str); //remove http:// or https:// if(substr($str, -1) == '/') { $str = substr($str, 0, -1); } //remove trailing slashI hope the fix is this simple and you could show me the file(s) where i have to edit your plugin. I need a quick fix atm, i’ll worry about the longterm solution later. Launchtime is ridiculously close..
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Doesn't work with WPMLI’ve turned off ‘Force HTTPS’ still Payment pending after I manually adjust the URL with language suffix. Where can i find the code that passes the URL so I can add the code for the suffix?
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Doesn't work with WPMLBoth Woocommerce and WordPress are the latest version.
Indeed we use WPML for the language suffix. There’s a function provided by WPML to get the url with the suffix. I’ll look it up. Do you know where or how i can replace it then?
Thnx for the fast reply! (stressfull situation atm)