Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 2.41 KB

README.md

File metadata and controls

61 lines (35 loc) · 2.41 KB

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