Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1999 Widoki

While I have already had the correct parameters in the configuration file.

My odoo stripe configuration is also processing the orders correctly, however 2 out of the 7 events are not receiving the webhook from stipe.:

​​payment_intent.succeeded

​payment_intent.amount_capturable_updated

my webhook status is ok 200 on both odoo and stipe logs.

1. Added the following flag in the odoo config file:

[options]
proxy_mode = True

2. Add this header in the nginx config:

proxy_set_header X-Forwarded-Host $host;


my stripe logs and odoo logs return a 200 ok message.
it is only for the following two events webhooks that fail.
payment_intent.succeeded

payment_intent.amount_capturable_updated


The transaction does process well but for some reason the webhook keeps trying to resend it to odoo and i keep getting a 404 error again only for those two methods. After a week there are approx 1400 retries a day and it slows down the server considerably.



Awatar
Odrzuć

I'm getting this issue also! I'm on Odoo Online so I can't tweak the code to fix.

I get it every 4 or 5 payments also. I have to then logon to Stripe, manually "Capture" the payment which then goes through on the stripe account but in Odoo it hangs or cancels the transaction on PoS. I then have to process as Cash to register the transaction as paid.

This is a real pain and clearly a bug - can someone at Odoo provide some clarification on this issue?

Autor Najlepsza odpowiedź

This morning I got a an email from stripe telling me that my web hook has been activated as I was no longer receiving web hook errors. 


The only major change that I did was yesterday. I deleted all my test databases. It seems the web hook address was somehow creating an error where it was something wrong when you had more than one database and now so far to date transactions still gone through. I get zero webhook errors

So for me the problem has been solved. As for you being online and using SAS, I have no idea what could be the problem, but perhaps something similar along the having multiple databases.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 23
2153
1
gru 21
3749
0
sty 21
4045
1
paź 24
1440
1
maj 21
3481