tipsi-stripe

tipsi-stripe

  • Docs
  • Blog

›Deprecated Docs

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()

.canMakeApplePayPayments([options]) -> Promise

Method is deprecated, use canMakeNativePayPayments() instead.

All Platforms

When referring to networks below, we mean values from this list:

  • american_express
  • cartes_bancaires
  • china_union_pay
  • discover
  • eftpos
  • electron
  • elo
  • id_credit
  • interac
  • jcb
  • mada
  • maestro
  • master_card
  • private_label
  • quic_pay
  • suica
  • visa
  • vpay

Returns whether the user can make Apple Pay payments with specified options. If there are no configured payment cards, this method always returns false.

Returns true if the user can make Apple Pay payments through any of the specified networks; otherwise, false.

NOTE: The iOS Simulator always returns true.

options
Key Type Description
networks Array[String] Indicates whether the user can make Apple Pay payments through the specified network. Available networks: american_express ‖ discover ‖ master_card ‖ visa. If left unspecified, we pass all available networks under the hood.

Example

import stripe from 'tipsi-stripe'

await stripe.canMakeApplePayPayments()
import stripe from 'tipsi-stripe'

await stripe.canMakeApplePayPayments(['american_express', 'discover'])
← .canMakeAndroidPayPayments().paymentRequestWithAndroidPay() →
Docs
Getting StartedRunning on DeviceAPI Reference
More
BlogGitHubStar
Copyright © 2019 Tipsi.