diff --git a/README.md b/README.md index 34a7ee3..f286a1e 100644 --- a/README.md +++ b/README.md @@ -6,21 +6,26 @@ Card.js Getting started --------------- -Card.js is built on top of Omise.js enables you to easily integrate a payment form into your website, tablet or mobile device. Card.js creates an Omise.js token that you can use to create a charge with another Omise API client library (ruby, .net, ...) or with Omise Rest API. +Card.js is built on top of Omise.js which enables you to easily integrate a payment form into your website, tablet or mobile device. Card.js creates a token that you can send to your server to create a charge using another Omise API client library, such as ruby, nodejs, python, php, or with Omise Rest API. Installation ------------ Include the card.js from Omise CDN to your checkout form as below +Available CDNs are: +- Singapore: `https://cdn.omise.co/card.js` +- Japan: `https://cdn2.omise.co/card.js` + ```html ...
- @@ -34,5 +39,6 @@ Note that the data-amount attribute requires the amount to be paid in Satangs (1 How it works ------------ -Card.js will render a "Pay now" button which when a user click at the payout button, a popup window with a credit card form will be displayed. The user will then fill out the credit card information and submit. If success, the popup will be closed and your form will be automatically submit to your server. Otherwise there will be the error information shown. +Card.js will render a "Pay now" button which when a user click at the payout button, a popup window with a credit card form will be displayed. The user will then fill out the credit card information and submit. If successful, the popup will be closed and your form will be automatically submitted to your server. Otherwise there will be an error information shown. +Full documentation: [https://docs.omise.co/card-js/](https://docs.omise.co/card-js/)