#michael_cair_21381
1 messages · Page 1 of 1 (latest)
It sounds like you'll want to use Stripe Connect, with separate charges and transfers and on_behalf_of: https://stripe.com/docs/connect/separate-charges-and-transfers
When you create the PaymentIntent, you'll want to use capture_method: manual for the "hold": https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
Once the offer is accepted, you'll capture the funds but wait to transfer these to the service user/connected account until the service is done.
Thanks a lot. There we have one issue. We also need to create an invoice or receipt. But when I set capture_method: manual with invoices.create this is not possible with the paymentIntent of the invoice. Is there another way to create the invoice and make use of the capture_method? Could you help me with that?
Yeah, it doesn't look like this is possible. Is the hold important or is it being used in the scenario above as a sort of due date for accepting/rejecting the offer only?
Since funds are being captured when the service user accepts the request (vs. waiting until the service is done), perhaps you can use days_until_due on the invoice? https://stripe.com/docs/api/invoices/create#create_invoice-days_until_due
The case is similar to the one of Fiverr. Once the project is finished, we could trigger the payout to the service provider. But if there is a problem with the service, we could stop the payout.
Right, so the hold on the customer's card isn't important. You still want the customer to be charged but you don't want the funds to be transferred to the service provider just yet.
After the booking the service provider could answer the booking request by the user within 24 hours. So it would be important to hold the payment for this time frame.
Just to be clear, if the service provider rejects the offer, you want to release the held funds, right?
Yes
Gotcha. Invoices don't support manual capture at the moment. This means you'll need to handle this on your end with PaymentIntents and separate charges & transfers, and handle creating an invoice on your end.
Okay. Are manual charges & transfers the way to go or could we also use Destination Charges?
Destination charges will immediately transfer funds to the service provider
Just to confirm, when you mention handling the creation of an invoice on our end, are you suggesting that we generate invoices independently, without utilizing Stripe's built-in invoice generation feature?
Yes, that's correct. Currently, payments for invoices don't support manual capture so that 24-hour hold on a card can't be done.
Is it possible to use the standard payment intent functionality and then use Stripe's receipts features, such as invoices?
Ah, looks like you can use receipts: https://stripe.com/docs/receipts?payment-ui=direct-api
A receipt is not an invoice though