#Laxislad-help

1 messages · Page 1 of 1 (latest)

blazing anvil
woven seal
blazing anvil
#

Hi there! Ask your question in this thread and I'll help if I can!

woven seal
#

why Am I getting this error?

#

I need to charge from "cus_LSPjfmtGnCoiUG" and transfer funds to "acct_1KiMuHRJ0G43GmTl" account

blazing anvil
#

Looking!

#

So the issue is that you are mixing PaymentMethods (pm_xxxx) with Charges... which doesn't play as well.

#

You should use PaymentIntents here

#

With a PaymentIntent you don't specify a default for one-off charges though, and you pass the PaymentMethod ID along with the Customer ID each time you want to charge the card.

woven seal
#

how can I do that without customer interaction?

blazing anvil
woven seal
blazing anvil
#

Gotcha! That is our legacy integration and you should instead follow the guide I referenced above.

woven seal
#

this was last week.

blazing anvil
#

Funds only transfer to your Connected Account if you set transfer_data.destination on the PaymentIntent or if you make a separate transfer later on.

#

Just setting on_behalf_of won't cause a transfer to occur.

woven seal
#

thanks man.

#

API is too overwhelming

blazing anvil
#

There is a lot you can do with it 🙂

woven seal
#

I'm a noob

#

is there a path to learn this? like step by step guide?

blazing anvil
#

If you are trying to build a production integration then I'd really recommend hiring a developer or exploring our no-code options (check out Payment Links).

woven seal
#

I'm a developer but this is my first time using stripe

blazing anvil
#

Oh I see. In that case I'd take some time to read through our docs a bit for exactly the integration you want. We also have a nice video catalogue on our Stripe Developers channel that might be helpful to peruse: https://www.youtube.com/c/StripeDevelopers

woven seal
#

I watched many

#

thanks