
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Install package:
$ npm install payu-sdk
OR
$ yarn add payu-sdk
Next, you need to bootstrap using key and salt by following: key & salt can be found in your payu dashboard
const payu = require('payu-sdk')({
key: '<payu_key>',
salt: '<payu_salt>', // should be on server side only
});
It is recommended to keep key and salt as env variables so that they are not pushed to git accidentally
const hash = payu.hasher.generateHash({
txnid: '5512244',
amount: '1000',
productinfo: 'mobile',
firstname: 'Jacob',
email: 'test@payu.in',
});
const reverseHash = '<payu_hash>' // hash received after payment from payu
const txnStatus = '<payu_txn_status>' // status received after payment from payu
const isValidHash = payu.hasher.validateHash(reverseHash, {
txnid: '5512244',
amount: '1000',
productinfo: 'mobile',
firstname: 'Jacob',
email: 'test@payu.in',
status: txnStatus,
})
FAQs
Payu's Node API
We found that payu-sdk 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.