Open utterances-bot opened 2 years ago
I'm a little confused by the code in the helper function, specifically: ...(body && { body: JSON.stringify(body) }),
As the body parameter is null, how would this ever evaluate to anything other than false?
I'm sure I'm missing something obvious...
Checkout with React
Complete a checkout session and redirect to a success or fail page
https://fireship.io/courses/stripe-js/checkout-react/