Skip to Content
Menu
This question has been flagged
1 Reply
1562 Views

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.



Avatar
Discard

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?

Author Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 23
1582
1
Dec 21
3201
0
Jan 21
3515
1
Oct 24
869
1
May 21
3021