#shikha-paymentintent-help

1 messages ยท Page 1 of 1 (latest)

fleet salmonBOT
grave flame
#

I have an application which is integrated with stripe for payouts. They are around 100+ host accounts. I want to manually send payout to one of thr host account through stripe . My platform is UK and the host account is US

sand snow
grave flame
#

I was said it is possiblr through destination charges?

#

To send payment from UK to US account

sand snow
#

Do you mean direct charges? Destination charges is when the funds settle on the platform.

Direct charges is when the funds settle on the connected account (the host account in US)

grave flame
#

What is connected accounts?

#

I jsut want to select a host account which is in US enter certain amount and send it to the host bank connected to stripe.

sand snow
#

What you are referring to a "host account in the US" is probably a connected account that your platform based in the UK created

If you're using destination charges, then the funds settle on the platform account (in the UK) and in order to send the funds to US, cross-border payouts need to be available which is only available in the US.

If you're using direct charges, then the funds settle on the connected account (in the US) and then your platform gets the application fee. Cross-border payouts aren't needed here.

grave flame
#

Can I use direct charges?

#

But

sand snow
#

It depends on the type of connected account your platform creates. If you're creating standard accounts then yes, you can use direct charges

fleet salmonBOT
grave flame
#

Where will I find this information in my stripe account mm

#

Typr of connected account

#

So that I can share it with you

cinder sable
#

๐Ÿ‘‹ Hoping in since hanzo has to head out son

#

How are you creating the connected accounts? If you're creating them through the API then you would be passing in which type of connected account you're creating

grave flame
#

Express account?

#

Is this the onr?

cinder sable
#

If you specified express when you created the account then yes, that would be the type of account you're creating

grave flame
#

Okay

#

Now pls guide me

grave flame
#

We used code of destination charges and it gave error as no valid payment method types for this payment intent. Pleade ensure you have activated payment methods compatible with chosen currency in dashboard

cinder sable
#

Can you share a specific request ID that resulted in the error that I can take a look at?

grave flame
#

Checking

#

Stripe.StripeException: 'No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types'

#

We used this

#

I mean we followed this

cinder sable
#

Yeah can you share a specific request ID? Like req_123?

grave flame
#

Where will I find request ID?

cinder sable
grave flame
#

Req_TYnsueJNn3uoen

#

This is the one

#

??

cinder sable
#

Yup that works - give me a minute to take a loko

grave flame
#

Ok pls

#

??

cinder sable
grave flame
#

How can I enable it?

#

I am sending low amount as this is test purpose

#

Pls tell me how to enable

cinder sable
#

If you're testing you should be using test mode, using your test API keys so you dono't have to worry about using such a low amount like this

grave flame
#

Not allowing om test mode

#

In the link you shared cards popular globally is on by default...whay else should I add to enable?

#

Cards is on by default

cinder sable
#

That banner is just saying that the changes you make in test mode won't also apply in live mode (you'll need to change them separately)

#

Please try this in test mode with a higher amount - you should see it working if you do that

grave flame
#

For stripe account is UK

#

So for stripe account UK which payment method should I enable?

#

How do I change?

cinder sable
#

That's up to you - you can enable whichever payment method you want

#

But again, if you're testing this out you should be trying this out in test mode so that you can specify a higher amount

#

And that should allow you to do a test payment with a card

grave flame
#

Add funds is disbled?

cinder sable
#

Why do you need to add funds? If you're testing a payment with a card you shouldn't need to add funds at all

grave flame
#

Okay can u share steps pleade?

#

To send a payment manually to US account

cinder sable
#

Let's pause here for a mi nute

grave flame
#

This app is complicated

cinder sable
#

What specifically are you trying to test right now? A plain transfer from one connect account to another? A destination charge?

grave flame
#

A plain transfer from my UK stripe account to a US host account payout

#

My Uk Stripe account belongs to an organization

#

Host here are the ones who publish their property ajd receive payouts by us

cinder sable
#

Gotcha - so if that's what you're trying to test then that's impossible - hanzo mentioned this earlier but there's no way to do a cross border payout/transfer from a UK account to a US account like that

#

The ONLY way to move funds from a UK account to a US account would be through a destination charge, which doesn't involve adding funds at all

grave flame
#

How do i do that through destination charge now,m

#

??

cinder sable
#
  • you need to set on_behalf_of to the connect account
#
  • you need to do this in test mode
#
  • and you need to specify a higher amount like 100
grave flame
#

On_behalf should we set as property or how?

#

Where do I set it? Where can I find this? For that particular user should we check from API side or connect account?

cinder sable
#

Yes on_behalf_of is just a property you set as part of the request

#

You need to set it to the connected account ID

grave flame
#

Checking

#

Its a string value. What should we send to string value?

cinder sable
#

YOu should set it to the connected account ID

grave flame
#

Onbehalfof="account ID" is this right?

#

Account Id is user account ID to which we will transfer fund or the account from where we transfer fund?

cinder sable
#

It should be the account that funds are being sent to

grave flame
#

Ok checking

#

How would I know if its successful?

#

I mean if amouny is sent?

#

I checked in log it says 200 ok.

#

Status is 200 ok

#

Request Id Is req_cZTsVxnPU9ur1H

#

??

#

Requires_payment got something llike this

#

Are u there sir/mam?

#

???

cinder sable
#

๐Ÿ‘‹ I'm here - just helping multiple people at once

grave flame
#

Oh ok .

#

Have shared details above

cinder sable
#

Yeah, so now you actually have to finish payment - have you already used PaymentIntents before?

grave flame
#

No

#

What should I do now??

cinder sable
grave flame
#

Checking

#

Still checking

#

What is return url?

#

What should I give there?

cinder sable
#

That's somethign you have to implement - so it's up for you to decide what it should be

#

Typically it'd be somethign like a "success" page that you build

grave flame
#

Ok checking

#

Got 400 err

#

It says you must provide return url

#

Status says required_action

#

Requires action

cinder sable
#

Ah, you must be in a country that requires additional actions for card payments to complete

grave flame
#

We gave payment method as PM_CARD_VISA

cinder sable
#

I thought you were working with a UK and US account, are you not?

grave flame
#

Yes

#

UK and US account

cinder sable
#

Let me check something - one minute

grave flame
#

var options = new PaymentIntentConfirmOptions { PaymentMethod = "pm_card_visa", ReturnUrl="our url", }; var service1 = new PaymentIntentService(); service1.Confirm( "pi_3N5XAAFoy9D4f3Ja1M9Knmo5", options);

#

???

cinder sable
#

If you only enabled it when it was required you wouldn't be getting the required_action here

#

but pausing here for a minute

grave flame
#

Not yet I am still trying on test mode

cinder sable
#

Right now you're skipping over a lot of this because you're just testing, but all of these scenarios are things that can still happen when you buildyour real integration

fleet salmonBOT
cinder sable
#

The flow you're using to test things out won't be enough to actually successfully build a full integration

grave flame
#

Can u guide me with the flow then?

#

I know I am missing out on steps

#

If u guide me properly

cinder sable
grave flame
#

Okay i will check

idle otter
#

shikha-paymentintent-help

grave flame
#

Why cannot we manually do it without changing API code?

#

I mean manually send it from Uk To US ACCOUNT payout

#

Without changing API code

idle otter
#

๐Ÿ‘‹ @grave flame ! I'm taking over and i'm happy to help here but you first need to take the time to read through our docs carefully and try things on your own and ask clear and detailed questions about what you have tried and what does or doesn't work.

grave flame
#

For host payout through stripe manually having UK ltd why cannot I manually transfer to US directly?

idle otter
#

My colleague already explained and gave you the docs to start with

grave flame
#

I jsut want to know why not directly through stripe

#

Why do I need to modify code and all

#

As a customer I shud b allowed to send payouts irrespective of the platform or account type

#

Flow I will check...need answer to my general question.

idle otter
#

I'm sorry but I can't really help with vague questions like this. It looks like you want to talk about the flow of funds and what is and isn't allowed. In that case, you'll want to talk to our support team directly: https://support.stripe.com/contact they can talk about your business model, where your platform is set up, where your connected accounts live and what can and can not be done.