dpay-php-sdk
  • Introduction
  • "Secure" part
  • "Panel" part
Powered by GitBook
On this page

Introduction

Requirements:

PHP: ^8.1

Base initiation:

$dpay = new \PatryQHyper\Dpay\Dpay();

In Dpay constructor you can pass 2 environments. As default, the environment is set to Production:

new \PatryQHyper\Dpay\Environment\ProductionEnvironment();
new \PatryQHyper\Dpay\Environment\TestEnvironment();

SDK is divided into 2 "actions".

One is panel(); which calls requests to Panel API (https://panel.dpay.pl/api),

Second is secure(); which calls requests to Secure API (https://secure.dpay.pl)

Next"Secure" part

Last updated 2 years ago