#rogeryang_popchill
1 messages · Page 1 of 1 (latest)
How can I help?
when we want to use sc&t mode, the first step is to call this api?https://stripe.com/docs/api/checkout/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you plan to use Checkout as your payment UI/surface, yes
ok, then what should we do when we need to use some feature? such as hold the capture, setting the statement descriptors dynamicly?
I've read the docs in the separatelly section. But all of these settings seems need a payment intent object?
What do you mean by 'hold the capture'?
You can dynamically change the descriptor with: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-statement_descriptor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Checkout will automatically create the Payment Intent if/when required. Those parameters are used when it creates the object
hold the capture means https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#authorize-only
Then you'd use: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, so all we need to do is set all the parameter correctlly when we use the checkout/sessions api?
Correct
Ok I see
One more question, in our platform, buyer will buy a product from a seller, but buyer will add some extra service such as shipment fee or validation fee.
The docs said that we will use the line item object to show the product that buyer pay for this transaction
In this scenario, can we add all the amount in one price_data onject?
Is there any differenct that we separate these fees into multiple product_data object?
Well, you can add sum up the total into a single line item sure. But there won't be a breakdown on the payment page
it's a UI/UX issue, right?
For shipping, you can leverage: https://stripe.com/docs/payments/during-payment/charge-shipping?payment-ui=checkout
Taxation, discounts, etc
But in our app, we've shown the discounts and the shipment fee in the previous stage, so maybe it is okay to add up all the amount in one line item/price/product data?
Sure I guess. Personally as a customer I'd prefer to see that breakdown on the actual payment page too
It'll be reflected in the receipt too
I see, we would think about this.
May I ask how long will our eng team to implement all the stripe connect flow? Only one backend engineer.
I guess it depends, I don't really have enough context to advise. Using Checkout will definitely alleviate some of the work for you
from create account, account linking, create payment, webhook, refund, dispute, payout....
But if you're doing SC&T then you need to account for that that
what do you mean account for that that?
Well there'll be additional API work in that flow, to manually move the funds to connected accounts via the Transfers API
If you use destination charges then that's handled automatically, for example
Yes, it seems need extra works to control the transfer manually
What is the time normally to intergrate all the flow?
As I said – I don't really know. Depends on a lot of factors
Not really something I can advise