#Themax1-Connect

1 messages · Page 1 of 1 (latest)

vagrant venture
#

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?

#

Then you determine which one you need : (1) Direct charges or (2) Destination charges or (3) Separate charges and Transfer

stone prawn
#

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

stone prawn
#

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?

stone prawn
vagrant venture
#

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

stone prawn
#

the person that is going to pay has to have a stripe account or not?

vagrant venture
#

no

stone prawn
#

so I can pay no be authenticate to the platform correct?

vagrant venture
#

You as a customer, yes

#

Let's use the term. The person going to pay = The Customer

stone prawn
#

the person that is going to create a connected account is the delivery that is going to recieve right?

vagrant venture
#

correct

stone prawn
#

I starting to get it

vagrant venture
#

Let's say you run a business like Uber Eats

stone prawn
#

I'm confusing like been as a customer I have to get authenticate, but not necessary

vagrant venture
#

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

stone prawn
#

because I dont need to have a account on stripe, I just put credit card information and pay platform fees/connected account(deliver)

vagrant venture
#

The Customer will need to be authenticated with the Platform, but not Stripe

vagrant venture
#

Like Customer need to have an Uber account, but that's Uber account

#

not Stripe Account

stone prawn
#

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

vagrant venture
#

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

stone prawn
#

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

vagrant venture
#

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

stone prawn
#

but this is done automatic or not?

vagrant venture
#

Good question, there are 2 types of Payout: Automatic Payout and Manual Payout

#

😄

magic dune
#

hi @vagrant venture can you check my issue?

vagrant venture
#

Hello @magic dune let's continue on our thread

stone prawn
#

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

vagrant venture
#

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

stone prawn
#

I was going to use express

#

I'm trying to create a charge and a transfer to one of my connected accounts

#

I'm passing like this transfer_data[destination] = ID

#

as a application/x-www-form-urlencoded

#

on Insomnia

vagrant venture
#

Let's start by checking your Dashboard log

#

You are using Test Mode?

stone prawn
#

yes

vagrant venture
#

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)

stone prawn
#

req_4mGUymBeTEMAmf

#

looking here is actually the same

vagrant venture
#

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

stone prawn
#

i just copy from the docs from charge that you sent me

stone prawn
vagrant venture
#

Oh sorry, which link was it?

vagrant venture
#

Yes PaymentIntent should be the way to go

stone prawn
#

I clicked on the second method

vagrant venture
#

Yeah, and I am seeing it uses PaymentIntent 🤔

stone prawn
#

I use payment intent and it was created

#

now is like requires confirmation

magic dune
#

hi @vagrant venture I have uploaded my code.

stone prawn
#

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

vagrant venture
#

Yes use Capture later mode

#

hmm but what do you mean by confirm he already pay?

stone prawn
vagrant venture
#

Ah yes, more correctly, then fund will transfer to Connected Account's balance

stone prawn
#

so PaymentIntent -> capture -> confirm ?

vagrant venture
#

Also from same doc

#

Payment -> Confirm -> Capture

stone prawn
#

why do I need capture in the end?

vagrant venture
#

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

stone prawn
#

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?

vagrant venture
#

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.

stone prawn
#

but I confirm? if I confirm the transfer is already going to be made to the connected account is not?

vagrant venture
#

No, the whole payment will be hold until Capture moment

stone prawn
#

are you sure?

#

but I pass the connected account on my paymentIntent or only pass on the capture?

vagrant venture
#

on your PaymentIntent creation

stone prawn
#

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?

vagrant venture
#

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

stone prawn
#

but my question is, if the customer doesn't have a stripe account, how can I attach to him?

#

I can not right?

vagrant venture
#

You attach the PaymentMethod to a Customer object

#

you will need a Customer object to represent him

stone prawn
#

but where do I save this customer object? on my database?

vagrant venture
#

on Stripe

stone prawn
#

but on platform stripe?

#

or he is own stripe account?

vagrant venture
#

no, he is just a Customer object live in your Platform Stripe account

stone prawn
#

But how later on I retrieve this customer?

vagrant venture
#

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

stone prawn
#

I have to save the customer ID on my back-end?

vagrant venture
#

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

#

on your Stripe account

stone prawn
#

But I need to save the customerID on my back-end to cross and get the right one?

#

I can search by email I think

#

That's interesting

#

Dude, going to bed now, ty so much for the help, now I know what I have to do

#

In case I have any questions, I ask directly here or in the chat

#

Ty