Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const intent = (await require("stripe")(process.env.STRIPE_PKEY).paymentIntents.create({
- payment_method_types: ["card"],
- amount: ammount,
- currency: currency,
- application_fee_amount: floom_fee,
- on_behalf_of: merchantStripeConnectID,
- transfer_data: {
- destination: merchantStripeConnectID
- }
- })).client_secret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement