PHPackages                             cmpayments/orderapi-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. cmpayments/orderapi-sdk-php

ActiveLibrary[API Development](/categories/api)

cmpayments/orderapi-sdk-php
===========================

CMPayments Order API SDK

v1.14.1(2y ago)19.5k↓50%4proprietaryPHPPHP &gt;=5.5.9

Since Feb 12Pushed 2y agoCompare

[ Source](https://github.com/cmpayments/orderapi-sdk-php)[ Packagist](https://packagist.org/packages/cmpayments/orderapi-sdk-php)[ RSS](/packages/cmpayments-orderapi-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (9)Used By (0)

CMPayments Order API SDK for PHP
================================

[](#cmpayments-order-api-sdk-for-php)

[![Build Status](https://camo.githubusercontent.com/9835e19df53fb114ba68d843e6c0a0ec82196925003e2527bceeb2a29e2cece7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636d7061796d656e74732f6f726465726170692d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cmpayments/orderapi-sdk-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/cmpayments/orderapi-sdk-php/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/e6f3630d27db208c920f4f36fcdb98adac9dc8769f771d3b6e2d646f039510f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636d7061796d656e74732f6f726465726170692d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cmpayments/orderapi-sdk-php)

For more information about the Order API calls, see the documentation. This SDK is a toolbox, for more information about the inner workings of the Webdirect or One-Page-Checkout, see the integration manual at .

Installation
------------

[](#installation)

To install the SDK, simply use [Composer](https://getcomposer.org/): `composer require cmpayments/orderapi-sdk-php`

Setting up a connection
-----------------------

[](#setting-up-a-connection)

Set up a connection by filling in the `username` and `password`. If you want to use the sandbox environment, add `true` as third parameter. All requests are created from this client.

```
