Skip to content

Commit

Permalink
Merge pull request #19 from plakhin/master
Browse files Browse the repository at this point in the history
updates payment GW URLs
  • Loading branch information
anandsiddharth authored Sep 27, 2018
2 parents 82f7dea + 1c2801c commit 2dd7306
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/Providers/PaytmWalletProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 2dd7306

Please sign in to comment.