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.
@adyen/adyen-salesforce-pwa
Advanced tools
This npm package provides the opportunity to use Adyen as a payment service provider when building your Salesforce PWA application.
This npm package provides the opportunity to use Adyen as a payment service provider when building your Salesforce PWA application.
NOTE
This version is in beta and may not be suitable for production use. We anticipate the general availability solution to be ready by Q1 2024.
Please be aware that the beta version is not supported by Adyen until general availability, will not be providing technical support for this specific beta release.
We encourage users to explore the package, provide feedback, and report any issues via our GitHub repository.
Adyen Payments Composable Storefront Integration for B2C Commerce depends on:
Install the npm package using the following command
npm install @adyen/adyen-salesforce-pwa
Import the Adyen endpoints function in the ssr.js
file:
import {registerAdyenEndpoints} from '@adyen/adyen-salesforce-pwa/dist/ssr/index.js'
Include it as part of the server handler callback in the ssr.js
file before last app.get()
handler:
const {handler} = runtime.createHandler(options, (app) => {
// ...
registerAdyenEndpoints(app, runtime)
app.get('*', runtime.render)
})
Include Adyen checkout pages in the routes.jsx
of your retail-react-app
.
Check routes.jsx file for reference.
In your retail-react-app
you would need to create a .env file. Check
the example file in our reference application.
Import countrylist
in constants.js
of your retail-react-app
and export it as SHIPPING_COUNTRY_CODES
:
import {countryList} from '@adyen/adyen-salesforce-pwa'
export const SHIPPING_COUNTRY_CODES = countryList
To run the app locally with env variables execute the following command:
npm run start:env
To push your env variables to the MRT environment execute the following command:
npm run upload-env
To see which env variables are present in the MRT environment execute the following command:
npm run get-env
To request a feature, report a bug, or report a security vulnerability, create a GitHub issue.
For other questions, contact our support team.
This repository is available under the MIT license.
FAQs
This NPM package enables you to go live fast with payments with Adyen as a payment service provider when building your Salesforce PWA Retail application.
The npm package @adyen/adyen-salesforce-pwa receives a total of 74 weekly downloads. As such, @adyen/adyen-salesforce-pwa popularity was classified as not popular.
We found that @adyen/adyen-salesforce-pwa 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.