Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter Tooster

    (@tooster)

    I 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 404

    when 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

    Thread Starter Tooster

    (@tooster)

    I’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() or get_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 url www.skili.be using 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 slash

    I 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..

    Thread Starter Tooster

    (@tooster)

    I’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?

    Thread Starter Tooster

    (@tooster)

    Both 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)

Viewing 4 replies - 16 through 19 (of 19 total)