����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.135.220.9 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/omnipay/worldpay/src/ |
Upload File : |
<?php namespace Omnipay\WorldPay; use Omnipay\Common\AbstractGateway; /** * WorldPay Gateway * * @link https://developer.worldpay.com/jsonapi/docs */ class JsonGateway extends AbstractGateway { /** * Name of the gateway * * @return string */ public function getName() { return 'WorldPay JSON'; } /** * Setup the default parameters * * @return string[] */ public function getDefaultParameters() { return array( 'merchantId' => '', 'serviceKey' => '', 'clientKey' => '', ); } /** * Get the stored service key * * @return string */ public function getServiceKey() { return $this->getParameter('serviceKey'); } /** * Set the stored service key * * @param string $value Service key to store */ public function setServiceKey($value) { return $this->setParameter('serviceKey', $value); } /** * Get the stored merchant ID * * @return string */ public function getMerchantId() { return $this->getParameter('merchantId'); } /** * Set the stored merchant ID * * @param string $value Merchant ID to store */ public function setMerchantId($value) { return $this->setParameter('merchantId', $value); } /** * Get the stored client key * * @return string */ public function getClientKey() { return $this->getParameter('clientKey'); } /** * Set the stored client key * * @param string $value Client key to store */ public function setClientKey($value) { return $this->setParameter('clientKey', $value); } /** * Create purchase request * * @param array $parameters * * @return \Omnipay\WorldPay\Message\JsonPurchaseRequest */ public function purchase(array $parameters = array()) { return $this->createRequest('\Omnipay\WorldPay\Message\JsonPurchaseRequest', $parameters); } /** * Create authorize request * * @param array $parameters * * @return \Omnipay\WorldPay\Message\JsonAuthorizeRequest */ public function authorize(array $parameters = array()) { return $this->createRequest('\Omnipay\WorldPay\Message\JsonAuthorizeRequest', $parameters); } /** * Create refund request * * @param array $parameters * * @return \Omnipay\WorldPay\Message\JsonRefundRequest */ public function refund(array $parameters = array()) { return $this->createRequest('\Omnipay\WorldPay\Message\JsonRefundRequest', $parameters); } /** * Create capture request * * @param array $parameters * * @return \Omnipay\WorldPay\Message\JsonCaptureRequest */ public function capture(array $parameters = array()) { return $this->createRequest('\Omnipay\WorldPay\Message\JsonCaptureRequest', $parameters); } }