#jmung_dev

1 messages ยท Page 1 of 1 (latest)

dusky shaleBOT
fading brook
#

๐Ÿ‘‹ happy to help

static basin
static basin
fading brook
#

in that case you need to use separate Charges and Transfers

static basin
#

Ohh thank you

#

And do you have some samples I can use to integrate quickly ?

#

What are the steps to integrate with seperate charges and transfers ?

fading brook
#

it's all explained in the link I shared

static basin
#

I don't understand this part. In my case, the money will be sent to only one seller. Here there are two conntect accounts involved in the transaction

#

How can I get the expected feature by following this guide ?

fading brook
#

you don't need to send to multiple sellers

#

it's just an example to show that you can create multiple transfers

#

but you don't have to if you don't need to

static basin
#

By doing so ?

fading brook
#

you can just create one transfer

#

instead of two

static basin
#

How do I hold funds on the platform while waiting for use to confirm that he's been served ?

#

user*

fading brook
#

you don't create the transfer

#

once you want to move the funds to the connected account

#

then you create the transfer

static basin
#

I'm using booking.id as transfer group because it's the main relationship between users and sellers

#

Now when user confirms payment, Can I use it to fetch the details about the stripe payment and then send the money to the seller ?

fading brook
#

sorry I need to step away, my colleague will be with you shortly

graceful pike
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

static basin
#

Hi @graceful pike. Thanks for joining

graceful pike
#

Now when user confirms payment, Can I use it to fetch the details about the stripe payment and then send the money to the seller ?
Can you use the PaymentIntent ID instead?

static basin
graceful pike
#

Maybe you can search via transfer_group, let me check.

#

But you can also put it in metadata then!

#

And then search by metadata["booking_id"]:"value"

static basin
#

Let me share the steps I need for the project so that I get the most from your assistance @graceful pike

  • User books a service, we associate the payment intent with booking id in the meta data as well as the transfer_group identifier
  • Then seller is notified using the webhook for payment intend succeeded
  • When seller confirms a service completion, user is contacted to confirm that he's been served or ask for a refund
  • If user confirms, we create a transfer on behalf of seller connected account
  • Finally if user wants to be refunded, the admin takes care of the situation by discussing with both parties, then he can whether confirm the seller payment or refund the client.

Could youl help me with step by step insights to achieve that logic ?

graceful pike
#

This looks like a common flow. What exact parts are you having doubts about?

static basin
#

When user has to confirm a service as completed

#

or ask for a refund

graceful pike
static basin
#

That's great thanks! I'm now getting a clear vision

graceful pike
#

Happy to help!