SHARE
TWEET

stripe

a guest Nov 8th, 2019 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    : await createCustomer(user.fullName, user.email, stripeToken);
  2.           if (customer) {
  3.             await charge(
  4.               customer,
  5.               user.email,
  6.               Math.ceil(amount),
  7.               user.currency.toLowerCase()
  8.             );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top