Skip to content

Commit 91bdcf4

Browse files
Asmita TanksaleAsmita Tanksale
authored andcommitted
[MIT-3148] Restored commit
1 parent c51fea5 commit 91bdcf4

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Controller/Callback/Threedsecure.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function execute()
168168
$payment->addTransactionCommentsToOrder(
169169
$payment->addTransaction(Transaction::TYPE_CAPTURE, $invoice),
170170
__(
171-
'Captured amount of %1 online via Omise Payments Gateway (3-D Secure payment).',
171+
'Captured amount of %1 online via Omise Gateway (3-D Secure payment).',
172172
$order->getBaseCurrency()->formatTxt($invoice->getBaseGrandTotal())
173173
)
174174
);
@@ -177,7 +177,7 @@ public function execute()
177177
$payment->addTransaction(Transaction::TYPE_AUTH),
178178
$payment->prependMessage(
179179
__(
180-
'Authorized amount of %1 via Omise Payments Gateway (3-D Secure payment).',
180+
'Authorized amount of %1 via Omise Gateway (3-D Secure payment).',
181181
$order->getBaseCurrency()->formatTxt($order->getTotalDue())
182182
)
183183
)

Gateway/Command/CreditCardStrategyCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function execute(array $commandSubject)
109109
$payment->addTransactionCommentsToOrder(
110110
$payment->addTransaction(Transaction::TYPE_CAPTURE, $invoice),
111111
__(
112-
'Captured amount of %1 online via Omise Payments Gateway.',
112+
'Captured amount of %1 online via Omise Gateway.',
113113
$order->getBaseCurrency()->formatTxt($invoice->getBaseGrandTotal())
114114
)
115115
);
@@ -118,7 +118,7 @@ public function execute(array $commandSubject)
118118
$payment->addTransaction(Transaction::TYPE_AUTH),
119119
$payment->prependMessage(
120120
__(
121-
'Authorized amount of %1 via Omise Payments Gateway.',
121+
'Authorized amount of %1 via Omise Gateway.',
122122
$order->getBaseCurrency()->formatTxt($order->getTotalDue())
123123
)
124124
)

Gateway/Response/PaymentDetailsHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function handle(array $handlingSubject, array $response)
7676
$transaction,
7777
$payment->prependMessage(
7878
__(
79-
'Processing amount of %1 via Omise Payments Gateway.',
79+
'Processing amount of %1 via Omise Gateway.',
8080
$order->getBaseCurrency()->formatTxt($order->getTotalDue())
8181
)
8282
)

Observer/WebhookObserver/WebhookCompleteObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ private function transactionCommentToOrder(bool $isCaptured, string $amount)
7575
{
7676
if ($isCaptured) {
7777
$transaction = $this->payment->addTransaction(Transaction::TYPE_PAYMENT, $this->invoice);
78-
$comment = __('Amount of %1 has been paid via Omise Payments Gateway.', $amount);
78+
$comment = __('Amount of %1 has been paid via Omise Gateway.', $amount);
7979
} else {
8080
$transaction = $this->payment->addTransaction(Transaction::TYPE_AUTH, $this->invoice);
81-
$comment = __('Authorized amount of %1 via Omise Payments Gateway (3-D Secure payment).', $amount);
81+
$comment = __('Authorized amount of %1 via Omise Gateway (3-D Secure payment).', $amount);
8282
}
8383

8484
$this->payment->addTransactionCommentsToOrder($transaction, $comment);

etc/adminhtml/system.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
</field>
2323
<field id="test_secret_key" translate="label" type="password" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
2424
<label>Secret key for test</label>
25-
<comment>The "Test" mode secret key can be found in Omise Dashboard.</comment>
25+
<comment>The "Test" mode secret key can be found in Omise Dashboard.</comment>
2626
</field>
2727
<field id="live_public_key" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
2828
<label>Public key for live</label>
29-
<comment>The "Live" mode public key can be found in Omise Dashboard.</comment>
29+
<comment>The "Live" mode public key can be found in Omise Dashboard.</comment>
3030
</field>
3131
<field id="live_secret_key" translate="label" type="password" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
3232
<label>Secret key for live</label>
33-
<comment>The "Live" mode secret key can be found in Omise Dashboard.</comment>
33+
<comment>The "Live" mode secret key can be found in Omise Dashboard.</comment>
3434
</field>
3535
<field id="webhook_status" translate="label comment" type="select" sortOrder="61" showInDefault="1" showInWebsite="1" showInStore="1">
3636
<label>Enable webhooks</label>

0 commit comments

Comments
 (0)