#sihan

1 messages · Page 1 of 1 (latest)

lofty prismBOT
lethal meteor
#

hello! that document mentions that you would use a SetupIntent to collect and save the PaymentMethod details first. Subsequently, you would collect payment using a PaymentIntent. Did you implement the logic to use a SetupIntent first?

dire ridge
#

yes

#

I have implemented the logic to use the setup intent first

#

but the problem is, whenever i create the payment intent, not even initiate any transfer, the charge gets triggered automatically without doing anything from the code

lethal meteor
#

that's expected behaviour - the charge occurs first, then you transfer the funds from your charge to other connected accounts