Skip to content

Examples and reference implementations for Mollie Components

Notifications You must be signed in to change notification settings

mollie/components-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mollie Components Examples

This repository contains examples on how to implement Mollie Components. Mollie Components is a set of Javascript APIs that allows you to add the fields needed for card holder data to your own checkout, in a way that is fully PCI-DSS SAQ-A compliant.

See the live demo of these examples here: https://mollie.github.io/components-examples/

Documentation

Examples

Example 1

Example 2

Example 3

  • Example 4: Floating labels and additional input fields

Example 4

  • Example 5: Floating labels with status indicators

Example 5

Example 6

Running locally

In order to run the examples you need a webserver. Although its plain HTML, CSS and JavaScript Mollie Components needs a valid hostname (e.g. localhost or 127.0.0.1). For this README example we use the serve package but any other webserver should work just fine.

  1. Clone the repo
git clone [email protected]:mollie/components-examples.git
  1. Navigate to the the repo
cd components-example
  1. Serve the examples via a webserver
npx serve

About

Examples and reference implementations for Mollie Components

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published