Skip to content

Commit

Permalink
Merge pull request #14 from JAAulde/feature/issue-12-check-for-certif…
Browse files Browse the repository at this point in the history
…icateid-before-use

Fix Issue #12 by requesting showCertificateID
  • Loading branch information
TPete authored Aug 11, 2020
2 parents 030de0f + 47bffdb commit 3a5ca5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function autoRefund(array $params)
public function autoApplySSL(array $params)
{
// Two choices, we want url-encoded
$params['responseFormat'] = CommunicationAdapter::RESPONSE_URL_ENCODED;
$params['responseFormat'] = CommunicationAdapter::RESPONSE_URL_ENCODED;
$params['showCertificateID'] = 'Y';

// Send request
Expand Down Expand Up @@ -289,6 +289,7 @@ public function autoReplaceSSL(array $params)
{
// Two choices, we want url-encoded
$params['responseFormat'] = CommunicationAdapter::RESPONSE_URL_ENCODED;
$params['showCertificateID'] = 'Y';

// Send request
$arr = $this
Expand Down

0 comments on commit 3a5ca5c

Please sign in to comment.