Plugin RedirectURL Not Working with HTTPS
-
Hi
The plugin don’t seem to work with HTTPS only setup. I had my website’s port 80 closed off for security reason so only https will work. Every time I submitted a credit card payment, I will get a Bad Request error because the redirectURL in class-wc-eway-api.php is forced to use http.
Line 125
'RedirectUrl' => str_replace( 'https:', 'http:', add_query_arg( array( 'wc-api' => 'WC_Gateway_EWAY', 'order_id' => $order_id, 'order_key' => $order_key, 'sig_key' => md5( $order_key . 'WOO' . $order_id ), ), home_url( '/' ) ) ),I tried removing the str_replace function so the redirectURL is https instead of http, but I just ended up with a 504 timeout instead.
Is this a bug? Does the redirectURL has to be http instead of https? Can it work with https ?
Many Thanks
– Duo
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin RedirectURL Not Working with HTTPS’ is closed to new replies.