#abdullah-yousuf_code
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- abdullah-yousuf_webhooks, 33 minutes ago, 20 messages
and can we use payment intent with a product defined in stripe
๐
Yes you can save the PaymentMethod Id or the CustomerId in your database and use it alter
You can find here a complete guide:
https://docs.stripe.com/payments/save-and-reuse?platform=web
No you can't use price with PaymentIntent you should use Invoices instead...
code snippet for payment intent with invoice?
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
Is there multiple Connected Account involved here or just one (vets?) ?
And is this something recurring? billed on weekly/monthly basis ?
when manually transfering?
we transfer to each of the vet manually
no one time
For a single transaction/customer purchase, is there multiple vets invovled or only one ?
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
while transfering at the completion of shift?
Do you think this is something could work for your use case ?
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=android#collect-fees
Funds will be transfered after charging the Customer.
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
Ok it's possible to, using separate charge and transfers
First, please check this and see if it is a good fit for your use case
it looks a good fit. but i don't want to transfer immediately upon creating payment intent
Yes you can delay the transfer creation after shift completion.
how??
You call step 6 when you are ready:
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=android#create-transfer
I invite you to follow the guide step by step in order to understand the integration flow
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
You need to make this mapping in your database/integration
You have the Customer, use its PaymentMethod collected previously from the SetupIntent
any other alternative since i have to add payment method id with each created shift then to db?
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
I don't understand what you mean by this.