#x.auth-charge

1 messages · Page 1 of 1 (latest)

celest oriole
carmine pebble
#

yay

celest oriole
#

Hey. How are you currently integrating with Stripe?

carmine pebble
#

i havent made one yet

#

im just finding out of to do it so i can make it

#

like how do i make it to where customers add there card so i know they are not a robot

#

it doesnt charge them it just places a 1$ hold

celest oriole
#

It's also possible with Checkout

carmine pebble
#

capture_method"="manual

#

so its like that

#

i just add that to a charge

celest oriole
#

That's the parameter yes

carmine pebble
#

so i replace pi with my public key?

celest oriole
#
const paymentIntent = await stripe.paymentIntents.create({
  amount: 1099,
  currency: 'cad',
  payment_method_types: ['card'],
  capture_method: 'manual',
});
#

capture_method

carmine pebble
#

amount would be 1

#

right because its just 1$

celest oriole
#

No, it'd be 100. Amount is an integer in the lowest denomination for that currency – so for USD cents