#davedeji_unexpected

1 messages ยท Page 1 of 1 (latest)

torpid coveBOT
#

๐Ÿ‘‹ 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/1369685682892705843

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

red edge
#

Hi just picking up where i left off yesterday with updating the android sdk and run into this issue

#

not sure how add the link configuration as that seems to be marked as internal in the stripe android SDK

naive bluff
#

Hmm that is surprising, our example code shows initializing the configuration in a similar way

    paymentIntentClientSecret,
    PaymentSheet.Configuration(
      merchantDisplayName = "My merchant name",
      customer = customerConfig,
      // Set `allowsDelayedPaymentMethods` to true if your business handles
      // delayed notification payment methods like US bank accounts.
      allowsDelayedPaymentMethods = true
    )
  )```
https://docs.stripe.com/payments/accept-a-payment?platform=android
red edge
#

yeah thats what i started with, updated sdk yesterday if youre able to see the previous chats to try turn of the link parameter using a newly added link configuartion field

naive bluff
#

Just to test, if you move that code to within the present payment sheet call where it is needed does the error go away? I'll ask a colleague that knows more about Android, but I wonder if there is some language syntax weirdness going on

red edge
#

after adding the link parameter is where there's an issues

#

this (what i had previously) works fine without the link configuration

naive bluff
#

Ah gotcha, I missed when you said that earlier. Taking a look

naive bluff
#

Looking in to this with a colleague. What SDK version are you using here?

red edge
#

yeah im on 21.13.0

torpid coveBOT
red edge
#

hi

#

@cerulean stream got this going and updated sdk on ios and android yesterday thanks. seeing this current issue on android somehow its not letting me configure the link as its marked internal?

cerulean stream
#

Hi hi! Iโ€™m going to be taking over for my colleague here, but another colleague is also still looking into this.

#

This was working yesterday?

red edge
#

no, i was just referring to getting started on the changes you suggested yesterday to help remove the link button.

cerulean stream
#

Ah cool, awesome. ๐Ÿ™‚

cerulean stream
#

What IDE / code editor are you using?

red edge
#

android studio

cerulean stream
#

Version?

#

Can you go through these steps - carefully of course ๐Ÿ™‚ - and see if any of them help?

red edge
#

Android Studio Koala Feature Drop | 2024.1.2 Patch 1
Build #AI-241.19072.14.2412.12360217, built on September 12, 2024
Runtime version: 17.0.11+0-17.0.11b1207.24-11852314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

#

sure i can give that a try

red edge
#

becasue my understanding is if this is marked as internal i would not be able to access / configure this

#

is this supposed to be showing up as internal in the source code, or is there something else that i could be missing?

cerulean stream
#

Oh, that's fun.

red edge
cerulean stream
#

Shoot.

torpid coveBOT
red edge
#

hi any updates here?

covert minnow
#

๐Ÿ‘‹

#

So it does seem like that should be accessible ๐Ÿค”

#

But yeah I do see what you are saying about it being marked internal

red edge
#

yeah, i have seen that and gone through those. the link configuration class is accessible as shown in the screenshots, the constructor for the payment sheet however does not seem to allow the use of the link parameter as its marked internal in the stripe SDK

#

this is why i am wondering if theres some error on my part or another way to initialize this i am missing

covert minnow
#

Though I'm not sure why you wouldn't be able to pass it straight to the constructor

red edge
#

Thats interesting, and probably something that might need to be updated on the sdk. The builder version worked, but the constructor version above it doesnt

#

Thanks for the help

torpid coveBOT
covert minnow
#

Well glad it is working, and yep I'll file some feedback about that!

red edge
#

awesome, thanks again