Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@blockbee/checkout
Advanced tools
NodeJS's implementation of BlockBee's Checkout payment gateway
npm install @blockbee/checkout
var BlockBee = require('@blockbee/checkout')
const bb = new BlockBee(apiKey, params, blockbeeParams)
const address = await bb.paymentRequest(redirectUrl, value)
Where:
api_key
is the API Key provided by our Dashboard.params
is any parameter you wish to send to identify the payment, such as {order_id: 1234}
.bb_params
parameters that will be passed to BlockBee _(check which extra parameters are available here: https://docs.blockbee.io/#operation/create).redirect_url
URL in your platform, where the user will be redirected to following the payment. Should be able to process the payment using the success_token
.value
amount in currency set in Payment Settings you want to receive from the user.When receiving payments, you have the option to receive them in either the
notify_url
or theredirect_url
, but adding theredirect_url
is required (refer to our documentation at https://docs.blockbee.io/#operation/paymentipn).
const bb = new BlockBee(apiKey, params, blockbeeParams)
const address = await bb.depositRequest(notifyUrl)
api_key
is the API Key provided by our Dashboard.params
is any parameter you wish to send to identify the payment, such as {order_id: 1234}
.bb_params
parameters that will be passed to BlockBee _(check which extra parameters are available here: https://docs.blockbee.io/#operation/deposit).notify_url
URL in your platform, where the IPN will be sent notifying that a deposit was done. Parameters are available here: https://docs.blockbee.io/#operation/depositipn.Need help?
Contact us @ https://blockbee.io/contacts/
FAQs
BlockBee's Checkout Library for NodeJS
The npm package @blockbee/checkout receives a total of 7 weekly downloads. As such, @blockbee/checkout popularity was classified as not popular.
We found that @blockbee/checkout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.