[Stripe] In our ecommerce in last days we have this wrong behaviour, some user pay correctly with order on processing state

Maybe your webhooks configuration is broken after the store’s movement?
Maybe you have a wrong webhook URL there, or maybe your server refuses the Stripe’s notifications?

Could be that the problem is df_is_localhost() function retur TRUE becase $_SERVER, ‘REMOTE_ADDR’ =‘127.0.0.1’ because we have 2 webserver in line?

I do no think the problem could be efficiently solved by jumping from one suggestion to another in random order.
Check the suggestions I have written above first.

Yes but after your suggestion on webhook I checked on admin config and I have this:

==> Webhook: The notifications are not available, because the store is running on localhost

and so I asked this to you.

Publish an exact screenshot of your Stripe webhook settings here.

Here configs

thanks for help :slight_smile:

I need your Stripe webhook settings, as I said.
Click this link, and publish the same screenshots as I have published in the manual.

As I said, need to correctly setup a webhook.
Set the https://www.quanticlo.com/dfe-stripe address there.

Ok we setted it, so should be that the “localhost” problem is not a real problem correct?

The “localhost” problem is not related to your problem.

Ok now seems work correctly (we 'll check for next orders if are all OK ) but on Event Log we have for transaction the “pending webhook message”.

Open the problem event there, and Stripe will show you your store’s response to the event.

Hello Dmitry first of all ty for your support,
but we are continuing have orders in pending…

this is the response on stripe

Your server is misconfigured.
Provide me:

  1. SSH access to the server.
  • Access to the Stripe dashboard.

@Luca_Innocenti

The main problem is:

  1. If I open the https://www.quanticlo.com/dfe-stripe link in a browser manually first time, then the quanticlo.com's webserver redirects me to https://www.quanticlo.com/eur/.
    It is wrong because the website does not pass the control to the Stripe module.
    Maybe it explains the 302 error code on your previous screenshot: maybe it means HTTP 302 («the requested page is moved temporarily»).
  • If I reopen the same https://www.quanticlo.com/dfe-stripe link in a browser manually second time, the quanticlo.com's webserver correctly passes the control to the Stripe module, and the Stripe module responds «The request is invalid because the required parameter type is absent».
    It is the correct response because the link is opened manually.

So the problem point is 1.
It is reproducible: to reproduce it, delete the quanticlo.com's cookies and the the quanticlo.com's Local Storage data in the browser, and the browser will behave as 1 again.

Maybe the problem could be solved by changing the webhook’s URL from https://www.quanticlo.com/dfe-stripe to https://www.quanticlo.com/it/dfe-stripe in the Stripe’s dashboard (by addition of the /it path): try it.

Hello Dmitry and thank you for your support. I am trying to support my teammates to resolve this issue and now payments are fine but order status is still pending. We have upgraded Stripe extension to latest version. Only in case of 3d secure.

I will not support you and your teammates for free anymore.
If you need my expertise after your server moving / changing / etc, then you should buy my Magento 2 monthly support service.
And I will need SSH access to your server.