Changeset 2549365
- Timestamp:
- 06/17/2021 02:54:05 AM (5 years ago)
- Location:
- mint-payment-gateway
- Files:
-
- 2 edited
-
tags/1.0/includes/common/MPayTransaction.php (modified) (2 diffs)
-
trunk/includes/common/MPayTransaction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mint-payment-gateway/tags/1.0/includes/common/MPayTransaction.php
r2544741 r2549365 9 9 10 10 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'; 12 12 13 13 … … 272 272 'company_token'=>$this->company 273 273 ); 274 $req = array( 274 275 $res = wp_remote_post($url, array( 275 276 'headers' => $this->headers, 276 277 'body' => json_encode($req), 277 278 'method' => 'POST', 278 279 '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)); 284 282 $body = wp_remote_retrieve_body( $res); 285 283 if(is_wp_error($res)){ -
mint-payment-gateway/trunk/includes/common/MPayTransaction.php
r2543387 r2549365 9 9 10 10 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'; 12 12 13 13
Note: See TracChangeset
for help on using the changeset viewer.