2017 © Pedro Peláez
 

library worldpay

Client for using WorldPay stored profile tokenization endpoints.

image

koizoinno/worldpay

Client for using WorldPay stored profile tokenization endpoints.

  • Wednesday, September 2, 2015
  • by oblogic7
  • Repository
  • 3 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

worldpay-xml

Simple client for using the WorldPay XML API. This library has only been tested with the Stored Profile functions, but should work for any request., (*1)

Example


// Create a client. $client = new WorldpayClient(); // Pass settings via setupApi method. $client->setupApi($acctId, $acctSubId, $merchantPin, $encryptionKey); // Create a request and pass request type (creditcard, ach, etc) and pass in the client. $request = new WorldpayRequest('creditcard', $client); // Add fields as required by your request. You do not need to include any of the fields passed via setupApi() or the request type. You must include all required fields as indicated in the documentation. $request->service = WorldPayClient::SERVICE_PROFILE_CREDIT; $request->amount = 500; // Add other fields as needed. // Execute the request. $response = $request->execute();

The Versions

02/09 2015

dev-master

9999999-dev

Client for using WorldPay stored profile tokenization endpoints.

  Sources   Download

The Requires

 

by Matt Snyder