Skip to content

spreedly/checkout-react-native-example

Repository files navigation

Spreedly Checkout React Native Example App

License

Demonstration only — not for production. This sample app shows integration patterns for the Spreedly Checkout React Native SDK. Do not ship it as-is to end users.

This example demonstrates payment flows using the Spreedly Checkout SDK, including card payments, 3D Secure, offsite payments, Stripe APM, Braintree, and EBANX.

Getting Started

Prerequisites

  • React Native environment set up
  • GitHub account with access to Spreedly private packages
  • GitHub Personal Access Token with read:packages scope

Setup

# 1. Clone the repository
git clone <repo-url>
cd CheckoutReactNativeExample

# 2. Create your environment file
cp .env.example .env
# Fill in your credentials in .env

# 3. Install dependencies
export GITHUB_TOKEN=<your-github-token>
yarn install

# 4. iOS setup
cd ios && pod install && cd ..

# 5. Run the app
yarn ios     # or yarn android

Documentation

Integration Guides

Guide Description
Integration Guide Installation, initialization, and complete integration walkthrough
Express Checkout Express checkout payment flow
Hosted Fields Custom checkout with individual hosted field components
3DS Guide Forter-based 3D Secure authentication
3DS Gateway Guide Gateway-managed 3DS via browser-based authentication
Theme Guide Colors, typography, and styling customization
CVV Recaching CVV recaching for saved payment methods
Offsite Payments PayPal, Pix, Boleto via offsite flows
Stripe APM iDEAL, Bancontact, EPS, P24, SEPA via Stripe
Braintree Payments PayPal and Venmo via Braintree
EBANX Payments EBANX alternative payment methods
RN 0.79+ Requirements React Native 0.79+ version-specific requirements

Security & Privacy

Guide Description
Security Security policy, vulnerability reporting, and best practices
Android Data Safety Android data safety declarations and requirements
iOS Privacy iOS privacy manifest and App Store requirements
Unified Privacy Cross-platform privacy documentation

Testing

Guide Description
Testing Guide Test cards, environments, and flow-by-flow testing

Compatibility

  • React Native: 0.79+
  • React: 18.2+
  • Android: minSdk 26 (Android 8.0+), targetSdk 34, compileSdk 36
  • iOS: 15.1+, Xcode 15+
  • Architectures: Legacy and New Architecture (Fabric/TurboModules)

Support

License

Copyright 2025 Spreedly, Inc.

Licensed under the Apache License, Version 2.0. See LICENSE for details.

Legal

About

Spreedly Checkout React Native SDK Example App - reference integration with full React Native tooling

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages