react-stripe-js

React components for Stripe.js and Stripe Elements

MIT License

Downloads
5.4M
Stars
1.7K
Committers
52

Bot releases are hidden (Show)

react-stripe-js - v1.6.0

Published by cyuen-stripe about 3 years ago

New features

  • Add Link authentication and shipping address elements (#225)

Changed

  • Migrate to GitHub Actions (#221)
react-stripe-js - v1.5.0

Published by dweedon-stripe about 3 years ago

New features

  • Support updates to options props on the Elements provider (#220)
    • This can be used to easily change the locale of Elements.
  • [types] utilize types for Payment element (#219)

Fixes

  • fix: example code is not valid type-safe code (#193)

Changed

  • update to latest stripe-js version (#218)
  • Bump path-parse from 1.0.6 to 1.0.7 (#208)
  • Replaced IRC with Discord (#204)
  • Update migrating.md (#203)
  • Bump postcss from 7.0.35 to 7.0.36 (#197)
  • Upgrade Storybook to 6.x.x (#196)
  • Bump ws from 7.4.2 to 7.4.6 (#191)
react-stripe-js - v1.4.1

Published by bsharon-stripe over 3 years ago

Upgrade dependencies, minor changes

New features

Fixes

  • Fix lint warnings (#183)
  • Add placeholders for payment Element (#184)
  • add registerAppInfo (#182)
  • Bump hosted-git-info from 2.8.8 to 2.8.9 (#181)
  • Bump lodash from 4.17.20 to 4.17.21 (#180)
  • Bump url-parse from 1.4.7 to 1.5.1 (#178)
  • Bump ua-parser-js from 0.7.23 to 0.7.28 (#177)
  • Bump ssri from 6.0.1 to 6.0.2 (#175)
  • add stale config. (#169)

Changed

react-stripe-js - v1.4.0

Published by tylersmith-stripe over 3 years ago

New features

  • Add support for P24 and EPS Bank account Elements (#148)
react-stripe-js - v1.3.0

Published by christopher-stripe over 3 years ago

New features

  • Add support for afterpayClearpayMessage Element (#163)
react-stripe-js - v1.2.2

Published by christopher-stripe over 3 years ago

Fixes

  • useLayoutEffect for synchronous cleanup (#156)
react-stripe-js - v1.2.1

Published by christopher-stripe over 3 years ago

Fixes

  • Fix Element effect cleanup when using async stripe prop (#153)
react-stripe-js - v1.2.0

Published by christopher-stripe almost 4 years ago

New features

  • Add support for React 17 (#147)
react-stripe-js - v1.1.2

Published by christopher-stripe over 4 years ago

Changes

  • Register package version with Stripe instance (#76)
react-stripe-js - v1.1.1

Published by dweedon-stripe over 4 years ago

Fixes

  • [types] Top level types are now correctly exported #64
react-stripe-js - v1.1.0

Published by christopher-stripe over 4 years ago

New Features

  • Add escape event props (#71)
react-stripe-js - v1.0.3

Published by dweedon-stripe over 4 years ago

Fixes

  • Fixed an issue where build output was not correctly transpiled to ES5 #50
react-stripe-js - v1.0.2

Published by dweedon-stripe over 4 years ago

Docs updates

react-stripe-js - v1.0.1

Published by dweedon-stripe over 4 years ago

Initial stable release. No changes from the last beta.

react-stripe-js -

Published by hofman-stripe over 4 years ago

New Features

  • Add FpxBankElement, and examples.
  • Add AuBankAccountElement.
    • The AU BECS Debit Payment Method is currently in beta, for more information please contact Stripe Support.
  • [types] Bump @stripe/stripe-js to 1.0.0-beta.9 to use the new Payment Methods.

Fixes

  • Fixed the ES Module version of this package to only use the default export of react to allow integrations that don't accept named exports. (#40)
react-stripe-js -

Published by hofman-stripe over 4 years ago

Fixes

Invalid import of prop-types causing an error when using the ES Module version of this library (#33)
Various Stripe.js types from @stripe/stripe-js.

react-stripe-js - v1.0.0-beta.5

Published by christopher-stripe over 4 years ago

Fixes

  • Fix types for TS projects not using esModuleInterop (#31)
react-stripe-js - v1.0.0-beta.4

Published by christopher-stripe over 4 years ago

Features

react-stripe-js - v1.0.0-beta.3

Published by dweedon-stripe over 4 years ago

More examples and miscellaneous documentation updates.

Fixes

  • Removes a warning about useLayoutEffect when using React Stripe.js with server side rendering.
react-stripe-js - v1.0.0-beta.2

Published by dweedon-stripe over 4 years ago

Reversion to v1.

Adds support for passing Promise<StripeObject | null> to the stripe prop of Elements. This removes the need for users to create and manage their own state when asynchronously loading Stripe.js and can be used with the loadStripe function from the Stripe.js module.

import {loadStripe} from '@stripe/stripe-js';

const stripePromise = loadStripe('pk_test_6pRNASCoBOKtIshFeQd4XMUh');

const App = () => (
  <Elements stripe={stripePromise}>
    {/* ... */}
  </Elements>
);