I am also experiencing this issue. I am using NestJS which is pretty much NodeJS. When I create the order, it all works fine and then when I want to capture/make payment, I get "Authentication failed due to invalid authentication credentials or a missing Authorization header". Pretty confident that I am doing everything correctly as if there was a problem with authentication, I doubt that the "Create Order" API would work.
... View more