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.
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?