#Hitesh

1 messages · Page 1 of 1 (latest)

hollow mossBOT
regal badgerBOT
#

:question: @deep swan Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

deep swan
#

it' s technical question

#

const checkoutSession = await stripe.checkout.sessions.create({
mode: 'payment',
line_items: [
{
price_data: {
product_data: {
name: 1A,
},
currency: 'eur',
unit_amount: 1000,
},
quantity: 1,
},
{
price_data: {
product_data: {
name: Charges,
},
currency: 'eur',
unit_amount: 60,
},
quantity: 1,
},
],

success_url: ${process.env.FRONT_END_URL}/payment/success,
cancel_url: ${process.env.FRONT_END_URL}/payment/cancel,
payment_intent_data: {
transfer_data: {
amount: 1000 - 60,
destination: accounbt id ,
},
},
});const checkoutSession = await stripe.checkout.sessions.create({
mode: 'payment',
line_items: [
{
price_data: {
product_data: {
name: 1A,
},
currency: 'eur',
unit_amount: 1000,
},
quantity: 1,
},
{
price_data: {
product_data: {
name: Charges,
},
currency: 'eur',
unit_amount: 60,
},
quantity: 1,
},
],

success_url: ${process.env.FRONT_END_URL}/payment/success,
cancel_url: ${process.env.FRONT_END_URL}/payment/cancel,
payment_intent_data: {
transfer_data: {
amount: 1000 - 60,
destination: accounbt id ,
},
},
});

#

this is code snippet i want to know that if i transfer amount to connected account then any hidden charges id their ?

pale crane
deep swan
#

yes payment intent generated money also transfer two connected account

#

but i have charge 60 to customer and rest amount will be transfer to connected account

#

in main stripe doen't show the 60 amount some minor amount will be deducted from 60

#

so i want to know is their any hodden charges are their

pale crane
deep swan
#

the amount does show in payment intent

#

like i have charge customer $0.61 on $11.8 product but in main stripe balance it will credit $0.59 so their is a difference of $0.2

pale crane
#

Can you share the PaymentIntent Id ?

deep swan
#

pi_3N6BVJFEVJEbpeYB17fytgbt

pale crane
#

This PI is for $51.88 USD -> €46.37 EUR
Stripe fees: €1.76 EUR
Net :€44.61 EUR
I don't see any missing amount.

deep swan
#

ok thanks