Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adyen/adyen-salesforce-pwa

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adyen/adyen-salesforce-pwa

This npm package provides the opportunity to use Adyen as a payment service provider when building your Salesforce PWA application.

  • 1.0.0-beta.2
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
79
decreased by-19.39%
Maintainers
4
Weekly downloads
 
Created
Source

Adyen Salesforce PWA

This npm package provides the opportunity to use Adyen as a payment service provider when building your Salesforce PWA application.

Instalation

  1. Install the npm package using the following command

    npm install @adyen/adyen-salesforce-pwa
    
  2. Import the Adyen endpoints function in the ssr.js file:

    import {registerAdyenEndpoints} from '@adyen/adyen-salesforce-pwa/dist/ssr/index.js'
    
  3. 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)
    })
    
  4. Include Adyen checkout pages in the routes.jsx of your retail-react-app. Check routes.jsx file for reference.

  5. In your retail-react-app you would need to create a .env file. Check the example file in our reference application.

  6. To run the app locally with env variables execute the following command:

    npm run start:env
    
  7. To push your env variables to the MRT environment execute the following command:

    npm run upload-env
    
  8. To see which env variables are present in the MRT environment execute the following command:

    npm run get-env   
    

Prerequisites

Support

To request a feature, report a bug, or report a security vulnerability, create a GitHub issue.

For other questions, contact our support team.

License

This repository is available under the MIT license.

Keywords

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc