2017 © Pedro Peláez
 

library optimal-php-sdk

PHP SDK for the Optimal Payments API

image

optimalpayments/optimal-php-sdk

PHP SDK for the Optimal Payments API

  • Thursday, September 29, 2016
  • by torchello
  • Repository
  • 6 Watchers
  • 5 Stars
  • 9,228 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 7 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Optimal Payments PHP SDK


Installation

Windows

On Windows, you will be required set the following environment variable that points to a valid CA certificate on your system in order to perform the https operations:, (*1)

SSL_CERT_FILE

Alternatively, you can make a call in your code to the following static method using the path to your CA certificate:, (*2)

\OptimalPayments\OptimalApiClient::setCACertPath(_PATH_TO_CERTIFICATE_);

This SDK requires PHP >= 5.3 and cURL to be installed., (*3)

This SDK requires that you can complete an SSL connection using cURL to the API endpoints from within your hosting environment . Any cURL errors returned will require you to complete connectivity troubleshooting within your hosting environment. See cURL error codes for assistance: http://curl.haxx.se/libcurl/c/libcurl-errors.html, (*4)

Usage

Running Sample Code

Update the following file with your credentials and account number:, (*5)

/sample/config.php, (*6)

PHP 5.3

Create a new virtual host in your local web server with the sample directory within your SDK directory as the webroot. Open your web browser and navigate to the URL specified in the virtual host configuration., (*7)

PHP 5.4+

In your command-line interface, navigate to the /sample directory inside of the SDK directory and type the following command:, (*8)

php -S localhost:8081

Open your web browser and navigate to the following URL:, (*9)

http://localhost:8081, (*10)

The Versions

29/09 2016

dev-master

9999999-dev

PHP SDK for the Optimal Payments API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-curl *

 

payment sdk payment processing netbanx optimal

10/03 2015

1.0

1.0.0.0

PHP SDK for the Optimal Payments API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-curl *

 

payment sdk payment processing netbanx optimal