#mindsetinmeta

1 messages · Page 1 of 1 (latest)

merry tideBOT
pine mountain
#

Checkout Session ID is not confidential, so it's fine to expose

desert notch
#

thanks

#

how about PI? is it confidential?

#

can we expose PI id as transaction ID?

#

because some of the transactions are pre-auth and capture

#

Capture shares the CS with pre-auth

#

how can we show them as two transactions?

pine mountain
#

Object ID from Stripe is not confidential (as you can see that IDs are shared in the public discord channel)

#

Stripe object ID can only be accessed with API key which should be kept confidential

pine mountain
desert notch
#

checkout session

#

got it

#

thanks

pine mountain
#

What do you mean by two transactions? Pre-auth and capture of a payment belong to same transaction

desert notch
#

right. I just checked the documentation and they belong to the same PI

#

another question

#

when a buyer pays a connected account, the amount paid by the buyer is in the PI. How to retrieve the info of the related payout to the seller?

pine mountain
#

What type of charges integration do you use? Is it a Direct Charges, Destination Charges, or Separate Charges and Transfer?

desert notch
#

the one that pays us first and we will pay the seller with a portion of it

#

It's Destination Charges, I guess

pine mountain
desert notch
#

is this the way to show the seller a history of all payouts?

pine mountain
desert notch
#

how is the payout object created? We fired a Create Checkout Session call and there is no payout object in the response.

pine mountain
#

With destination charges, the fund will transfer to the connected account automatically. After the fund is transfer to the connected account, the fund will be paid out according to the payout schedule (https://stripe.com/docs/connect/manage-payout-schedule) set on the connected account.

Transfer and Payout are different terms. Transfer refers to funds move from platform to connected account whereas Payout refers to fund move from a Stripe account to real bank account.

desert notch
#

so that means, payout objects are created automatically and we cannot associate payout with a checkout session?

pine mountain
#

A payout can contain multiple charges (which are what Checkout Session use under the hook). You can find the charges in a payout that are created during Checkout Session.