#gyungi-MOTO

1 messages ยท Page 1 of 1 (latest)

fierce badger
jovial prairie
#

Looking now! Will get back to you in a bit

#

req_3SGn1n9oulHcea

#

had about 5 or 6 of these that all resulted in 402 errors

#

I was just trying to test with one of the stripe test cards (4242424242 etc)

#

My coworker thought he might have to toggle this switch?

fierce badger
#

Yes you need to enable this.

jovial prairie
#

sweet- let me try with that and I'll get back to you

#

Is there any way to do MOTO and get a tokenized card from the frontend or is the only way to do MOTO to send details directly to stripe?

fierce badger
#

To my best understanding a MOTO transaction is only initiated from backend (i.e., sending card details directly to Stripe), can you tell me more about your use case where a MOTO transaction involves frontend?

jovial prairie
#

I think my coworker is gonna come help me explain I'm pretty new to this hahaha

warm zenith
#

hey there! I'm @jovial prairie's coworker

fierce badger
#

Hey andrew, nice to mee you

warm zenith
#

so we have some frontend UI where a clerk operating a POS is going to enter the card details that get sent to our backend and then our backend hits the stripe API with all the relevant moto details

#

and I am just curious if there's any way to leverage the stripe built UI that tokenizes cards

#

from my understanding, the moto docs only show examples where we send card details manually to the stripe api, but it'd obviously be better if there was some way to both do a moto transaction and still leverage the card tokenization

#

let me know if that makes any sense

fierce badger
#

Got it, if you are using Stripe Element(the UI library) to collect the card details, then you can't use the MOTO flag and the transaction will be fall into SCA requirement (e.g., you might encounter 3DS challenge).

warm zenith
#

okay great that makes things easy! we'll just go toggle that switch in the stripe dashboard

#

thanks for your help @fierce badger

fierce badger
#

No problem!

jovial prairie
#

Dad coming to my rescue thanks @warm zenith

#

and thank you very much @fierce badger !

#

have a good one ๐Ÿ™‚

#

Hey @fierce badger sorry I'm continuing to have problems, when I try and submit the payment now I get the following 400 error: You cannot create a charge with the on_behalf_of parameter set to a connected account with transfers but without the card_payments capability enabled.

fierce badger
#

No worries, can you share with me the request ID?

jovial prairie
#

req_Q7ZL04VAQDuvbx

fierce badger
#

Thanks, you need to request the card_payments capability of the connected account where the destination charge is made on.

jovial prairie
#

Is that another thing that's governed at an account level like the handle card information directly toggle?

fierce badger
jovial prairie
#

So if for example I have a MOTO order from someone who isn't a current customer of mine (i.e. I don't have a stripe account for them), is this not something I can do? Sorry I'm quite new to this whole ecosystem

fierce badger
#

The customer in this context is a connected account, am I right?

jovial prairie
#

Not necessarily- for example, if we have an over-the-phone order from a retail customer where we don't have a connected account, is there anything I can do in that case?

#

Oh sorry I misread your question

#

yes

#

the customer would be a connected account if I'm understanding everything correctly, unless when Stripe says "connected account" they mean our Stripe account that we use to facilitate payments between a store and a customer

fierce badger
#

What's the account type of the connected account? Standard, Express or Custom?

jovial prairie
#

ah shit I'm not sure

#

I think we're standard? Let me look

fierce badger
#

Actually it's Express

jovial prairie
#

my bad

fierce badger
#

No worries

#

let me check the account capability

jovial prairie
#

Ok

#

I'm talking to Andrew offline and it sounds like we don't actually have any connected accounts yet because we aren't live, but as I understand it the idea is that the connected account would be the actual recipient of the sale

fierce badger
#

Yes you are right.

jovial prairie
#

got it

#

Ok I may try and look through the documentation you sent me a second time with that understanding in mind

#

thank you again

fierce badger
#

You can visit this page to see the capability of this connected account. the card_payment is not yet enabled.

#

I'd also recommend you to read through this doc https://stripe.com/docs/connect/accounts to understand the difference between Standard and Express accounts. From there you can decide which connect account type suits your business better.

jovial prairie
#

All this makes a ton of sense. It looks like to be able to have both transfers and card payments enabled I need to add a bunch of additional information about the business, is that correct?

fierce badger
#

Actually this account already has the necessary information, you just need to enable the card_payment capability

#

Click edit and enable card_payment from there

jovial prairie
#

so when I try to request card_payments, it says that in order to have both enabled, there is a bunch more information required about the connected account

#

Should I just have the card payments on and not transfers somehow?

fierce badger
#

Are you in test mode or live mode? I can see the transfers is already active in test mode

jovial prairie
#

test mode!

#

transfers is active yup but when i request card payments it says both are inactive and that all of that other information is necessary

fierce badger
#

Ah I see

#

OK, so you can ask your connected account admin to login to their express account to fill in the necessary information.

jovial prairie
#

for sure, and there's no way around this? we'd need to do this for every connected account?

fierce badger
#

Yes, these information are needed as per local regulation.

jovial prairie
#

sounds good, I'll talk with Andrew. Thanks!

fierce badger
jovial prairie
#

Ok so I'm now seeing all this info I need to add, what's the easiest way for me to add that information to that connected account?

fierce badger
jovial prairie
#

wonderful, thank you!!