#Jeff-payments
1 messages · Page 1 of 1 (latest)
hi! you certainly can. What exactly are you looking for(when do you accept the card and when do you charge it), what's the overall flow and what do you mean by it being "certain" card info.
Hi, @agile gazelle Thank you for your reply.
Let me explain the whole flow.
1, i create a platform where a student asks a question and teachers can reply.
2, a student can add payment method in his account.
3, when that student makes a question and submit, he should pay for that.
In this flow,how can i implement this flow in stripe?
should i create a customer in stripe and add that payment method to that customer?
@agile gazelle
you should start by looking into Stripe Connect since that's the overall product you'd need to implement
I assume both you and the teacher take a split of the incoming money from the student?
Yes
then yes you need Connect, so I'd start at https://stripe.com/docs/connect/ and carefully read through the various integration options and the worked guides like https://stripe.com/docs/connect/collect-then-transfer-guide
thank you for your help. @agile gazelle
but in this case, the student cant use already added payment method?
they can, you can save and reuse payment methods in Stripe (https://stripe.com/docs/payments/save-and-reuse) and that works with Connect setups too
btw can we attach several payment method to a customer?
yes
can we make a charge to that payment method?
yep(covered in the save and reuse guide I linked). Wouldn't be much use if you could just save a card and not do anything with it 😉
now all i know is the payment method id with last 4 digits of a card.
cool
this is the link i wanted.
the link above shows you use that PaymentMethod ID pm_xxx and the ID of the saved Customer cus_xxx to create a PaymentIntent to charge it again.