#deadwood_code

1 messages ¡ Page 1 of 1 (latest)

rugged nebulaBOT
#

👋 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/1278673469420081195

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

pastel willow
#

What exactly do you mean by 'can't custom'?

coral scroll
#

default UI is

#

how i can do like this

pastel willow
#

Which SDKs/libraries are you using?

coral scroll
#

flutter_stripe: ^11.0.0

#

if can i just need token id so i can make a payment method

pastel willow
#

You'd need to speak to the Flutter team, that's not an official SDK so we don't support it

coral scroll
#

how i can speak?

#

its not official ok

#

any guide for manual get a token?

pastel willow
#

What is it you're trying to do exactly? Tokens aren't really a concept anymore, no regarding card payments anyway

coral scroll
#

example from react js

const cardNumberElement = elements.getElement(CardNumberElement);
console.log('Card Number Element:', cardNumberElement); // Added log
const { token, error } = await stripe.createToken(cardNumberElement);

pastel willow
#

Yeah I mean those are outdated methods from older integrations. I suspect you're following some tutorial somewhere

#

There's no Flutter examples in our docs because it's not a language we officially support - that SDK is maintained by the community

pastel willow
#

No idea if that is supported in the Flutter SDK

coral scroll
#

stripe tutorial for android is already fixed

<com.stripe.android.view.CardInputWidget
android:id="@+id/cardInputWidget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"/>

pastel willow
#

I'm not sure what you're asking me

coral scroll
#

stripe doesn't show how to customize the UI on android?

pastel willow
#

What specifically do you want to customise?

coral scroll