#karlo-payments-qs
1 messages · Page 1 of 1 (latest)
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
e/ the steps are explained here in detail https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
but broadly
1/ create PaymentIntent on server
2/ confirm PaymentIntent on webpage
let me know if you have more qs about some of those points
for the request of b/ -- req_iRKW9Act0aK4sE
this was done on a test or developer section -- thank you for your quick responser
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
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?
why use Tokens when your code can just create a PaymentMethod instead?
paymentMethod - ok from the stripe.js front-end, by mounting a card on elements - right?
yep, instead of createToken you call createPaymentMethod()
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?
is the billing_details required when creating a payment method?
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]
for option b: --> we can pre-determine the amount to submit for micro deposit? instead of stripe making the selection?
no
we already setup the ACH Debit and verification via Plaid -- unfortunately, not all of our customers bank accounts are available with Plaid -- so we are opting for micro deposit
are you recommending we do not go this path?
with micro deposits since it is older integration?
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
is this still in beta or can it be used in production?
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
ok thanks -- we will do micro deposits first due to urgency on our part, since we are not sure we can get into the limited beta -- but will definitely email our client rep to help us out.
Thank you so much for your time..