Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rnative-stripe-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rnative-stripe-api

This module is used to call stripe api directly without client library using form-urlencoded

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

README

React Native Stripe API

What is this repository for?

  • This Library is used create payment method by using Publishable key

How do I get set up?

Installation
npm install rnative-stripe-api --save
Setup
import stripe from 'rnative-stripe-api'
const rnStripe = stripe('your publishable key')
const requestData = {
            "type": "card",
            "billing_details": {
                "email": "youruser@example.com",
                "name": "nameoncard",
            },
            "card": {
                "exp_month": "expireMonth",
                "exp_year": "expireYear",
                "number": "cardNumber"
            }
        }
let paymentMethod = rnStripe.createPaymentMethod(requestData)
submitPaymentMethodToserver(paymentMethod)

Keywords

FAQs

Package last updated on 04 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc