Skip to content

Commit 7c654fb

Browse files
authored
Merge pull request #1 from paysafecard/master
Fixed some variables and messages
2 parents bc3322b + 62d4d3e commit 7c654fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

payment/PaymentClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function getError()
270270
$this->response["message"] = 'The amount for this transaction exceeds the maximum amount. The maximum amount is 1000 EURO (equivalent in other currencies)';
271271
break;
272272
case 3001:
273-
$this->response["message"] = 'Transaction could not be initiated because the account is inactive.';
273+
$this->response["message"] = 'Transaction could not be initiated due to connection problems. If the problem persists, please contact our support.';
274274
break;
275275
case 2002:
276276
$this->response["message"] = 'payment id is unknown.';

payment/notification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
$logger = new PaysafeLogger();
2323

2424
// checking for actual action
25-
if (isset($_GET["payment_id"])) {
26-
$id = $_GET["payment_id"];
25+
if (isset($_GET["mtid"])) {
26+
$id = $_GET["mtid"];
2727
// get payment status with retrieve Payment details
2828
$response = $pscpayment->retrievePayment($id);
2929
$logger->log($pscpayment->getRequest(), $pscpayment->getCurl(), $pscpayment->getResponse());

0 commit comments

Comments
 (0)