#gary_error

1 messages ยท Page 1 of 1 (latest)

sand hedgeBOT
#

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

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

hazy flume
#

Hello can you show me your stripe code for this? And do you get an error message along with the crash?

coral scaffold
#

Hello Pompey

#

There is no error message, as soon as i enter numbers, the app crashes

#

do you want me to send you recording ?

hazy flume
#

I think I have a clear idea of what is happening. If you can send your code I can see if we can reproduce on our side

coral scaffold
#

give me one second

hazy flume
#

And are you following a specific guide from Stripe on how to do this? If so can you link it here so I can take a look?

coral scaffold
#

I am not following any specific guide. I am just trying to replace OUR OWN input fields with STRIPE components

hazy flume
#

Ah gotcha, I thought there was some splicing together. So just using our card element or payment sheet and that is getting the crash?

coral scaffold
#

Yes that is correct. I just have the CardNumberTextInputLayout and inside CardNumberEditText

#

sorry i don't think i will be able to share the code today since i may need to get permission

#

is there anything you can think of

hazy flume
#

Just sharing the lines where our SDK is directly being used would be helpful, if that is considered less sensitive to share for you. I'll look to see if there are GH issues around this. Otherwise the best thing to do now may be to tackle those gradle issues so you can test our sample app

coral scaffold
#

okay. I'll work on the gradle sync issues

but just so you know, i get the crash even before hitting submit or calling the end point

as soon as i enter number crash happens

#

Once i get approval i'll share the code as well

#

will i be able to share in this chat here ?

#

this is partial stack trace

hazy flume
#

Yep you can share code here. It is a public server, so keep out API keys and secrets, but its safe to share Stripe SDK code

coral scaffold
#

okay thank you Pompey, i'll share code once I have the approval from management

hazy flume
#

Gotcha, and I'm not finding other reports of this type of crash at the moment so I don't have other leads on what to try at the moment

#

As a heads up, we close these threads after about ~15 mins of inactivity, so you will likely need to open a new thread. We have a bot that will link to this thread for reference