#kevin-connect-direct
1 messages · Page 1 of 1 (latest)
Hello 👋
How exactly are you creating the direct charge?
Usually, you pass the customer ID when you create the PaymentIntent to link a customer
https://stripe.com/docs/connect/direct-charges#create-a-charge
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-customer
I making a direct charge transaction i used the payment intent api for direct charge ,so i was asking on that how are we going to bill the customer purchasing goods
Do you mean once you create the PaymentIntent, how would you collect the PaymentMethod and charge it?
let me get you thee response real quick
so this is the api call for that from the stripe docs
so my question is who will be the one being billed that amount is it the connected account since we don’t a Customer info there
I think there's some misunderstanding here. The PaymentIntent will not charge anything OR anyone until it has been confirmed with a PaymentMethod.
The API call is only creating the PaymentIntent
We have a guide here that goes over how you can accept payments in a connect setup
https://stripe.com/docs/connect/collect-then-transfer-guide?platform=web#accept-payment
can i accept the charge without a checkout? i'm using standard account and im not using a chekout session
im using a saved payment method
Where is the payment method saved? On your platform account OR the connected account?
on the Platform account
In that case you'd need to clone the payment method to the connected account first
https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
And then create charges like this
https://stripe.com/docs/connect/cloning-customers-across-accounts#creating-charges
okay let go with that and see how it goes
👍