Skip to content

Commit

Permalink
Fix style, upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaJM committed Jul 13, 2022
1 parent 6778d22 commit 827261d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Controller/Payment/Notify.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function execute()
$webhookUrl = $this->getRequest()->getUriString();

if (getenv('CUSTOM_WEBHOOK_URL')) {
$webhookUrl = getenv('CUSTOM_WEBHOOK_URL') . 'kevin/payment/notify';
$webhookUrl = getenv('CUSTOM_WEBHOOK_URL').'kevin/payment/notify';
}

$isValid = $this->api->verifySignature($signature, $body, $headers, $webhookUrl);
Expand Down
2 changes: 1 addition & 1 deletion Model/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function initRefund($transactionId, $amount)
{
$params = [
'amount' => $amount,
'Webhook-URL' => $this->getWebHookContextUrl('kevin/payment/notify')
'Webhook-URL' => $this->getWebHookContextUrl('kevin/payment/notify'),
];

$response = $this->api->initRefund($transactionId, $params);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "getkevin/kevin-magento2",
"description": "Implements integration with the Kevin payment service provider.",
"version": "1.3.1",
"version": "1.3.2",
"authors": [
{
"name": "kevin.",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 827261d

Please sign in to comment.