#taha_error

1 messages ยท Page 1 of 1 (latest)

blissful ermineBOT
#

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

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

unreal flame
river moth
#

Thanks, let me check

#

com.stripe:stripeterminal-taptopay:4.1.0

can you please correct me if I am using the correct sdk

unreal flame
#

That's our official sdk if that's what you're asking

#

Did you review your manifest to see if any other components are running the stripetaptopay process

river moth
#

Yes I did and I dont see any other component running the stripetaptopay process

unreal flame
#

Searching stripetaptopay in your manifest only returned com.stripe* components?

river moth
#

Should I share the manifest code here for better understanding? I am not getting anything for searching 'stripetaptopay'

river moth
#

I see the following in manifest merger

#

I am not sure what it means

unreal flame
#

That's your issue then

#

If there are other components running in the same process that are not recognized as being part of the Stripe Tap to Pay on Android SDK, then attempting to discover + connect to the reader will result in the "Tap to Pay reader not operating in secure process" error message

river moth
#

Its auto genereted from Android. How can i resolve this

unreal flame
#

Per that comment I linked earlier

#

If the dotnet framework is contributing other components into this process, you will need to use merge rule markers to ensure they are not added. As mentioned in the other dotnet issue, you may also use the TapToPay.IsInTapToPayProcess() method to skip execution in your Application subclass to prevent other code from executing if necessary.

#

Instead of dotnet framework though it's the whitecryption dependency you see there

river moth
#

i have removed the whitecryption and now only have the following 2 of which the names are starting with com.stripe*

#

Now it should work right?

unreal flame
#

What do you mean you removed it. You removed the whitecryption dependency/library entirely from your project? Or you followed the instructions in that github issue I linked to use merge rule markers, or something else?

blissful ermineBOT
river moth
#

I followed the instructions

#

and removed using tools:node="remove"

glad bobcat
#

Hi there, I'm taking over from my colleague who has to step away. Can you confirm you followed all the steps highlighted in the GitHub comment that was shared with you? If so, what is the issue you're experiencing now?

river moth
#

Yes now I have followed the steps. I was getting whitecryption dependency/library that was using stripe process and I have removed that. Now only have 2 process

#

the name starts with com.stripe

glad bobcat
#

Ok, are you still seeing the error being returned?

river moth
#

I probably need to create a release and publish it again on Google play store

#

because this error occurs only when we install and use the app from Play Store

glad bobcat
#

That makes sense. Give it a shot and see if you still see the error. If you do, feel free to come back and we'll try to assist.

river moth
#

Alright. just to confirm I see these 2 using stripe process but the names are starting with com.stripe, so that wont be a problem right?

glad bobcat
#

Let me double check with a colleague.

stable orchid
#

Hello ๐Ÿ‘‹

I'm stepping in here to offer my assitance. Give me a minute to catch up

river moth
#

sure

stable orchid
#

Okay I think I'm up to speed. You should not need to worry about any activities with android:process=":stripetaptopay" AS LONG AS the android:name starts with com.stripe

#

So, looking at the screenshot you provided, I think you should be good to go

river moth
#

Okay other than that I see an aidl service with android:process=":stripetaptopay" and name starting with com.stripe

stable orchid
#

Okay so that's still a com.stripe activity it sounds like. The secure process error was about non-Stripe activities trying to run in the same process

river moth
#

Alright

#

that means its not a problem, then I should probably release a new build to Google Play Console and try it out

stable orchid
#

I think so, based on my read of the GH Issue and what you have shared

river moth
#

but this one is a problem? here the name says com.whitecryption

blissful ermineBOT
stable orchid
#

Yes that is a problem

#

It is using the :stripetaptopay process but the name does not start with com.stripe