Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@buckaroo/buckaroo_sdk
Advanced tools
Buckaroo is the the Payment Service Provider for all your online payments with more than 15,000 companies relying on Buckaroo's platform to securely process their payments, subscriptions and unpaid invoices. Buckaroo developed their own Node SDK. The SDK is a modern, open-source Node.js library that makes it easy to integrate your Javascript application with Buckaroo's services. Start accepting payments today with Buckaroo.
To use the Buckaroo API client, the following things are required:
npm install @buckaroo/buckaroo_sdk
Initiate the buckaroo client with your website key and secret key. The keys can be retrieved from your Buckaroo account.
import { initializeBuckarooClient } from './BuckarooClient'
initializeBuckarooClient({ websiteKey: 'KEY', secretKey: 'SECRET' })
Create a payment with all the available payment methods. In this example, we show how to create a credit card payment. Each payment has a slightly different payload.
import creditCard from './PaymentMethods/CreditCard'
const payment = await creditCard().pay({
amountDebit: 10,
name: 'Mastercard',
invoice: 'UNIQUE-INVOICE-NO'
})
After you create a transaction, you can retrieve several transaction information on demand.
const transactionKey = payment.Key
import { buckarooClient } from './BuckarooClient'
buckarooClient().status(transactionKey) // Retrieve transaction status
buckarooClient().refundInfo(transactionKey) // Retrieve refund info
buckarooClient().cancelInfo(transactionKey) // Retrieve cancellation info
Find our full documentation online on docs.buckaroo.io.
More examples can be found in the examples folder
We really appreciate it when developers contribute to improve the Buckaroo plugins. If you want to contribute as well, then please follow our Contribution Guidelines.
Buckaroo Node.js SDK is open-sourced software licensed under the MIT license.
[0.9.0]
FAQs
Buckaroo payment SDK
The npm package @buckaroo/buckaroo_sdk receives a total of 491 weekly downloads. As such, @buckaroo/buckaroo_sdk popularity was classified as not popular.
We found that @buckaroo/buckaroo_sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.