Skip to content

Commit

Permalink
ppsl Update
Browse files Browse the repository at this point in the history
  • Loading branch information
csgarsarippsl committed Dec 23, 2024
1 parent cd9e9f4 commit f86b22a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.8
0.0.9
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"keywords": ["Paytm","Client","SDK","PHP"],
"authors": [
{
"name": "Sakshi Jain",
"name": "Integration Dev",
"role": "Developer"
}
],
"homepage": "https://developer.paytm.com/docs",
"homepage": "https://developer.paytmpayments.com/docs",
"require": {
"php": ">=5.6.0",
"ext-json": "*",
Expand Down
16 changes: 8 additions & 8 deletions src/pg/constants/MerchantProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ class MerchantProperties
/**
* @var string
*/
private static $initiateTxnUrl = "https://securegw-stage.paytm.in/order/initiate";
private static $initiateTxnUrl = "https://securestage.paytmpayments.com/order/initiate";
/**
* @var string
*/
private static $refundUrl = "https://securegw-stage.paytm.in/refund/apply";
private static $refundUrl = "https://securestage.paytmpayments.com/refund/apply";
/**
* @var string
*/
private static $paymentStatusUrl = "https://securegw-stage.paytm.in/v3/order/status";
private static $paymentStatusUrl = "https://securestage.paytmpayments.com/v3/order/status";
/**
* @var string
*/
private static $refundStatusUrl = "https://securegw-stage.paytm.in/v2/refund/status";
private static $refundStatusUrl = "https://securestage.paytmpayments.com/v2/refund/status";

/**
* @param string $environment
Expand Down Expand Up @@ -265,10 +265,10 @@ public static function setEnvironment($environment)
self::$environment = $environment;
LoggingUtil::addLog(LogLevel::INFO, __CLASS__, "Setting Environment for " . $environment);
if ($environment === LibraryConstants::PRODUCTION_ENVIRONMENT) {
self::$initiateTxnUrl = "https://securegw.paytm.in/order/initiate";
self::$refundUrl = "https://securegw.paytm.in/refund/apply";
self::$paymentStatusUrl = "https://securegw.paytm.in/v3/order/status";
self::$refundStatusUrl = "https://securegw.paytm.in/v2/refund/status";
self::$initiateTxnUrl = "https://secure.paytmpayments.com/order/initiate";
self::$refundUrl = "https://secure.paytmpayments.com/refund/apply";
self::$paymentStatusUrl = "https://secure.paytmpayments.com/v3/order/status";
self::$refundStatusUrl = "https://secure.paytmpayments.com/v2/refund/status";
}
}
}

0 comments on commit f86b22a

Please sign in to comment.