
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-payeezy
Advanced tools
Easily inject .js as a react component. Will load the script on demand and supports all the options from Payeezy docs.
Payeezy original API is very thorough and this makes it more react. The component is based on a implimentation for Stripe form Adam Zmenak at https://github.com/azmenak/react-stripe-checkout .
Get started by installing with npm
npm install react-payeezy
Requires babel for compiling. If anyone is having issues with that, open an issue and I'll do my best to better document the build process.
token and PayeezyApiKey are the only required props,
everything else is optional as per the Payeezy docs. See
Docs. All props
go through simple validation and are passed to Payeezy , they're
also documented in payeezy_us_v5.1.js.
import React from 'react'
import Payeezy from 'react-payeezy';
export default class TakeMoney extends React.Component {
onToken = (token) => {
fetch('/save-payeezy-token', {
method: 'POST',
body: JSON.stringify(token),
}).then(response => {
response.json().then(data => {
alert(`We are in business, ${data.email}`);
});
});
}
// ...
render() {
return (
// ...
<Payeezy
token={this.onToken}
PayeezyApiKey="my_PUBLISHABLE_PayeezyApiKey"
/>
)
}
}
This will give you a default Payeezy-style button which looks like this:

<Payeezy
name="Three Comma Co."
description="Big Data Stuff"
image="https://www.vidhub.co/assets/logos/vidhub-icon-2e5c629f64ced5598a56387d4e3d0c7c.png"
ComponentClass="div"
panelLabel="Give Money"
amount={1000000}
currency="USD"
PayeezyApiKey="..."
locale="zh"
email="info@vidhub.co"
// Note: Enabling either address option will give the user the ability to
// fill out both. Addresses are sent as a second parameter in the token callback.
shippingAddress
billingAddress={false}
// Note: enabling both zipCode checks and billing or shipping address will
// cause zipCheck to be pulled from billing address (set to shipping if none provided).
zipCode={false}
alipay
bitcoin
allowRememberMe
token={this.onToken}
// Note: `reconfigureOnUpdate` should be set to true IFF, for some reason
// you are using multiple Payeezy keys
reconfigureOnUpdate={false}
// Note: you can change the event to `onTouchTap`, `onClick`, `onTouchStart`
// useful if you're using React-Tap-Event-Plugin
triggerEvent="onTouchTap"
>
<button className="btn btn-primary">
Use your own child component, which gets wrapped in whatever
component you pass into as "ComponentClass" (defaults to span)
</button>
</Payeezy>
Pull requests welcome
FAQs
Easily inject .js as a react component. Will load the script on demand and supports all the options from Payeezy docs.
We found that react-payeezy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.