
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@neoxr/midtrans
Advanced tools
Unofficial Midtrans API Wrapper yang hanya tersedia untuk 3 metode pembayaran : QRIS, Virtual Account & E-Wallet.
const { Midtrans } = require('@neoxr/midtrans')
const mdt = new Midtrans({
production: false,
server_key: 'xx-xx-xxxxxxx',
prefix: 'NXR',
callback_url: 'https://example.com/payment-status',
expiration: 30 // minutes
})
Untuk membuat pembayaran dengan API Midtrans cukup dengan memasukan 2 parameter wajib dan 1 parameter opsional :
mdt.createPayment([amount], [channel], [customer_details])
amount : nominal tagihan dengan tipe data integer.
channel : channel metode pembayaran dengan tipe data string.
customer_details (opsional) : menambahkan informasi customer dengan tipe data object.
mdt.createPayment(50000, 'qris').then(console.log)
Live Response : Here
mdt.checkPayment([id])
mdt.checkPayment('77847cda-43db-497c-b482-389863e527a6').then(console.log)
Live Response : Here
Pastikan akun sudah terverifikasi dan channel metode pembayaran berstatus aktif.
Qris : qris
Virtual Account : bri, mandiri, bni, permata, bca, cimb
E-wallet : gopay
FAQs
Simple Midtrans API Wrapper
The npm package @neoxr/midtrans receives a total of 1 weekly downloads. As such, @neoxr/midtrans popularity was classified as not popular.
We found that @neoxr/midtrans 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.