Download the PHP package veem/sdk without Composer
On this page you can find all versions of the php package veem/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sdk
Veem-PHP-Sdk
The Veem PHP SDK provides an interface to make it easier to call Veem Global Payments APIs.
Version information
- Latest SDK Version:
- Latest supported API Endpoint Version:
Documentation
System Requirements
- The SDK works on PHP 7 and beyond.
- A developer account
- An application with a customer account and the associated client id and secret (Authorization flow / Client Credentials flow)
First Use Instructions
- composer install with command:
- Start to Use Veem SDK classes in your PHP project
Testing the Code
To test the code locally, follow the steps below:
- cd to the project directory
- Client can either integrate with Authorization flow or Client Credential Flow;
- For Authorization flow, create a VeemContext object, fill in the
clientId
,clientSecret
,authorizationCode
, andredirectUrl
(optional). - For Client Credentials flow, create a VeemContext object, fill in the
clientId
, andclientSecret
. - To exercise all Veem Global Payment APIs, pass the VeemContext object as constructor argument to VeemClient and calling access token methods for scenario of step 3 or step 4.
Getting the OAuth Tokens
In order to get the access tokens from the Developer Portal;
Sign In with Veem - Sign into developer Portal .
Create an Application- Create a new application by providing the Name
, OAuth2 Redirection URLs
and Payment Status Webhooks
.
Create a Customer- Create a new customer by providing Business Name
, Country
and Primary Email
Get Credentials- Go the Application and select the Customer
and copy the Access Token
.
In order to get the access token
programmatically, get the client id, client secrets (Optional redirect url for Authorization flow).
Invoice Client Example
The following example is to send invoice using Invoice Client
More Examples can be found under examples folder