
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
paypal-express-checkout-es6
Advanced tools
nodejs library for paypal express checkout api support
Nodejs library for paypal express checkout
Note: Full documentation is not ready yet. Please take a look at code. It will make sense because it is with flow types.
gulp build
All functions basically uses call
function to send API request.
For reference please refer to https://developer.paypal.com/docs/classic/express-checkout/
import Paypal from 'paypal-express-checkout-es6';
const config = {
USER,
PWD,
SIGNATURE,
isSandbox
};
const paypal = new Paypal(config);
paypal.call(method, params);
paypal.call('SetExpressCheckout', {
PAYMENTREQUEST_0_PAYMENTACTION: 'SALE', // type of payment
PAYMENTREQUEST_0_AMT: 19.95, // amount of transaction
PAYMENTREQUEST_0_CURRENCYCODE: 'USD', // currency of transaction
RETURNURL: 'http://www.example.com/success.html', // URL of your payment confirmation page
CANCELURL: 'http://www.example.com/cancel.html'// URL redirect if customer cancels payment
});
These functions are available for parallel payment.
FAQs
nodejs library for paypal express checkout api support
The npm package paypal-express-checkout-es6 receives a total of 38 weekly downloads. As such, paypal-express-checkout-es6 popularity was classified as not popular.
We found that paypal-express-checkout-es6 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.