CORS error for payment when using a webhook taxes

When I activate a webhook taxes, everything works fine: the correct taxes amount appears in the cart and the webhook logs are happy! But then I can’t make any payment because of a CORS errors following the taxes operations.
When I desactivate the webhook taxes, the payment proceed without issue.

Thanks for your help.

CleanShot 2023-08-19 at 22.00.37@2x

I was using a 100.0 rate value, instead a of 1.0 one. That was causing some kind of error.