All Projects → ozluy → react-stripe-script-loader

ozluy / react-stripe-script-loader

Licence: other
A React Component that loads Stripe script if necessary and shows React Stripe Elements

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-stripe-script-loader

Gringotts
A complete payment library for Elixir and Phoenix Framework
Stars: ✭ 396 (+1700%)
Mutual labels:  stripe, payment
Vue Stripe Payment
Vue wrapper for jquery.payment by stripe
Stars: ✭ 11 (-50%)
Mutual labels:  stripe, payment
Payumbundle
Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
Stars: ✭ 509 (+2213.64%)
Mutual labels:  stripe, payment
cypress-plugin-stripe-elements
A small Cypress plugin that assists you in filling in Stripe Elements inputs
Stars: ✭ 22 (+0%)
Mutual labels:  stripe, stripe-elements
Payum
PHP 7+ Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc. - provided by Forma-Pro
Stars: ✭ 1,665 (+7468.18%)
Mutual labels:  stripe, payment
ember-stripe-elements
A simple Ember wrapper for Stripe Elements.
Stars: ✭ 64 (+190.91%)
Mutual labels:  stripe, stripe-elements
Kirby Pay
Make online payments with Kirby
Stars: ✭ 27 (+22.73%)
Mutual labels:  stripe, payment
Penny-Seed
PennySeed is an alternative crowdfunding platform where the funding goal is divided by the number of pledgers
Stars: ✭ 18 (-18.18%)
Mutual labels:  stripe, stripe-elements
Payumlaravelpackage
Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
Stars: ✭ 121 (+450%)
Mutual labels:  stripe, payment
Payumserver
Payment processing microservice. Written in Symfony4
Stars: ✭ 103 (+368.18%)
Mutual labels:  stripe, payment
nestjs-stripe
Provides an injectable Stripe client to nestjs modules
Stars: ✭ 126 (+472.73%)
Mutual labels:  stripe, payment
Commerce billing
A payment processing library for Elixir
Stars: ✭ 170 (+672.73%)
Mutual labels:  stripe, payment
stripe-update-card
💳 Expose a page that let your customers update their payment information on Stripe.
Stars: ✭ 16 (-27.27%)
Mutual labels:  stripe, payment
Stripe
A comprehensive PHP Library for the Stripe.
Stars: ✭ 256 (+1063.64%)
Mutual labels:  stripe, payment
PayumYiiExtension
Rich payment solutions for Yii framework. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more
Stars: ✭ 13 (-40.91%)
Mutual labels:  stripe, payment
Vue Stripe
Stripe Checkout & Elements for Vue.js
Stars: ✭ 669 (+2940.91%)
Mutual labels:  stripe, payment
drf-stripe-subscription
An out-of-box Django REST framework solution for payment and subscription management using Stripe.
Stars: ✭ 42 (+90.91%)
Mutual labels:  stripe, payment
nuxt-stripejs
💳 NuxtJS module for Stripe.js which loads only when required and w/ retry mechanism
Stars: ✭ 17 (-22.73%)
Mutual labels:  stripe, stripe-elements
Jetstream Cashier Billing Portal
Jetstream Cashier Billing Portal is a simple scaffolding billing portal to manage subscriptions, invoices and payment methods, built on top of Jetstream & Cashier Register.
Stars: ✭ 45 (+104.55%)
Mutual labels:  stripe, payment
Stripe
Stripe library for Vapor
Stars: ✭ 151 (+586.36%)
Mutual labels:  stripe, payment

React Stripe Script Loader

npm version npm download

Github Pages Demo or Code Sandbox Demo

install

Install as a node module

npm i react-stripe-script-loader -S

usage

import React from 'react'
import StripeScriptLoader from 'react-stripe-script-loader'
import {
  StripeProvider,
  Elements,
  CardNumberElement,
} from 'react-stripe-elements'

const PageWithStripeElements = () => (
  <div>
    <h1>Stripe Elements</h1>
    <StripeScriptLoader
      uniqueId='myUniqueId'
      script='https://js.stripe.com/v3/'
      loader="Loading..."
    >
      <StripeProvider apiKey="stripeApiKey">
        <Elements>
          <CardNumberElement />
        </Elements>
      </StripeProvider>
    </StripeScriptLoader>
  </div>
)

export default PageWithStripeElements

props

uniqueId string

unique id for script element

script string

script to load

loader ReactElement

string, React elements array, React component

dependencies

 "react": "^16.9.0",
 "react-dom": "^16.9.0"

important note

For older versions of React ^15.0.0 please install following version with tag react-version-15

npm install react-stripe-script-loader@react-version-15 -S

Yusuf Özlü

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].