Gateway URL change

Created on 24 April 2024, 2 months ago
Updated 15 May 2024, about 2 months ago

Problem/Motivation

GP Webpay gateway URL must be changed until May 6, 2024

Page 9 - https://www.gpwebpay.cz/downloads/GP_webpay_HTTP.pdf

commerce_gpwebpay/src/Plugin/Commerce/PaymentGateway/GPWebpay.php

/**
* Gets instance of GP Webpay driver.
*
* @return \Chaching\Chaching
* GP Webpay driver instance.
*/
public function getDriverInstance(): Chaching {
$driver = Chaching::GPWEBPAY;
$authorization = [
$this->configuration['merchant_id'],
[
'certificate' => $this->configuration['private_key_path'],
'passphrase' => $this->configuration['passphrase'],
'key' => $this->configuration['certificate_path'],
'url_handle' => 'pgw',
],
];
$options = [
'sandbox' => ($this->getMode() == 'test'),
];
return new Chaching($driver, $authorization, $options);
}

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡ΏCzech Republic Xperd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024