Code libraries
8am’s code libraries kickstart your payment integration with the 8am Payment Gateway API.
- JavaScript library for tokenization
- Code libraries for Gateway integration
- Plugins for Gateway integration
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:
- Updating accounts and payment methods, including:
- eCheck accounts
- Merchant details, such as contact information
- Merchant policy configuration
- Banks
- Cards
- Making charges, including:
- Recurring charges
- Refunds
- Credits
- Voids
- Captures
- One-time payment tokens
- Authorization holds, including creating the hold and retrieving unsettled authorization-only charges
- Finding transactions by ID and by type
- Submitting a signature from an endpoint
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.