Plugin Directory

Changeset 2549365


Ignore:
Timestamp:
06/17/2021 02:54:05 AM (5 years ago)
Author:
mnwinfra
Message:

updated prod url for MPAY

Location:
mint-payment-gateway
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mint-payment-gateway/tags/1.0/includes/common/MPayTransaction.php

    r2544741 r2549365  
    99   
    1010    const _URL_UATSB='https://secure-uatsb.mintpayments.net/mpay';
    11     const _URL_PROD='https://secure-uatsb.mintpayments.net/mpay';
     11    const _URL_PROD='https://secure.mintpayments.com/mpay';
    1212   
    1313   
     
    272272            'company_token'=>$this->company
    273273        );
    274         $req = array(
     274       
     275        $res = wp_remote_post($url, array(
    275276            'headers'     => $this->headers,
    276277            'body'        => json_encode($req),
    277278            'method'      => 'POST',
    278279            'data_format' => 'body',
    279         );
    280        
    281         $res = wp_remote_post($url, $req);
    282         error_log("REQUEST: " . print_r($req,true));
    283         error_log("RESPONSE: " . print_r($res,true));
     280        ));
     281        error_log(print_r($res,true));
    284282        $body = wp_remote_retrieve_body( $res);
    285283        if(is_wp_error($res)){
  • mint-payment-gateway/trunk/includes/common/MPayTransaction.php

    r2543387 r2549365  
    99   
    1010    const _URL_UATSB='https://secure-uatsb.mintpayments.net/mpay';
    11     const _URL_PROD='https://secure-uatsb.mintpayments.net/mpay';
     11    const _URL_PROD='https://secure.mintpayments.com/mpay';
    1212   
    1313   
Note: See TracChangeset for help on using the changeset viewer.