Plugin Directory

Changeset 2698856


Ignore:
Timestamp:
03/24/2022 10:47:56 AM (4 years ago)
Author:
ishanverma
Message:

minor updates and wordpress compatiblity.

Location:
authorizenet-payment-gateway-for-woocommerce
Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • authorizenet-payment-gateway-for-woocommerce/trunk/index.php

    r2665659 r2698856  
    33   Plugin Name: Authorize.net Payment Gateway For WooCommerce
    44   Description: Extends WooCommerce to Process Payments with Authorize.net gateway. HMAC-SHA512 Compatible version.
    5    Version: 6.4.0
     5   Version: 6.6.0
    66   Plugin URI: http://www.indatos.com?source=woocomautho
    77   Author: Eshan Varma
     
    99   License: Under GPL2
    1010   WC requires at least: 3.0.0
    11    WC tested up to: 6.1.1
     11   WC tested up to: 6.3.1
    1212*/
    1313
  • authorizenet-payment-gateway-for-woocommerce/trunk/internal/utils.php

    r2665659 r2698856  
    5959      $data_response =  $this->get_recent_transactions();
    6060      $currency = get_woocommerce_currency_symbol();
    61       $html = '<div class="wrap"><table class="wp-list-table widefat fixed striped table-view-list">';
     61      $html = '';
     62      if( $data_response->messages->message->code == 'I00001' ){
     63         $html .= '<div class="wrap"><table class="wp-list-table widefat fixed striped table-view-list">';
    6264      $html .= '<thead><tr>';
    6365      $html .= '<td>Invoice/Order#</td>';
     
    6971      $html .= '<td>Settlement Amount</td>';
    7072      $html .= '</tr></thead><tbody>';
    71       if( $data_response->messages->message->code == 'I00001' ){
    7273         $transactions = $data_response->transactions->transaction;
    7374
     
    8586         $html .= '</tbody></table></div><p>Note: It takes 1-2 mins for recent transactions to appear here. If you are using same Authorize.net account with multiple sites or softwares, then order numbers might not match with data on this site for some records, if transaction happend on other platform or website.</p><p>More features coming soon</p>';
    8687      }else{
    87          echo "Unable to get transaction list. Please check if API details are correct. Error code:".$data_response->messages->message->code;
     88       $html.= "Unable to get transaction list. Please check if API details are correct. Error code:".$data_response->messages->message->code;
    8889      }
    8990
  • authorizenet-payment-gateway-for-woocommerce/trunk/readme.txt

    r2665659 r2698856  
    55Tags: woocommerce authorize.net, authorize.net, payment gateway, woocommerce, woocommerce payment gateway, credit cards, refunds, capture. authorize.net woocommerce
    66Requires at least: 3.0.1
    7 Tested up to: 5.9
    8 Stable tag: 6.5
     7Tested up to: 5.9.2
     8Stable tag: 6.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.