• Pratham

    (@pratham2003)


    Hi,

    I came across the following line in code when we noticed out checkout stopped working and called the CCAvenue support who told us our website was sending the redirect_url as HTTP even though we had moved our website to HTTPS.

    $this->notify_url = str_replace( 'https:', 'http:', home_url( '/wc-api/WC_nilesh_Ccave' ) );

    Can you please let us know if there is a specific reason you are forcing HTTP on the return URL? It seems to be already causing issues for a some of your users who are on HTTPS and it instructs CCAvenue to transmit over HTTP which is insecure.

    • This topic was modified 7 years, 1 month ago by Pratham.
Viewing 1 replies (of 1 total)
  • Plugin Author nilesh0308

    (@nilesh0308)

    Hello Pratham,

    sorry for your inconvenience I have updated my code can u please download the latest version for this plugin and check once.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘why str_replace ‘https’ to ‘http’ the redirect_url ?’ is closed to new replies.