#niccah_error

1 messages ยท Page 1 of 1 (latest)

north basinBOT
#

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

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

neat plinth
#

hello! I'm not sure I understand what you mean by I've installed the latest stripe-android on the latest react-native-stripe - stripe-react-native already has stripe-android included. Why are you installing the latest stripe-android?

wanton merlin
#

I've updated the versions under build.gradle to use the latest stripe-android, cause I've been meaning to use a feature in the latest update.

#

Or should I wait for stripe-react-native to be updated?

neat plinth
#

Can you share your code snippet where you are using the PaymentSheet?

wanton merlin
#

Thank you for looking into this.

In this snippet there's no error occuring, only when I import StripeProvider.

#

I've attached the errors here.

neat plinth
#

give us a while to take a look

fast tide
#

Hi @wanton merlin do you use any other Stripe components to accept payments in addition to PaymentSheet?

wanton merlin
#

Atm no. Only PaymentSheets

fast tide
#

Ok, because the AddPaymentMethodActivityStarter is a component from the basic integration, which we removed in the latest Andorid SDK.

#

Can you run ./gradlew clean in your Android project and build the app again?

wanton merlin
#

I tried that multiple times :;/

#

sorry

fast tide
#

remove node_modules and package lock file, run npm install again

wanton merlin
#

Ok I'll try again. Thank you Jack

wanton merlin
#

Thank you it worked! Appreciate it, it might be caching. Appreciate it tho.

#

Ohhh\

#

One sec

#

my bad, sorry, I think I got it, I just reverted my changes on build.gradle thats why it worked.

#

Let me rerun

#

Really sorry

#

still happening:

#

after ./radlew clean

#

and remove node moduel

fast tide
#

Can you share your build.gradle?

wanton merlin
fast tide
#

What's the react-native SDK version that you are using in your project?

wanton merlin
#

0.39

fast tide
#

Ok I know the problem

#

And AddPaymentMethodActivityStarter is already removed in the version of the Stripe Android SDk that you are using.

wanton merlin
#

That would make sense

#

do you want me to do a patch

fast tide
#

So you can either use the old Android SDK version for now, or wait for the new release from react-native SDK

wanton merlin
#

I can pull this commit and do a patch file, I'm using patch package

#

I'll try this Jack! Appreciate it so much! Thank you for the help!