Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not passing completed order #1

Open
bradholmes-studio opened this issue May 19, 2018 · 14 comments
Open

Not passing completed order #1

bradholmes-studio opened this issue May 19, 2018 · 14 comments

Comments

@bradholmes-studio
Copy link

currently have an issue with the gateway no passing back payment result so orders sit at pending payment all the time

@joseconti
Copy link
Owner

joseconti commented May 19, 2018

Hi,

Is your website under Lets Encrypt certification?

If yes, you need to activate SNI compatibility and ensure that nothing is redirecting all connections to https.

@bradholmes-studio
Copy link
Author

yes lets encrypt and sni is active i will continue to test

@bradholmes-studio
Copy link
Author

still no joy with this none of our orders are passing back payment notification sni is on but we are forcing ssl any advice?

@joseconti
Copy link
Owner

Hi,

You have to check if you are forcing https at .htaccess or maybe, if your hosting provider is forcing it. ex, SiteGround has an option for forcing https, so you need to disable it at Let's Encrypt settings.

@bradholmes-studio
Copy link
Author

We have changed our ssl turned off any forcing and also spoke to host and no forcing is happening

@joseconti
Copy link
Owner

Can you check at Redsys website if there is an error connecting to your website?

Recently I found a problem on other website that have been using Wordfence Firewall and the firewall was blocking the Redsys IP.

@bradholmes-studio
Copy link
Author

Hi jose we are really struggling we this due to none of us speaking spanish is it possible that you can help

@harryderouich
Copy link

Hi Jose, I'm working on this with Brad. Are you able to confirm the Redsys IP? Struggling to find it with the limited documentation we have.

@joseconti
Copy link
Owner

Hi, I'm sorry for the delay, but there were a lot of work with the RGDP.
I don't know all Redsys IPs, but one is 195.76.9.187

Few days ago, another user has a problem like this, and was because Wordfence Firewall was blocking this IP.

@harryderouich
Copy link

Hi Jose, not a problem.

We've asked our server company to check for any IP blocks in the entire 195.76.9.1XX and 195.76.9.2XX range (we narrowed it down to Redsys using these ranges), and they confirmed there is nothing blocked.

I've also updated all plugins on our site to the latest version, and the payment notification is still not being sent back.

Do we have to coordinate with Redsys to enable IPN for our site? Or do we just put the credentials in and it should work instantly? We haven't communicated anything to Redsys other than retrieving the credentials.

If it matters, we are on a multisite installation and using the Free version of the plugin.

Thanks in advance!

@joseconti
Copy link
Owner

joseconti commented May 30, 2018

At RedSys website, yo need to set “http notificatio” or “email + http notification”. Normally that is by default.

The free & WooCommerce.com versión works in the same way, so you don’t need to add the IPN at RedSys website.

The plugin works fine in a Multisite installation.

@harryderouich
Copy link

Hi Jose.

I logged in to their Redsys system and checked the notification logs, each time we tried to make a payment we got the following error:

Server returned HTTP response code: 403 for URL: http://www.hrhroadtrip.com/?wc-api=WC_Gateway_redsys

Any ideas what might be causing this?

@harryderouich
Copy link

Update: We managed to get this working, below is the response from our server support in case it helps:

"By default, our platform security profile blocks API calls that use the Java User Agent. I was able to activate the User Agent by customizing your install server configuration file."

@joseconti
Copy link
Owner

Ouh, yes, Redsys use Java User Agent for callbacks.
Thanks a lot for the update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants