Simple integration (with old style)
From this example, it will show that users don't need to change any code. Just only change the card.js url from cdn.omise.co/card.js to cdn.omise.co/card-2.0.0.js.
Simple integration with some style sheet
Just give an idea how to uses card.js in a website.
Custom integration
Just give an idea how to integrate card.js with the new feature of the card.js 2.0.
Multiple checkout buttons in the same page
Just show how to integrate card.js with multiple checkout buttons.
Specify the checkout form
Just show how to submit a checkout form target from any button in a website (it doesn't need to put a button element inside a form anymore).
PR Purpose
Add the card.js integration examples:
From this example, it will show that users don't need to change any code. Just only change the card.js url from
cdn.omise.co/card.js
tocdn.omise.co/card-2.0.0.js
.Just give an idea how to uses card.js in a website.
Just give an idea how to integrate
card.js
with the new feature of thecard.js 2.0
.Just show how to integrate card.js with multiple checkout buttons.