2017 © Pedro Peláez
 

library paysafe_sdk_php

PHP SDK for the Paysafe API

image

paysafegroup/paysafe_sdk_php

PHP SDK for the Paysafe API

  • Friday, June 22, 2018
  • by sebfey04
  • Repository
  • 9 Watchers
  • 2 Stars
  • 4,907 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 22 Forks
  • 1 Open issues
  • 3 Versions
  • 39 % Grown

The README.md

Paysafe 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)

\Paysafe\PaysafeApiClient::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

22/06 2018

dev-master

9999999-dev

PHP SDK for the Paysafe API

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.6

 

The Development Requires

payment sdk payment processing netbanx optimal

22/08 2017

1.0.3

1.0.3.0

PHP SDK for the Paysafe API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

payment sdk payment processing netbanx optimal

05/06 2017

1.0.1

1.0.1.0

PHP SDK for the Paysafe API

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *

 

payment sdk payment processing netbanx optimal