#eronblack3563_error

1 messages ยท Page 1 of 1 (latest)

halcyon lavaBOT
#

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

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

tranquil lodge
#

Hi, let me help you with this.

wispy thistle
#

Hi Vanya

#

Any thoughts?

tranquil lodge
#

Checking, sorry for delay

wispy thistle
#

Sure.

tranquil lodge
#

Compilation error. See log for more details
Have you looked at the logs?

wispy thistle
#

Yeah, I have analyzed the logs its Kotlin type mismatch error that's happening due to incompatibility between stripe and kotlin I guess.

tranquil lodge
#

Could you please share the exact logs?

#

But actually I feel like the issue might be in Kotlin version <2

wispy thistle
#

I can try upgrading to 0.43.0

halcyon lavaBOT
tranquil lodge
#

As I said, I think the actual issue is in Kotlin version. Are you able to upgrade it?

wispy thistle
#

Same issue

Class 'com.stripe.android.model.ConfirmPaymentIntentParams' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.
The class is loaded from /Users/user/.gradle/caches/8.10.2/transforms/c7568ee1599343b752fdc724a56bf26f/transformed/payments-core-21.6.0-api.jar!/com/stripe/android/model/ConfirmPaymentIntentParams.class

cloud portal
#

hi! I'm taking over this thread. give me a few minutes to catchup.

wispy thistle
#

Sure.

wary pendant
#

Hey! Taking over for my colleague. Let me catch up.

wispy thistle
#

Okay.

wary pendant
wispy thistle
#

Let me check

#

I haven't tried the sample.

#

Any suggestions on how to fix this?

wary pendant
#

This seems to be a conflict in your dependencies

#

You should use dependencies that have the same kotlin compiled version

#

Usually, in this kind of cases, migrating every thing to the latest version will fix this.

#

The root issue is this line:

Class 'com.stripe.android.model.ConfirmPaymentIntentParams' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.

#

Try upgrading your gradle version too

wispy thistle
#

So I am using incompatible stripe version?

#

I just tried with 2.1.0 but got the same error. Can you suggest a compatible version

wary pendant
#

You can try using an old version of Stripe SDK that is compatible with your gradle version (8.0.2)

wispy thistle
#

Any suggested version?

wary pendant
#

You'll need probably a very old version (from May 2023)

#

For example you can try 0.27.2

#

But it's a very old one.

wispy thistle
#

Let me try

wary pendant
#

ideally you should migrate your gradle version

#

To the latest one, in order to support the latest version of SDKs