Closed JakyChen closed 1 year ago
Closing this ticket, so that new users don't think this project is still active.
Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity!
Before I have submitted the issue
[ X] I have read an installation guide
[ X] I know that for an iOS I need to install pods because I've read the installation guide
[ X] I have read a linking guide and checked that everything is OK like in manual linking guide
[ X] I know that before using
tipsi-stripe
I need to set options for my app as described in usage guideThe problem
We upgraded from tipsi-stripe 9.0.0 to 9.1.4 and noticed that in an Android environment, providing credit card information to createTokenWithCard passes back a token with the below data set. Livemode is false.
addressCity: null addressCountry: null addressLine1: null addressLine2: null addressState: null addressZip: null cardId:
country:
currency: null
cvc: null
expMonth:
expYear:
fingerprint: null
last4:
name: null
number: null
This data set does not include brand and is no longer present in card details for Android (but is still present in iOS).
Environment
tipsi-stripe
version: 9.1.4tipsi-stripe
version where the issue was not reproduced (if applicable): 9.0.0Links to logs and sources
Documentation for the expected data set: https://tipsi.github.io/tipsi-stripe/docs/createtokenwithcard.html
For
Android
, please provide the following sections fromandroid/app/build.gradle
:Screenshots, GIFs (Must to have)
Code To Reproduce Issue (Good To Have)
import stripe from 'tipsi-stripe'; const token = await stripe.createTokenWithCard(cardData); console.log(token);