0.1.0 • Published 5 years ago

payment-components v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Payment Components

This package contains a plug and play front end component that any developer can include in its website.

Trying it out

Demo

Usage

Proposal-1: html + simple JS

Proposal-1 is composed of:

  • a script to include to the HTML
  • a button with ID to include at the desired position
  • a simple script snippet to spin up the component.

Proposal-2: <script> tag

Similar to Stripe's checkout element, the only code to include could be a <script> tag at the desired location of the checkout button.

See Proposal-2 for more.