#duck_instantpayout-canada

1 messages ยท Page 1 of 1 (latest)

silent sailBOT
tame hawkBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

silent sailBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1253386648587337749

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

shadow mural
#

Hi, I have a feature with instant depoist for debit, but I was not able to find any canadian debit cards to try it out

#

for canadian based accounts

torpid ingot
#

@shadow mural We don't have any specific card for it but you can use a US debit card in USD and it will work fine

#

duck_instantpayout-canada

shadow mural
#

yeah so with hte US one

#

It doesnt work becuase it says the billing address must be the same as the persons original address

#

as in, it seems that the US card doesnt work for a canadian account

torpid ingot
#

I'm sorry I don't know what you mean. All of this is Test mode, you can put whatever address you want in there

shadow mural
#

hmmm

#

give me two seconds ill send u the message i would get

#

"id": "pi_3PTWBGP5dtDg92Mq0nfAyP1i",
"object": "payment_intent",
"last_payment_error": {
"message": "Cannot create a destination charge for connected accounts in US because funds would be settled on the platform and the connected account is outside the platform's region. You may use the on_behalf_of parameter to have the charge settle in the connected account's country. For more information on on_behalf_of, see https://docs.stripe.com/connect/destination-charges#settlement-merchant. If using capabilities (e.g. card_payments, transfers), note that they affect settlement as well. For more information on capabilities, see https://stripe.com/docs/connect/account-capabilities. If you still need assistance, please contact us via https://support.stripe.com/contact.",
"payment_method": {
"id": "pm_1PSiVSP5dtDg92MqHyFmzj3V",
"object": "payment_method",
"allow_redisplay": "unspecified",
"billing_details": {

torpid ingot
#

This is a completely unrelated error, it has nothing to do with instant payouts. Maybe I misunderstood your question entirely?

shadow mural
#

oh? Yeah that is the error i am recieveing,so i was wondering how come that one occurs? It seems to happen when a customer tries paying someone that has a us account

#

or is that not what happens there

torpid ingot
#

The error is telling you that if you have a US platform and a connected account in Canada you can not send them funds directly and you have to use on_behalf_of. We document this in details in the doc that is linked in that detailed error message: https://docs.stripe.com/connect/destination-charges#settlement-merchant
So you need to read this carefully and apply that

shadow mural
#

gotchaaaaa thank you so much

#

imma try that

torpid ingot
#

sure thing!

shadow mural
#

before you go, there was this one thing I had just to make sure I get it clarifeid

#

thats a connected account that is located in Canada

torpid ingot
#

Sure but that's really unrelated. Sorry you are mixing up two completely separate concepts.

shadow mural
#

yep yep, im talking about this one topic now, that one ill go try the onbehalf of after, just dont wanna bug you twice

torpid ingot
#

What is the currency of that external account you are creating? Sorry you shared just a small picture with no context so it's hard to follow

shadow mural
#

const { error, token } = await stripe.createToken(cardElement, {
currency: 'usd',
});

#

im guessing if i change this to cad

#

it should work for canada?

torpid ingot
#

I don't know I haven't tried. I'm still super confused overall at this point. createToken doesn't popup any UI like the one in your screenshot. Feels like you're missing a lot of context in your ask.

shadow mural
#

the UI i made is a custom form, we are just using the stripe card elements

torpid ingot
#

Gotcha. So I still don't get the error/issue then. What exact API request is erroring? What is the request id, what's the exact error message?

shadow mural
#

req_lhFQk7nv2gTZYD

torpid ingot
#

Okay that was the key piece information I was missing ๐Ÿ™‚

shadow mural
#

ahaha nice hopefully we can solve it now๐Ÿ’ฏ

torpid ingot
#

we have docs there for each country right?

#

You should be able to use CAD for the currency, or really just pass tok_visa_debit_ca_transferSuccess server-side instead of the tok_123 your UI was trying to create

shadow mural
#

gotcha one second

#

AWESOME THAT WORKED

#

my last question is, is there any way to bypass the identity document without going to the stripe dashboard?

torpid ingot
shadow mural
#

awesome. Can this also be used in live? or is it jsut in the test. The "file_identity_document_success"

torpid ingot
#

That's just Test mode. But you can do the same in Live mode in the sense that you can collect the files and have the owner of the account upload them and then you pass those to us.
Sorry that's still super vague as an ask ๐Ÿ˜…

shadow mural
#

gotcha gotcha. Well thanks a lot for your help today, i apprecaite it!

torpid ingot
silent sailBOT
shadow mural
#

Hey so I just tried the test token like this

#
    await stripe.files.create({
      purpose: 'identity_document',
      file: {
        data: 'file_identity_document_success', 
        name: 'file_identity_document_success',
        type: 'application/octet-stream',
      },
    }, {
      stripe_account: accountId,
    });```
#

and it went through the verification step but it said verification failed

cinder mango
#

Hello! I'm taking over and catching up...

shadow mural
#

hi how are you !!! in the last few days i got the payments working

#

now its just making it a bit more intutive you helped me a lot btw

#

like three days ago

cinder mango
#

Glad I was able to help you get this far! What said verification failed? And why did it fail?

shadow mural
#

im jsut trying to bypass the identification process when making a test account, bc rn i everything in the information field gets filled out, but i have to go to the stripe dashboard and click under "identify verification " and click use test data to get the account to become active

cinder mango
#

Why do you want to bypass the verification process in test mode?

shadow mural
#

hmmm thats actaully a valid point.

I was thinking that when i go live, i coudl just do it like that but now that I think of it, for the live mdoe I would need to make a proper API call that takes you id correct? Like a whole file upload process

cinder mango
#

Yep.

shadow mural
#

gotcha. Imma go and try and build that. You are awesome! Have a great day