#hnocturna_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1275527071636000809
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Do you use Stripe Connect features in your integration? If so, there might be additional requirements..
Lemme ask our PM and I can check. Is there a specific requirement that I should be directing them to take a look at?
I assume you're also using the test card mentioned in the docs to meet following requirements: https://docs.stripe.com/co-badged-cards-compliance?type=mobile-elements&mobile-ui=card-element#when-reglation-applies
The business can process Cartes Bancaires
The currency is EUR
The payment method is a co-badged Cartes Bancaires card
Yes, using the CartesBancaire test card.
Checking with my PM. Thanks!
In the docs, it says we must specify the same onBehalfOf in the CardElement variant. Is this a method in the widget class we're supposed to set? I don't see any method name like that exposed.
It is part of the properties: https://stripe.dev/stripe-android/payments-core/com.stripe.android.view/-card-input-widget/index.html
You'd set this in the activity or a fragment where you configure CardInputWidget
Hmm. It's not in the 20.37.4 version I'm using. You can see the artifact and version I am checking and the searching the widget class for "behalf" and there are no results.
You need a newer version for connect flows
To enable customer card brand choice with on_behalf_of in the iOS and Android SDKs, make sure you use at least version 23.27.1 on iOS and version 20.42.0 on Android.
Thanks for being so patient with my stupid mistake.
All good ๐
Hmm. It's not in the 20.42.0 version either.
Interesting.. Try 20.43.0 instead?
fwiw it should be present in 20.42.0 as per this PR: https://github.com/stripe/stripe-android/pull/8344
Actually those versions are quite old
can you try the latest version instead?
Yup. Just did that and I see it there now. Thanks!
Thanks for your help Hanzo, I need to work with backend devs to get the on_behalf_of exposed so we can pass it to the widget. I'll come back if I still have issues, but for now I'll work on the assumption that this is probably what I'm missing. Appreciate it ๐ค