Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1.  
  2. var paymentIntents = await stripe.paymentIntents.create({
  3. //payment_method_types: ['card'],
  4. amount: totalamount,
  5. currency: 'eur',
  6. application_fee_amount:fee,
  7. customer: customer,
  8. payment_method: card,
  9. return_url:'chargesplit://redirect3dspay',
  10. confirmation_method: 'automatic',
  11. confirm:true,
  12. capture_method:'manual',
  13. transfer_data: {
  14. destination: account_number,
  15. }
  16. })
  17.  
  18.  
  19. return {
  20. status: paymentIntents.status,
  21. paymentintent: paymentIntents,
  22. reservationid: resid,
  23. sessionid:sessionid,
  24. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement