#santosh-android
1 messages · Page 1 of 1 (latest)
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
this is the sdk we are using
This is for the client side
How is your system handling the server API calls?
api are using .net core api which are working fine
Thank you for the information, let me check
ok
Do you have the code snippet where the lateinit var stripe is defined in your Android code?
is there line where you define or uses the stripe variable?
this is the code
can you share the code in text form, not screenshots? I can't read it.
ok
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