#deadwood_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/1278673469420081195
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What exactly do you mean by 'can't custom'?
Which SDKs/libraries are you using?
You'd need to speak to the Flutter team, that's not an official SDK so we don't support it
What is it you're trying to do exactly? Tokens aren't really a concept anymore, no regarding card payments anyway
example from react js
const cardNumberElement = elements.getElement(CardNumberElement);
console.log('Card Number Element:', cardNumberElement); // Added log
const { token, error } = await stripe.createToken(cardNumberElement);
Yeah I mean those are outdated methods from older integrations. I suspect you're following some tutorial somewhere
This is the up-to-date React guide for card payments with Elements: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&client=react
There's no Flutter examples in our docs because it's not a language we officially support - that SDK is maintained by the community
This UI is the split card element: https://docs.stripe.com/js/elements_object/create_element?type=cardNumber
No idea if that is supported in the Flutter SDK
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"/>
I'm not sure what you're asking me
stripe doesn't show how to customize the UI on android?
What specifically do you want to customise?
I want to break down all parts of the form