Download the PHP package satispay/gbusiness-api-php-sdk without Composer
On this page you can find all versions of the php package satispay/gbusiness-api-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package gbusiness-api-php-sdk
Satispay GBusiness API PHP SDK
Installation
Run the following command:
If you do not wish to use Composer, import the init.php file.
Documentation
https://developers.satispay.com
Authenticate with RSA Signature
Sign in to your Dashboard at business.satispay.com, click "Negozi Online" or "Negozi Fisici", and then click on "Genera un token di attivazione" to generate an activation token.
Use the activation token with the authenticateWithToken function to generate and exchange a pair of RSA keys.
Save the keys in your database or in a safe place not accesibile from your website.
Reuse the keys after authentication.
Enable Sandbox
To enable sandbox use setSandbox function.
Changelog
1.4.0
- Added custom header support in every HTTP call.
- Improve code formatting and documentation.
- Added RSA generation fallback with seclib (available via Composer only).
1.3.0
- Added
\SatispayGBusiness\Api::getPlatformHeader()method. - Added
\SatispayGBusiness\Api::setPlatformHeader()method. - Added
\SatispayGBusiness\Api::getTrackingHeader()method. - Added
\SatispayGBusiness\Api::setTrackingHeader()method. - Added
\SatispayGBusiness\Request::HEADER_OSconstant forx-satispay-osrequest header. - Added
\SatispayGBusiness\Request::HEADER_OS_VERSIONconstant forx-satispay-osvrequest headers. - Added
\SatispayGBusiness\Request::HEADER_APP_VERSIONconstant forx-satispay-appvrequest headers - Added
\SatispayGBusiness\Request::HEADER_APP_NAMEconstant forx-satispay-appnrequest headers. - Added
\SatispayGBusiness\Request::HEADER_DEVICE_TYPEconstant forx-satispay-devicetyperequest headers. -
Added
\SatispayGBusiness\Request::HEADER_TRACKING_CODEconstant forx-satispay-tracking-coderequest headers. - Changed in
\SatispayGBusiness\Requestheader key fromX-Satispay-Platformvtox-satispay-osv - Changed in
\SatispayGBusiness\Requestheader key fromX-Satispay-Plugin-Versiontox-satispay-appv - Changed in
\SatispayGBusiness\Requestheader key fromX-Satispay-Plugin-Nametox-satispay-appn - Changed in
\SatispayGBusiness\Requestheader key fromX-Satispay-Typetox-satispay-devicetype
1.2.1
- Added
\SatispayGBusiness\ApiAuthenticationclass. - Performed code refactoring to adhere to PSR2 Coding Standards
1.2.0
- Added
\SatispayGBusiness\PreAuthorizedPaymentTokenclass.
1.1.1
- Fixed composer file version
1.1.0
- Removed
\SatispayGBusiness\Api::testAuthentication()method. - Removed
\SatispayGBusiness\Api::getSecurityBearer()method. -
Removed
\SatispayGBusiness\Api::setSecurityBearer()method. - Added
\SatispayGBusiness\Api::getPlatformVersionHeader()method. -
Added
\SatispayGBusiness\Api::setPlatformVersionHeader()method. - Added
\SatispayGBusiness\Api::getPluginVersionHeader()method. -
Added
\SatispayGBusiness\Api::setPluginVersionHeader()method. - Added
\SatispayGBusiness\Api::getPluginNameHeader()method. -
Added
\SatispayGBusiness\Api::setPluginNameHeader()method. - Added
\SatispayGBusiness\Api::getTypeHeader()method. - Added
\SatispayGBusiness\Api::setTypeHeader()method.
All versions of gbusiness-api-php-sdk with dependencies
php Version >=5.4.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *