Skip to content
Last updated

Libraries

To use the API, we are developing libraries for the different languages ​​and frameworks, at the moment we have already released the following ones:

SDKs

Python

It is available for use in Python> 2.7. It is available on GitHub: https://github.com/zrupay/zru-python.

It can be installed via pip:

pip install --upgrade zru-python

or easy install:

easy_install --upgrade zru-python

or directly from the source code:

python setup.py install

In the README, you can see some examples of its use.

PHP

It is available for use in PHP > 5.3. It is available on GitHub: https://github.com/mc2p/mc2p-php.

It can be installed via composer:

composer require mc2p/mc2p-php

or directly from the source code:

git clone https://github.com/mc2p/mc2p-php mc2p

In the README, you can see some examples of its use.

Javascript

It is available for use in Javascript. It is available on GitHub: https://github.com/zrupay/zru-js.

It can be installed via npm:

npm install zru-js

or directly from the source code, downloading the zru.min.js and including it in the HTML like this:

<script src="zru.min.js"></script>

In the README, you can see some examples of its use.

Ruby

It is available for use in Ruby> 2.0. It is available on GitHub: https://github.com/mc2p/mc2p-ruby.

Add this line to your application Gemfile:

gem 'mc2p-ruby'

and run

$ bundle

or install it yourself:

gem install mc2p-ruby

In the README, you can see some examples of its use.

NodeJS

It is available for use in node > 0.10.0. It is available on GitHub: https://github.com/zrupay/zru-nodejs.

It can be installed via npm:

npm install --save zru

In the README, you can see some examples of its use.

Python/Django

It is available for use in Python / Django. It is available on GitHub: https://github.com/zrupay/zru-django.

It can be installed via pip:

pip install --upgrade zru-django

or easy install:

easy_install --upgrade zru-django

or directly from source code:

python setup.py install

In the README, you can see some examples of its use.

Plugins

WooCommerce

It is available for use in WooCommerce. It is available on GitHub: https://github.com/zrupay/zru-woocommerce or on Wordpress Plugins: https://wordpress.org/plugins/zru-for-woocommerce/.

It can be installed directly from the Wordpress Dashboard, searching for it by ZRU for WooCommerce or from the source code by downloading the code and putting it in the wp-content/plugins folder of wordpress.

In the README, you have more information.

PrestaShop

It is available for use in PrestaShop. It is available on GitHub: https://github.com/mc2p/mc2p-prestashop.

It can be installed from the source code by downloading the code and uploading it through the Dashboard.

In the README, you have more information.

Odoo

It is available for use in Odoo. It is available on GitHub: https://github.com/zrupay/zru-odoo or Odoo Modules: https://apps.odoo.com/apps/modules/17.0/payment_zru.

In the README, you have more information.

Gravity Forms Wordpress

It is available for use in Gravity Forms in Wordpress. It is available on GitHub: https://github.com/mc2p/mc2p-gravityforms-addon or on Wordpress Plugins: https://wordpress.org/plugins/mc2p-gravityforms-addon/.

It can be installed directly from the Wordpress Dashboard, searching for it by MyChoice2Pay Gravity Forms Add-on or from the source code by downloading the code and placing it in the wp-content/plugins folder of wordpress.

In the README, you have more information.