#gyungi-MOTO
1 messages ยท Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
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?
Yes you need to enable this.
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?
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?
I think my coworker is gonna come help me explain I'm pretty new to this hahaha
hey there! I'm @jovial prairie's coworker
Hey andrew, nice to mee you
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
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).
okay great that makes things easy! we'll just go toggle that switch in the stripe dashboard
thanks for your help @fierce badger
No problem!
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.
No worries, can you share with me the request ID?
req_Q7ZL04VAQDuvbx
Thanks, you need to request the card_payments capability of the connected account where the destination charge is made on.
Is that another thing that's governed at an account level like the handle card information directly toggle?
https://stripe.com/docs/connect/account-capabilities#viewing you can preview what information is needed from your connected for a the card_payments capability
After you have provided the necessary information, use this API to request the capability https://stripe.com/docs/connect/account-capabilities#requesting-unrequesting
You can also manage it via Dashboard https://stripe.com/docs/connect/dashboard/managing-individual-accounts#updating-capabilities
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
The customer in this context is a connected account, am I right?
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
What's the account type of the connected account? Standard, Express or Custom?
Actually it's Express
my bad
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
Yes you are right.
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
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.
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?
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
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?
Are you in test mode or live mode? I can see the transfers is already active in test mode
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
Ah I see
OK, so you can ask your connected account admin to login to their express account to fill in the necessary information.
for sure, and there's no way around this? we'd need to do this for every connected account?
Yes, these information are needed as per local regulation.
sounds good, I'll talk with Andrew. Thanks!
https://stripe.com/docs/connect/required-verification-information you can visit this page to learn more about the required info.
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?
https://stripe.com/docs/api/accounts/update you can use the API to update the information on behalf of the connect account. Or you can ask the connected account admin to login to their express dashboard and update from there.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wonderful, thank you!!