#Julio
1 messages · Page 1 of 1 (latest)
As in there is some account parameter that the other versions of this sheet take that the RN one doesn't?
hum i don't understand
i'm just changing the appearance, and the color of the buton change in IOS but not in android
as well as the `primaryButtonTitle``
Oh I see where we got mixed up. Gotcha, thank you for clarifying. Sounds like a bug, the exact same code should definitely work here if it is working on iOS
You can report this as a GitHub issue or I am happy to file the bug report internally and you can write in to our support team if you want me to keep you updated on the fix
Gotcha, I'll check whether this was changed in a later version
Can you share your code that you are using here? I'm sure it is standard appearance stuff but it may be helpful
<AddressSheet
visible={addressSheetVisible}
onSubmit={async _addressDetails => {
// Make sure to set `visible` back to false to dismiss the address element.
console.log(_addressDetails)
setAddressSheetVisible(false)
// Handle result and update your UI
}}
onError={error => {
console.log(error)
if (error.code === AddressSheetError.Failed) {
console.log(error?.localizedMessage)
}
// Make sure to set `visible` back to false to dismiss the address element.
setAddressSheetVisible(false)
}}
appearance={{
primaryButton: {
colors: {
background: theme.callToAction,
},
},
}}
defaultValues={{
address: {
country: 'FR',
city: 'Paris',
},
}}
additionalFields={{
checkboxLabel: 'Save this',
}}
presentationStyle="popover"
allowedCountries={['FR', 'BE', 'GB', 'US', 'CA', 'DE']}
primaryButtonTitle={'Use this adqsddress'}
sheetTitle={'Shipping Address'}
/>
pretty simple
const [addressSheetVisible, setAddressSheetVisible] = useState(true)
Awesome thank you. I will get right on filing that
Do you want to write in to our support team and send me your email so you have something to track this with?
Not seeing new tickets for that address. Did you send us a new email or did you just send me your address here? Unfortunately I can't send emails out to you to start these tickets, I need to grab existing ones?
no its the email i use for connecting to stripe dashboard
have you found if this is fixed in later version ?
I'm not seeing this listed as a fix in 0.22.0 or 0.23.0 https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md
me neither
It may still be worth branching your project and upgrading to test this. It is only minor versions so theoretically it shouldn't take much to update this for a test
Gotcha sounds good, I'll repro when filing
Would you mind sending our support team a new email through here so I can grab it? https://support.stripe.com/?contact=true
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.
Yes that category works
its done