From 1c2801cb02f832b2c6c80e4e963444351383088e Mon Sep 17 00:00:00 2001 From: Stanislav Plakhin Date: Thu, 27 Sep 2018 10:17:04 +0700 Subject: [PATCH] updates payment GW URLs --- src/Providers/PaytmWalletProvider.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Providers/PaytmWalletProvider.php b/src/Providers/PaytmWalletProvider.php index 4656691..86aa1a5 100644 --- a/src/Providers/PaytmWalletProvider.php +++ b/src/Providers/PaytmWalletProvider.php @@ -24,15 +24,14 @@ public function __construct(Request $request, $config){ $this->request = $request; if ($config['env'] == 'production') { - $domain = 'secure.paytm.in'; + $domain = 'securegw.paytm.in'; }else{ - $domain = 'pguat.paytm.com'; + $domain = 'securegw-stage.paytm.in'; } - $this->paytm_txn_url = 'https://'.$domain.'/oltp-web/processTransaction'; - // $this->paytm_txn_status_url = 'https://'.$domain.'/oltp/HANDLER_INTERNAL/TXNSTATUS'; - $this->paytm_txn_status_url = 'https://'.$domain.'/oltp/HANDLER_INTERNAL/getTxnStatus'; - $this->paytm_refund_url = 'https://'.$domain.'/oltp/HANDLER_INTERNAL/REFUND'; - $this->paytm_balance_check = 'https://'.$domain.'/oltp/HANDLER_INTERNAL/checkBalance'; + $this->paytm_txn_url = 'https://'.$domain.'/theia/processTransaction'; + $this->paytm_txn_status_url = 'https://'.$domain.'/merchant-status/getTxnStatus'; + $this->paytm_refund_url = 'https://'.$domain.'/refund/HANDLER_INTERNAL/REFUND'; + $this->paytm_balance_check = 'https://'.$domain.'/refund/HANDLER_INTERNAL/getRefundStatus'; $this->merchant_key = $config['merchant_key']; $this->merchant_id = $config['merchant_id'];