@stefanclark Wix supports adding NPM libraries, but we are unable to provide support for them. You will need to discuss this with Stripe technical support to determine how to get this to work.
You might also want to review the Stripe Payment Processing example which does not use the NPM library.
See the article Connecting Stripe as a Payment Provider which might provide a solution for you.