GithubHelp home page GithubHelp logo

isabella232 / salesforcecommercecloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mollie/salesforcecommercecloud

0.0 0.0 0.0 18.36 MB

License: BSD 2-Clause "Simplified" License

JavaScript 68.22% CSS 31.48% SCSS 0.29%

salesforcecommercecloud's Introduction

README

link_mollie

This is the integration cartridge for Mollie

Getting Started

  1. Clone this repository.
  2. Install npm dependancies npm install.
  3. Upload the cartridges folder to the WebDav location for cartridges for your Sandbox through CyberDuck or any other WebDAV client.
  4. Add the mollie_sfra_changes, int_mollie_sfra and int_mollie cartridges to your cartridge path.

Cartridges

int_mollie

Contains all the business logic pertaining order and payment management through the Mollie API.

int_mollie_sfra

Contains Payment and Checkout controllers.

mollie_sfra_changes

Contains SFRA overwritten templates / controllers.

Configuration

Site Management

Add the following cartridges to the storefront site you want to use the payment on:

  • mollie_sfra_changes
  • int_mollie_sfra
  • int_mollie

Add the following cartridges to the business manager site:

  • bm_mollie
  • int_mollie
  • app_storefront_base

Site Preferences

  • mollieEnabledMode: enum of strings
  • mollieBearerTestToken: string
  • mollieBearerToken: string
  • mollieProfileId: string
  • mollieDefaultOrderExpiryDays: enum-of-strings
  • mollieDefaultEnabledTransactionAPI: enum of strings
  • mollieEnableSingleClickPayments: boolean
  • mollieComponentsEnabled: boolean
  • mollieEnableQrCode: boolean
  • mollieLogCategory: string

Custom Properties

PaymentMethod

  • molliePaymentMethodId: string - external mollie payment method id
  • mollieOrderExpiryDays: enum of int - expiry days of order
  • mollieEnabledTransactionAPI: enum of strings - the enabled transaction API
  • mollieProductCategory: enum of strings - category used for voucher method

PaymentTransaction

  • molliePaymentId: string - the id of the Mollie payment
  • molliePaymentStatus: string - the payment status recieved from Mollie
  • molliePaymentDescription: text - Generated payment description
  • mollieIssuerData: text - selected issuer data
  • molliePaymentDetails: text - mollie payment details
  • molliePaymentLink: string - the link that is used to complete the payment

Order

  • mollieOrderId: string - the id of the Mollie order
  • mollieOrderStatus: string - the payment status recieved from Mollie
  • mollieUsedTransactionAPI: string - api used for creating payment (payment / order)
  • mollieRefundStatus: enum of strings - the status of the refund
  • mollieOrderIsAuthorized: boolean - the order is authorized

Profile

  • mollieCustomerId: string - the id of the Mollie customer (used for single click payments)

Product

  • mollieProductCategory: enum of strings - category used for voucher method

NPM scripts

Use the provided NPM scripts to compile and upload changes to your Sandbox.

#Testing You can run npm test to execute all unit tests in the project. Run npm run cover to get coverage information. Coverage will be available in coverage folder under root directory.

Mollie Documentation

salesforcecommercecloud's People

Contributors

ybespapen avatar rubenb avatar spapenybe avatar molliesys avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.