#Julio

1 messages · Page 1 of 1 (latest)

worthy mesaBOT
pastel seal
#

As in there is some account parameter that the other versions of this sheet take that the RN one doesn't?

simple orchid
#

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``

pastel seal
#

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

simple orchid
#

feel free to file it internally,

#

also i'm not using latest version

#

i'm "0.21.0"

pastel seal
#

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

simple orchid
#
 <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)
pastel seal
#

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?

simple orchid
#

no its the email i use for connecting to stripe dashboard

#

have you found if this is fixed in later version ?

pastel seal
simple orchid
#

me neither

pastel seal
#

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

simple orchid
#

i'll check this out

#

but later, wont be able to take time today

pastel seal
#

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

simple orchid
#

not at all

#

which category should i chose ?

#

API integration ,

#

?

pastel seal
#

Yes that category works

simple orchid
#

its done

pastel seal
#

Thank you. I see it and am grabbing it

#

Working on reproducing this, will check if the newer version works correctly when I have that