digistorm/omnipay-westpac-payway-rest

Westpac PayWay REST API driver for the Omnipay payment processing library

Installs: 4 833

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

pkg:composer/digistorm/omnipay-westpac-payway-rest

2.0.1 2025-02-24 05:08 UTC

This package is auto-updated.

Last update: 2025-09-24 06:44:16 UTC


README

Note: When instantiating the gateway, it needs to be provided with an Omnipay HTTP Client that is injected with a Guzzle client configured to implement Curl TLS 1.2.

e.g.

use Omnipay\WestpacPaywayRest\Gateway;
use Omnipay\Common\Http\Client as OmnipayHttpClient;
use GuzzleHttp\Client as GuzzleHttpClient;

$curlConfig = [
    CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,
];
$guzzleClient = new GuzzleHttpClient(['curl' => $curlConfig]);
$omnipayClient = new OmnipayHttpClient($guzzleClient);
$gateway = new Gateway($omnipayClient);