#simonpalmer
1 messages · Page 1 of 1 (latest)
@stripe/react-stripe-js is meant purely for client-side calls that use a publishable key. We require customers to be created with a secret key, server-side, so we don't support creating a customer with @stripe/react-stripe-js at all
(Deleted that message since it had your test secret key in it and this is a public channel)
and just to be super clear - we don't offer a way to create a customer with the stripe-js library at all
you'd have to use our node sdk to do this server-side
ok thanks