• Resolved Whello Indonesia

    (@whellodev)


    Hi, I found a bug in this plugin. I’m not sure if it’s just happening on my end, but it seems there’s an issue with the redirect during checkout. It looks like the link_url response is missing the 'https://' prefix, so instead of redirecting to the correct page at flip.id/<merchant-name>, the checkout process redirects to /checkout/flip.id/ instead.

    For now, I’ve added a few lines of PHP code to the class-flip-gateway-api.php file as a temporary fix. (line 204). Looking forward for the new update. Thank you

    if (isset($response->link_url)) {
    $url = $response->link_url;
    if (strpos($url, 'https://') !== 0) {
    $url = 'https://'.$url;
    }
    $response->link_url = $url;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Redirect Issue’ is closed to new replies.