Official Language Library
Snap Plugin for E-Commerce CMS
The step by step installation guide & live-demo is available here.
Platforms | Resources |
---|---|
Prestashop | v1.6 Github Prestashop Wiki v1.7 * Github |
Magento | v1.8, v1.9 Github Magento Wiki v2.x Github Magento Marketplace |
Opencart | v2.0, v2.1, v2.2 Github Opencart Wiki v2.3 Github v3.0 Github |
Wordpress Woocommerce | Wordpress v3.9.1 or Greater WooCommerce v2.0 or Greater Github Wordpress Wiki * Wordpress Plugin Site |
WHMCS | v5.3.12 - v7 * Github |
Drupal Commerce | 7.x Github v8.x Github * Drupal Module Site |
Wordpress Easy Digital Downloads | Wordpress v3.9.1 or Greater v2.x Github Wordpress Plugin Site |
Sample Integration Code
Platforms | Resources |
---|---|
PHP | Github |
Java | Github |
NodeJS | Github |
Python | Github |
Other | please check respective language's repo |
Tips to Run Sample Codes Easily
You can use Gitpod.io to easily run our sample codes. Gitpod is like a temporary cloud VM/VPS/container (with proper UI) that you can use to manage & run codes/web-servers easily. You don't need to install or download anything on your own machine, run it on their cloud!
- Go to Gitpod.io, and sign-up/sign-in for a free account.
- You can easily sign-in with Github account.
- Then on your web browser, type
https://gitpod.io#
, then paste Midtrans' example repo url at the end of the url.- E.g. open this url on your browser: https://gitpod.io#https://github.com/Midtrans/midtrans-nodejs-client/
- Then you will be given access to a cloud IDE, that have its own code-editor UI & terminal/shell that you can use to browse/edit the code & run the codes/examples.
- You can
cd
to the/examples
folder and follow the instruction.- e.g. for NodeJS example, you can
cd /examples/expressApp
then run the example withnpm install; npm start;
. The example web server will run and you can click open browser/preview, to browse it as a web user.
- e.g. for NodeJS example, you can
That's it!
Ecommerce Platform
If you are looking to integrate with 3rd party Ecommerce platform such as Shopify, please visit this page.