#abdullah-yousuf_code

1 messages ยท Page 1 of 1 (latest)

blissful cloakBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1333770436886007930

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

solar loom
#

and can we use payment intent with a product defined in stripe

steep hedge
#

๐Ÿ‘‹
Yes you can save the PaymentMethod Id or the CustomerId in your database and use it alter

steep hedge
solar loom
#

code snippet for payment intent with invoice?

steep hedge
#

You can use the PaymentIntent generated from the invoice and use it with Element.

solar loom
#

can you just provide a quick flow of my use case which is mentioned below
hospital creates a job with some hourly fee which contains multiple shifts. each shift can contain multiple vets. we use setup intent here
vets apply to shift .
upon hiring ,deduction from hospital to platform using payment intent with setup intent payment method id
and on completion
use transfer api to transfer funds to vets after deducting platform fees

steep hedge
#

Is there multiple Connected Account involved here or just one (vets?) ?

#

And is this something recurring? billed on weekly/monthly basis ?

solar loom
#

when manually transfering?
we transfer to each of the vet manually

steep hedge
#

For a single transaction/customer purchase, is there multiple vets invovled or only one ?

solar loom
#

so my case is
from customer which in my case is hospital, we charge on each hiring of vet for a shift
and after completion of shift , we manually transfer to each of the vet after deducting platform fees

steep hedge
#

Ok it seems like you need to use separate charge and transfers

solar loom
#

while transfering at the completion of shift?

steep hedge
steep hedge
solar loom
#

no not at the point of charging the customer since we are charging on hiring and transfering upon completion of shift

#

like we hold the fees into plaftorm account until the shift is completed

steep hedge
#

Ok it's possible to, using separate charge and transfers

steep hedge
solar loom
#

it looks a good fit. but i don't want to transfer immediately upon creating payment intent

steep hedge
#

Yes you can delay the transfer creation after shift completion.

solar loom
#

how??

steep hedge
#

I invite you to follow the guide step by step in order to understand the integration flow

solar loom
#

how do i verify that the setup intent payment method id i use while creating shift and adding payment details is the exact same when i am using payment intent while hiring for the shift

steep hedge
#

You need to make this mapping in your database/integration

#

You have the Customer, use its PaymentMethod collected previously from the SetupIntent

blissful cloakBOT
solar loom
#

any other alternative since i have to add payment method id with each created shift then to db?

cloud bolt
#

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

cloud bolt