Kill Bill OSGI Qualpay plugin

Kill Bill Qualpay plugin

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

org.kill-bill.billing.plugin.java
Идентификатор

Идентификатор

qualpay-plugin
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

bundle
Описание

Описание

Kill Bill OSGI Qualpay plugin
Kill Bill Qualpay plugin
Ссылка на сайт

Ссылка на сайт

http://github.com/killbill/killbill-qualpay-plugin
Система контроля версий

Система контроля версий

http://github.com/killbill/killbill-qualpay-plugin/tree/master

Скачать qualpay-plugin

Зависимости

provided (5)

Идентификатор библиотеки Тип Версия
com.google.code.findbugs : jsr305 jar 3.0.2
javax.servlet : javax.servlet-api jar 3.1.0
org.kill-bill.billing : killbill-api jar 0.53.17
org.kill-bill.billing.plugin : killbill-plugin-api-notification jar 0.26.3
org.kill-bill.billing.plugin : killbill-plugin-api-payment jar 0.26.3

test (9)

Идентификатор библиотеки Тип Версия
com.github.tomakehurst : wiremock jar 1.57
mysql : mysql-connector-mxj jar 5.0.12
org.kill-bill.billing : killbill-platform-test jar 0.39.12
org.kill-bill.billing.plugin.java : killbill-base-plugin test-jar 4.0.3
org.kill-bill.commons : killbill-clock test-jar 0.23.7
org.kill-bill.commons : killbill-embeddeddb-mysql test-jar 0.23.7
org.mockito : mockito-all jar 1.10.19
org.slf4j : slf4j-simple jar 1.7.25
org.testng : testng jar 6.14.3

Модули Проекта

Данный проект не имеет модулей.

killbill-qualpay-plugin

Plugin to use Qualpay as a gateway.

Release builds are available on Maven Central with coordinates org.kill-bill.billing.plugin.java:qualpay-plugin.

Kill Bill compatibility

Plugin version Kill Bill version
0.0.y 0.22.z

Requirements

The plugin needs a database. The latest version of the schema can be found here.

Configuration

The following properties are required:

  • org.killbill.billing.plugin.qualpay.apiKey: Qualpay API security key
  • org.killbill.billing.plugin.qualpay.merchantId: Qualpay merchant id

The following properties are optional:

  • org.killbill.billing.plugin.qualpay.baseUrl: Qualpay endpoint (default: https://api-test.qualpay.com)
  • org.killbill.billing.plugin.qualpay.connectionTimeout: connect timeout in millis for the Qualpay client (default: 30000)
  • org.killbill.billing.plugin.qualpay.readTimeout: read timeout in mills for the Qualpay timeout (default: 60000)
  • org.killbill.billing.plugin.qualpay.chargeDescription: statement description (default: Kill Bill charge)
  • org.killbill.billing.plugin.qualpay.kbUsername: plugin username to communicate with Kill Bill (default: admin)
  • org.killbill.billing.plugin.qualpay.kbPassword: plugin password to communicate with Kill Bill (default password)

Tokenization

To avoid sending the full PAN to Kill Bill, your front-end application should tokenize first the card in Qualpay using either the Add a Customer Vault API (recommended) or Tokenize Card API. The Vault API is recommended as some functionality (such as retrieving the payment method details from Qualpay or deleting the card in Qualpay) won't be available when using the Gateway API.

When using the Vault API, Qualpay will return a customer id that needs to be set as a the custom field QUALPAY_CUSTOMER_ID on the Kill Bill account. You can then trigger a refresh to sync back all cards in the Vault to Kill Bill.

When using the Payment Gateway API, you need to add the payment method directly by passing the card id as the card_id plugin property.

Migration

To migrate to Kill Bill, you first need to create one Kill Bill account for each of your customers and follow the tokenization step(s) above for each account.

Development

To build the plugin, you need to setup Maven to use the GitHub Package Registry https://maven.pkg.github.com/killbill/qualpay-java-client.

Deployment

To install the plugin:

kpm install_java_plugin qualpay --from-source-file=target/killbill-qualpay-plugin-0.0.1-SNAPSHOT.jar --destination=/var/tmp/bundles

On AWS or in our Docker images, the destination should be /var/lib/killbill/bundles.

org.kill-bill.billing.plugin.java

Kill Bill

Kill Bill has been the leading open-source platform for billing and payment since 2010.

Версии библиотеки

Версия
0.0.1