#Elena - Payment Sheet

1 messages ยท Page 1 of 1 (latest)

novel bane
#

Hello! I don't think so, but let me confirm...

wispy dagger
#

cuz the values wont be used, so it kinda waste. Extra input for user to type

#

would be nice if the useStripe() hook accepted a prop called ```js
hidePostalCode: true

#

or something

novel bane
#

I'm not seeing a way to disable it. The values are used by Stripe though, so they're not wasted.

wispy dagger
#

wut are they? I have another question. Is is possible to add locale to it?

novel bane
#

You're using React Native, right?

wispy dagger
#

yes

novel bane
wispy dagger
#

haha i dont understand the docs ๐Ÿ˜„ how can i be so noob

#

i dont understand "type aliases" and stuff, im a foreigner

novel bane
#

What are you trying to do exactly? You asked about adding a locale... what do you mean? What's your goal?

wispy dagger
#

many libraries have a prop / option, where u can add locale

novel bane
#

The Payment Sheet is automatically localized based on the country set on the device.

wispy dagger
#

wierd, i use my own phone and not simulator. Let me check what language / country my phone is on

#

nope i dont have US or UK or anything on my phone

novel bane
#

What phone are you using?

wispy dagger
#

my own personal phone iphone 11 pro max

novel bane
wispy dagger
#

let me check xcode

#

no clue what base means

#

but in dev its english

novel bane
#

Click the + there.

wispy dagger
#

would be nice if u could add all languages really, why not ๐Ÿ˜„

#

let me try adding the language

novel bane
wispy dagger
#

why does it say "0 files localized"

#

let me see

#

@novel bane I thought that first thing in xcode does that

#

only not programatically

novel bane
#

I dunno, people said they did it via the UI and it didn't work, but editing the plist did.

wispy dagger
#

yeh, let me try

#

Sad u cant have a option to remove the postCode in bottomsheet

#

cuz i have a form aswell asking for postcode, so it will be double. looks wierd

#

i guess thats just how it is

hoary lava
#

@wispy dagger

#

๐Ÿ˜‹