• Resolved Maldonado

    (@jmimpulsotecnologicocom)


    Hello, I’m running into problems with my Servired (payment gateway) integration with Woocommerce and using BPS.

    After spending a good amount of time, I discovered that BPS was blocking the traffic from the Bank payment gateway.

    By looking at my weblog, I found this line that registers the IP address were the POST information is coming from. This is the information/traffic that I want to allow into my website.
    195.76.9.187 - - [05/Feb/2015:22:05:03 +0100] "POST /?wc-api=WC_Gateway_redsys HTTP/1.1" 500 - "-" "-" "Java/1.5.0"

    By having BPS active, I get this message from my bank admin panel, thus the transaction doesn’t get completed and my order remains “pending payment”.
    https://www.mywebsite.com/?wc-api=WC_Gateway_redsys
    Server returned HTTP response code: 403 for URL: https://www.mywebsite.com/?wc-api=WC_Gateway_redsys

    If I disable BPS, everything runs smoothly.

    Any help would be appreciated.

    https://www.ads-software.com/plugins/bulletproof-security/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author AITpro

    (@aitpro)

    What is being blocked is “java” in the User Agent string: Java/1.5.0
    The solution is here: https://forum.ait-pro.com/forums/topic/scoop-it-403-error/#post-2290

    Plugin Author AITpro

    (@aitpro)

    Is the issue resolved? If not, please post any additional relevant info.

    Thread Start Date: 2-4-2015 to 2-5-2015
    Current Date: 2-8-2015

    Plugin Author AITpro

    (@aitpro)

    Is the issue resolved? If not, please post any additional relevant info.

    Thread Start Date: 2-4-2015 to 2-5-2015
    Current Date: 2-10-2015

    Thread Starter Maldonado

    (@jmimpulsotecnologicocom)

    Hi. Thanks for the quick reply. I didn’t have time to test it yet. Hopefully during the day today or tomorrow. I’ll write as soon as I test it.

    Thanks again.

    Thread Starter Maldonado

    (@jmimpulsotecnologicocom)

    Did it and worked!!!! Hooray! Thanks for your help

    Good morning, i’m working with Worpress 4.3.1, Woocommerce 2.4.10 and module to pay by tpv virtual con Redsys with v.2.4.8.

    My issue is that I can pay but when I receive the answer from Redsys my web page doesn’t discount stock and doesn’t change the status order.

    I have cleand my .htaccess file, I have cleaned all rules also.

    I have worked a lot time with this situation but I don’t find the solution.

    Please can you help me?

    Thanks a lot.

    Plugin Author AITpro

    (@aitpro)

    If the problem is related to BPS then check your BPS Security Log file and post the Security Log entry that shows what is being blocked. If the problem is not related to BPS then enable logging/debugging: https://www.woothemes.com/products/redsys-gateway/ in WooCommerce/Redsys to find where the problem is occurring.

    Thanks for your answer fast,

    I have activated that option too: in the log file are logged the steps until Woocommerce connect with page of Redsys to show the form where the user must introduce card number.

    But when Redsys show the message OK in the transaction then redsys come back to the web of Woocommerce. In that moment the web of shop shows the form correct but don’t decrement the stock and doen’t change de status of order.

    This is a mystery.

    Plugin Author AITpro

    (@aitpro)

    You cannot fix a problem if you do not know what the problem is. You need to find log entries and errors to be able to start to troubleshoot the problem. Without any clues/log entries you will never be able to fix a problem. If BPS is causing the problem then BPS will log Security Log entries for what is being blocked. Post any BPS Security Log entries that you see. If you do not see any BPS Security Log entries then BPS is not causing this problem and you will need to look at other debugging/logging log entries to find the problem. You can also check your Server log file for errors.

    Plugin Author AITpro

    (@aitpro)

    In general, the problem sounds like a setting problem somewhere in either the WooCommerce plugin or the Redsys plugin. You will have better luck asking WooCommerce or the Redsys plugin author for help since I do not use either of these plugins and do not know anything technical about them.

    Thanks a lot for your help. When I find the solution to this issue I will write the solution for other persons.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Allow POST traffic from IP address to prevent 403’ is closed to new replies.