#santosh-android

1 messages · Page 1 of 1 (latest)

vernal saddle
#

Hi there! I will try my best to help!

vernal saddle
#

Sorry for the wait, I am not familiar with React, was double checking the docs

#

Although for this specific error, it seems to be referring to the stripe on the backend (JS).

#

const stripe = require('stripe')('sk_test_xyz')

#

This is the respective definition required on the backend to allow Stripe library to work

quartz tangle
#

this is the sdk we are using

vernal saddle
#

This is for the client side

quartz tangle
#

yes

#

we are using for client side

vernal saddle
#

How is your system handling the server API calls?

quartz tangle
#

api are using .net core api which are working fine

vernal saddle
#

Thank you for the information, let me check

quartz tangle
#

ok

vernal saddle
#

Do you have the code snippet where the lateinit var stripe is defined in your Android code?

quartz tangle
#

yes

vernal saddle
#

is there line where you define or uses the stripe variable?

quartz tangle
#

this is the code

elder basin
#

can you share the code in text form, not screenshots? I can't read it.

quartz tangle
#

ok

quartz tangle
#

@elder basin pls check the files

elder basin
#

hmm, I don't see anything obviously wrong, seems like sensible code

#

can you write to https://support.stripe.com/?contact=true with that code and error so we can dig in over email? This createPaymentMethod function is new and I haven't used it yet so we'd need to investigate in more detail

quartz tangle
#

k

#

done