2017 © Pedro Peláez
 

library nmi

An API implementation for the NMI (Network Merchants International) payment gateway

image

m1ke/nmi

An API implementation for the NMI (Network Merchants International) payment gateway

  • Wednesday, November 5, 2014
  • by m1ke
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

NMI API

An implementation of the NMI (Network Merchants International) payment gateway, (*1)

3-Step

Currently the only implementation. See example.php for information on how to use, essentially two main methods are exposed:, (*2)

// creates an object, provide API key and optional redirect URL
$nmi=new Nmi3Step(NMI_KEY);

// returns a submission url as step 1, send a numeric amount to charge
$url=$nmi->get_url($amount);

// Sends the payment with a provided token. Returns a payment result or throws an exception
$payment=$nmi->submit_payment($_GET['token-id']);

The Versions

05/11 2014

0.1.x-dev

0.1.9999999.9999999-dev

An API implementation for the NMI (Network Merchants International) payment gateway

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

05/11 2014

dev-master

9999999-dev

An API implementation for the NMI (Network Merchants International) payment gateway

  Sources   Download

MIT

The Requires

  • php >=5.4.0