Viewing 6 replies - 31 through 36 (of 36 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

    @jpisanu have any news?
    We can force pass the url without HTTPS from this plugin ou register the URL on MercadoPago, but still can be an issue if the server is redirecting all URLs to HTTPS.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    @jpisanu can you please test with this code?

    function my_wc_remove_https_from_api_request_url( $url ) {
    	return str_replace( 'https:', 'http:', $url );
    }
    
    add_filter( 'woocommerce_api_request_url', 'my_wc_remove_https_from_api_request_url' );
    

    You can put this in your theme’s functions.php file.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio, sorry I didn’t see this last message from you. I will test the function and will let you know.Thank you!

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio…

    That did the job ??

    I added an exception on my redirect rule (for https) for notifications url and then with that function the ipn notification sent by wc for the order is changed to http and that did the job.

    I’m still not 100% happy for not being able to have everything under https but this will give me some time to discuss that matter with MP, nothing to do with your great plugin and support.

    Thanks so much for all your help.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Yep, I’m not happy with this “solution”, but looks like will generate less issues.
    I just updated the plugin and now don’t send my the notification_url with https.
    I’m marking this as “Resolved” since it’s not an issue with this plugin and this last update should improve it, but please, let me know what MP answer.
    Thanks for let me know about it and for the patience for testing it.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio, yes, we are agree on the http.

    It’s okay to mark the ticket as resolved since it was actually resolved and there’s nothing to thank me for, you gave me an awesome support man.

    I will let you know about MP, but you know that their support is horrible so I hope to at least get an answer from them.

    Best!

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘Pending Payment Status not changing’ is closed to new replies.