tipsi-stripe

tipsi-stripe

  • Docs
  • Blog

›Overview

Overview

  • Start here
  • Compatibility
  • Installation
  • Linking
  • Running  Pay on a real Device
  • Google Pay
  • Usage
  • Example
  • Payment Intent API
  • Save Card/Subscription
  • Migration
  • Changelog

Objects

  • Token
  • Source
  • Payment Method

Native Pay -  & G

  • .canMakeNativePayPayments()
  • .deviceSupportsNativePay()
  • .potentiallyAvailableNativePayNetworks()
  • .completeNativePayRequest()
  • .cancelNativePayRequest()

Card Form

  • .paymentRequestWithCardForm()

Card Params Object

  • .createTokenWithCard()

Bank Account Params Object

  • .createTokenWithBankAccount()

Create Source Object With Params

  • .createSourceWithParams()

Components

  • <PaymentCardTextField />

Error Codes

  • Error Codes

Tests

  • Local CI
  • Manual

Troubleshooting

  • Android
  • Jest
  • Tests
  • use_frameworks issue

Deprecated Docs

  • .openApplePaySetup()
  • .deviceSupportsApplePay()
  • .deviceSupportsAndroidPay()
  • .canMakeAndroidPayPayments()
  • .canMakeApplePayPayments()
  • .paymentRequestWithAndroidPay()
  • .paymentRequestWithApplePay()
  • .completeApplePayRequest()
  • .cancelApplePayRequest()

Create Card Or Subscription

How to save payment info for future usage

You will need to store and use cards on your backend server.

  1. tipsi-stripe will only generate token that will be used by backend to create card object. Use API to create token
  2. Send it to your backend server where it can save it using Stripe API to create card
  3. Save response in your database and then you will be able to reuse saved card token to make payments. Add some description to help user to select this card in the future (last4, name).
  4. Add API on the backend side that will return list of your descriptions with ids
  5. Use this id to get CardToken and use card token instead of one time token when performing payments

When you've saved the card on your backend you may use it to create subscriptions via Stripe API.

If you are using PaymentIntents you can use instructions from SCA

How to use ApplePay with recurring subscriptions https://support.stripe.com/questions/use-apple-pay-for-recurring-payments

← Payment Intent APIMigration →
Docs
Getting StartedRunning on DeviceAPI Reference
More
BlogGitHubStar
Copyright © 2019 Tipsi.