Archived
Started testing with tipsi-stripe
This introduces a Podfile
This commit is contained in:
1 parent
dac31e916a
commit
c2586b7c52
14 files changed
+256
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import stripe from 'tipsi-stripe'
|
||||
import Config from 'react-native-config';
|
||||
|
||||
stripe.init({
|
||||
publishableKey: Config.STRIPE_PUBLISHABLE_KEY,
|
||||
});
|
||||
|
||||
class Charge {
|
||||
openStripe() {
|
||||
stripe.createTokenWithCard().then((data) => {
|
||||
// returns a token.tokenId which should be saved
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user