tipsi-stripe

tipsi-stripe

  • Docs
  • Blog

›Error Codes

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

Error Codes

Custom error codes provided by tipsi-stripe:

Key Description
busy Previous request is not completed
cancelled Cancelled by user
purchaseCancelled Purchase was cancelled
sourceStatusCanceled Cancelled by user
sourceStatusPending The source has been created and is awaiting customer action
sourceStatusFailed The source status is unknown. You shouldn't encounter this value.
sourceStatusUnknown Source polling unknown error
noPaymentRequest Missing payment request
noMerchantIdentifier Missing merchant identifier
noAmount Amount should not be less than zero
parseResponse Failed to parse JSON
activityUnavailable Cannot continue with no current activity
playServicesUnavailable Play services are not available
redirectCancelled Redirect cancelled
redirectNoSource Received redirect uri but there is no source to process
redirectWrongSourceId Received wrong source id in redirect uri
redirectCancelledByUser User cancelled source redirect
redirectFailed Source redirect failed

Error codes with description provided by Stripe itself:

Key
api
apiConnection
redirectSpecific
card
invalidRequest
stripe
rateLimit
authentication
permission

Example

// all error codes available through named import
import { errorCodes } from 'tipsi-stripe'
← <PaymentCardTextField />Local CI →
Docs
Getting StartedRunning on DeviceAPI Reference
More
BlogGitHubStar
Copyright © 2019 Tipsi.