#Themax1-Connect
1 messages · Page 1 of 1 (latest)
Hello, I guess the main point of your business is "pay then only transfer the money when the delivery is over", correct?
Do you have both sellers and buyers? And you act as a Platform between them?
I suggest to look at this page as a start: https://stripe.com/docs/connect/charges
Then you determine which one you need : (1) Direct charges or (2) Destination charges or (3) Separate charges and Transfer
yes correct
Yes, I have create a connect account to both delivery and the person that is going to pay
My main account is going to collect fees from this
that's I'm using a connected account
The person that is going to pay is going to use credit card payment
this can be used with credit card?
my main question is like, the person is going to input her credit card information, I have to create a payment method or I can just pass the card direct to the charge api?
the person that is going to pay for the service his going to be a connected account too right?
Let's go for the abstract concept first
The person going to pay, is Customer, and he/she will not be a Connected Account
The delivery person, will be a Connected Account
You are the Platform
the person that is going to pay has to have a stripe account or not?
no
so I can pay no be authenticate to the platform correct?
You as a customer, yes
Let's use the term. The person going to pay = The Customer
the person that is going to create a connected account is the delivery that is going to recieve right?
correct
I starting to get it
Let's say you run a business like Uber Eats
I'm confusing like been as a customer I have to get authenticate, but not necessary
You are the Platform aka the Uber company. Deliver man is Connected Account, Customer is who to pay
There could be thousand of Connected Accounts
because I dont need to have a account on stripe, I just put credit card information and pay platform fees/connected account(deliver)
The Customer will need to be authenticated with the Platform, but not Stripe
Yep
got it
Like Customer need to have an Uber account, but that's Uber account
not Stripe Account
ohh got it
In my application the same people can be both or only one of them
so if I going to be both, I can create a stripe connected account, but if I only a customer, I don't need to create
yes
If the person willing to receive something, they need to be a Connected Account
if they are only paying, they are as good as staying as Customer
When I make a payment, they going to recieve in their bank directly? because i saw you need to make a configuration with informing a bank account
when creating a connected account
this part I almost have all done, you can generate a link and do everything on stripe enverioment
It has a little bit more layers. Each Connected Account (or any Stripe Account) will have a Balance. After a while, Stripe will take fund from Balance, do a Payout, then it will go to Connected Account Bank
That's Payout process
but this is done automatic or not?
Good question, there are 2 types of Payout: Automatic Payout and Manual Payout
😄
hi @vagrant venture can you check my issue?
Hello @magic dune let's continue on our thread
But me as a connected account, can I check my details? or my connected page account details?
or only as a plataform have this data
Also a good question, there are 3 types of Connected Account, and they have different level of details on their Dashboard. Yes you will have a lighter version of Dashboard
Read about Express vs Standard vs Custom
I believe Express is the easier and recommended to begin with
I was going to use express
I'm trying to create a charge and a transfer to one of my connected accounts
but is giving me this error:
{
"error": {
"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Must provide source or customer.",
"type": "invalid_request_error"
}
}
I'm passing like this transfer_data[destination] = ID
as a application/x-www-form-urlencoded
on Insomnia
yes
come find your request that failed, check its parameter on request and response
You can paste your request Id here and we can have a look
(Normally you would know yourself by just looking at your request and response)
I see, this is different issue than the Connect concept itself 😄
Firstly you are using Charge API which is an old one. Would you be able to switch to PaymentIntent?
PaymentIntent is newer
i just copy from the docs from charge that you sent me
paymentIntent is possible to do from my app?
Oh sorry, which link was it?
this one
Yes PaymentIntent should be the way to go
I clicked on the second method
Yeah, and I am seeing it uses PaymentIntent 🤔
hi @vagrant venture I have uploaded my code.
But if a confirm it's going to transfer directly do the connected account right?
Or I have to go for capture mode?
when I confirm he already pay
if I confirm a PaymentIntent he pay the connected account
so PaymentIntent -> capture -> confirm ?
why do I need capture in the end?
That's how the flow works. When you don't want to separate, you have Payment -> Confirm + Capture. When you want to separate, you have Payment -> Confirm -> Capture
I was thinking it was to suppose to be this way, he create a paymentIntent, the credit card gets charged and hold, then when finish delivery, he confirm right?
paymentIntent create a charge on my credit card automatic?
Mostly. When an order is made, you create a PaymentIntent and confirm it (to make sure it's a chargeable Card), then when finish delivery, you capture it
Place a hold on a card to reserve funds now, but capture them only after you complete a service. For example, a hotel may authorize a payment in full prior to a guest’s arrival, then move the money when the guest checks out.
but I confirm? if I confirm the transfer is already going to be made to the connected account is not?
No, the whole payment will be hold until Capture moment
are you sure?
but I pass the connected account on my paymentIntent or only pass on the capture?
on your PaymentIntent creation
but I need to pass on my capture too or not?
I guess it doesn't need too
I didn't pass and work like a charm
omg, ty soo much
just one more small thing
I saw that I can create a payment method, can I create a payment method to the customer one time and then when he is going to pay another deliver he put his credit card again and create another payment method?
he does not associated a payment method to a customer if a doesn't want right?
yes
it's totally up to you, as a Platform to attach the Payment Method to a Customer
we have the Attach and Detach API
If you don't do anything, it won't attach
but my question is, if the customer doesn't have a stripe account, how can I attach to him?
I can not right?
You attach the PaymentMethod to a Customer object
you will need a Customer object to represent him
but where do I save this customer object? on my database?
on Stripe
no, he is just a Customer object live in your Platform Stripe account
But how later on I retrieve this customer?
You create it by using Create Customer API
before creating PaymentIntent
then pass the Customer Id to the call to create PaymentIntent
I mean, there are 2 cases
(1) You don't care about the payer, just let them pay one time and go. That you don't need to create a Customer object and specify in PaymentIntent creation
(2) You care about the payer, like saving their PaymentMethod to reuse later. That you need to create a Customer object and specify in PaymentIntent creation
I have to save the customer ID on my back-end?
It's available on Stripe, so I don't think you would need to save on your backend, unless you want to have less requests to Stripe
For example, you have this API to list all Customers: https://stripe.com/docs/api/customers/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
on your Stripe account