Code libraries

8am’s code libraries kickstart your payment integration with the 8am Payment Gateway API.

JavaScript library for tokenization

You should always use 8am’s hosted field JavaScript library to tokenize payment details without having that data pass through your servers.

Code libraries for Gateway integration

You can use 8am’s PHP client library, Ruby gem, or .NET client library in your application to perform the following operations on the 8am Payment Gateway:

The PHP client library is available from: https://github.com/affinipay/chargeio-php.

The Ruby gem is available from: https://github.com/affinipay/chargeio-gem.

The .NET client library is available from: https://github.com/affinipay/chargeio-net.

Plugins for Gateway integration

You can use 8am’s WordPress or WooCommerce plugin to accept secure, PCI-compliant credit card payments on your site without passing sensitive cardholder data through your WordPress server.

The WordPress plugin is available from: https://wordpress.org/plugins/affinipay-payment-gateway

The WooCommerce plugin is available from: https://github.com/affinipay/affinipay-woocommerce.