#karlo-payments-qs

1 messages · Page 1 of 1 (latest)

spice cargo
#

a/ correct, a one time Charge or PaymentIntent cannot be associated with an Invoice

You have to create an Invoice first, then pay the underlying PaymentIntent with a PaymentMethod to have the Customer pay an Invoice

(answering other qs)

#

b/ you will have to share the request ID for that request and I can help you

#

c/ there is no concept for "automatic one time PaymentMethod", there is no default for one time payments basically

#

d/ there is yes, you create an Invoice via the /v1/invoices endpoint, then you "pay" it via the API or pay the underlying PaymentIntent of the Invoice

#

let me know if you have more qs about some of those points

gusty jackal
#

for the request of b/ -- req_iRKW9Act0aK4sE

#

this was done on a test or developer section -- thank you for your quick responser

spice cargo
#

ah ok so you're passing customer: , that only works if the Token is attached to the Customer. So you need to make an additional API call to attach the Token to the Customer, then pass customer: cus_123 and the attached "Card" ID source: card_456

that said, if you're moving to PaymentIntents, lets ignore Charges entirely as they're the deprecated API and all your integration should be built on PaymentIntents

gusty jackal
#

ok thanks for the answer -- now about payment intents -- a few more questions ...

#

a. on "confirmCardPayments(client_secret, payment_method) --->. is there a way i can just use the card token in this stripe.js method?

spice cargo
#

why use Tokens when your code can just create a PaymentMethod instead?

gusty jackal
#

paymentMethod - ok from the stripe.js front-end, by mounting a card on elements - right?

spice cargo
#

yep, instead of createToken you call createPaymentMethod()

gusty jackal
#

just another question-- ACH Debit -- micro deposit verification:
a. when doing this verification, does stripe determine how much the deposit amount will be or can we pass this as parameter?
b. when passing as a parameter the deposit amount, this will be an array of 2 numbers -- correct?

gusty jackal
spice cargo
#

billing_details is not required.

#

since you are looking at ACH debit, I assume you're looking at the older integration, recommend talking to Stripe Support and asking them if they can add you to a limited beta for ACH Debit support on PaymentMethods

#

a. when doing this verification, does stripe determine how much the deposit amount will be or can we pass this as parameter?
Stripe determines this

b. when passing as a parameter the deposit amount, this will be an array of 2 numbers -- correct?
correct, like [25, 45]

gusty jackal
spice cargo
#

no

gusty jackal
#

are you recommending we do not go this path?

#

with micro deposits since it is older integration?

spice cargo
#

my recommendation was that if Stripe is open to accepting more folks in the new ACH Debit on PMs integration, then you can just get into that and build an ACH Debit integration on PaymentMethods just like your "cards" integration
if not, then using microdeposits is fine for now, that integration uses Charges

gusty jackal
spice cargo
#

it can be used for production yes, it might be a very limited beta so not sure if you'll get access or not but worth asking

gusty jackal
#

Thank you so much for your time..