#youngjunwoo92 - SC&T

1 messages ยท Page 1 of 1 (latest)

molten hatch
#

Hi ๐Ÿ‘‹

#
  1. You would determine the amount to be refunded based on the single product. You can specify an amount along with the charge when creating a refund
  2. You can specify reversing the transfer when creating the refund
    3). Stripe can debit the external account of the connect account if the refund exceeds their Stripe balance
stray thunder
#

Ahh Thank you. When creating paymentIntent for separate charges and transfer, if buyers put 3 items in shopping carts, is it good practice to use line_items?

molten hatch
stray thunder
#

Oh, then in that case, if buyer wanted to refund just 1 specific item, platform manually figure out how specific amount?

molten hatch
stray thunder
#

When creating products in our database, are we supposed to create products object in the Stripe dashboard?

molten hatch
#

You aren't required to but it helps when you want to re-use Price objects rather than calculating the price yourself for each transaction

stray thunder
#

I understood. I am sorry to ask you so many questions, but one more thing for now. So in the same situation, where buyers buy 3 products from 3 different sellers. When creating paymentIntent, I have to specify sellers' account id in the transfer_data parameter to be able to use reverse_transfer when creating refunds?

#

I am confused because the document only shows how to create paymentIntent and transfer manually. It does not show how to transfer to the sellers when creating paymentIntent at the same time ๐Ÿ˜ฆ

molten hatch
#

That is because, when you have multiple parties associated with a single payment, you need to create separate transfers. Your app needs to determine how to split the amounts.

stray thunder
#

Let's say that I've created built api that is exactly same as in the docs. I created charge using amount, currency, and trasnfer_group Then, I transferred to 2 separate destination. In this case, when I create refund, am I supposed to fill transfer_reversal parameter with what I have put in transfer_group?

silent helm
#

๐Ÿ‘‹ stepping in here as @molten hatch needs to step away. Give me a moment to catch up

#

If you want to reverse transfers related to Separate Charges & Transfers then you have to reverse the transfers separately from the refund.

#

You can only reverse a transfer via a refund (with reverse_transfer param) if it is a destination charge.

stray thunder
#

oh okay, that makes sense. So platform needs to manually create reverse transfer

silent helm
#

transfer_group can be helpful to track the transfers related to a charge

#

So you know which to reverse if you refund a charge

stray thunder
#

how can I use transfer_group to find which to reverse?

silent helm
#

You list by transfer_group

stray thunder
#

Gotcha Thank you!