#vell_2x

1 messages · Page 1 of 1 (latest)

wheat dawnBOT
sacred junco
#

hello! can you elaborate more on what you mean by hold earning balances

rugged jetty
#

I am trying to simulate paying a Connect account after completing a task. I am using Create a Charge but when the stripe function executes the balance doesn't change. (Express Dashboard)

sacred junco
rugged jetty
#

request id?

#

const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: 'usd',
automatic_payment_methods: {
enabled: true,
},
transfer_data: {
amount: fee,
destination: connectid,
},
});

sacred junco
#

do you have the PaymentIntent id that you can share for me to take a look then?

rugged jetty
#

pi_3NsEivGQVpwkvutO01EgaDzt

sacred junco
#

you haven't collected a payment method for the PaymentIntent yet. The PaymentIntent is still in requires_payment_method status, and is not yet successful, that's why you don't see any transfers to the connected account

I suggest taking a look at these pages for guidance on how to collect a payment method / accept payments :

Securely accept payments online.

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

rugged jetty
#

I am currently using Checkout to collect payments, then at that point a job is created where a Connect user can sign up and complete job. That is when we want to transfer payment

#

Should I not use Checkout?

sacred junco
#

i'm not sure I understand. You mention you're using Checkout, but your code is creating a PaymentIntent (which shows that you're not using Stripe Checkout)

rugged jetty
#

I guess. I am asking how do I just transfer funds to Connect account? We already accepted payments

sacred junco
#

To clarify, you mentioned you accepted payments. However, the PaymentIntent that you've provided is not yet successful i.e. successful payment has not yet been made

#

that section of code that you've provided will automatically transfer funds to a Connect account when the payment is successful

#

if you just want to see how it works, you can use a test card listed here : https://stripe.com/docs/testing e.g. pm_card_visa

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

rugged jetty
#

Okay so at the point where we want to pay the Connect account, the customer has already paid the platform for the service. Is it possible for the platform to settle the payment ?

sacred junco
#

are your connected accounts based in the same region as your platform account? or are the connected accounts located around the world i.e. internationally?

rugged jetty
#

All US base, may get Canadian but we only accept US currency

sacred junco
#

if you want to perform separate charges and transfers, then you can only create either custom / express connected accounts with the recipient agreement for the CA accounts

#

otherwise, you won't be able to create cross border transfers

rugged jetty
#

Ok. Do transfers handle the stripe fee? If not how does that work paying it?

sacred junco
#

no, transfers don't handle the Stripe fee, you can transfer less to the connected account to account for the Stripe fee

rugged jetty
#

got it. Last question what percentage are stripe fees?

sacred junco
#

you can take a look at https://stripe.com/pricing. If you have more questions about pricing, you'll want to reach out to Stripe Support - https://support.stripe.com/contact and they'll be able to advise you on your questions! We mainly help with developers who want to integrate directly with the Stripe API here on this channel