Plugin Directory

Changeset 2002802


Ignore:
Timestamp:
12/28/2018 10:57:17 AM (7 years ago)
Author:
mariaaspen
Message:

Update Version 1.2 Bug Solve

Location:
pmpro-paytm-gateway/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pmpro-paytm-gateway/trunk/classes/class.pmprogateway_paytm.php

    r1939236 r2002802  
    2929            add_filter('pmpro_payment_option_fields', array('PMProGateway_paytm', 'pmpro_payment_option_fields'), 10, 2);
    3030                       
    31                         add_action('wp_ajax_nopriv_pmpro_capture_paytm_response', array('PMProGateway_paytm', 'pmpro_capture_paytm_response'));
     31            add_action('wp_ajax_nopriv_pmpro_capture_paytm_response', array('PMProGateway_paytm', 'pmpro_capture_paytm_response'));
    3232            add_action('wp_ajax_pmpro_capture_paytm_response', array('PMProGateway_paytm', 'pmpro_capture_paytm_response'));
    3333           
    3434            $gateway = pmpro_getGateway();
     35           
    3536            if($gateway == "paytm")
    3637            {               
     
    265266           
    266267           
    267                         require_once 'function.php';               
     268            require_once 'function.php';               
    268269            $txnDate=date('Y-m-d');         
    269                         $milliseconds = (int) (1000 * (strtotime(date('Y-m-d'))));
     270            $milliseconds = (int) (1000 * (strtotime(date('Y-m-d'))));
    270271           
    271272            $amount = $order->InitialPayment;
  • pmpro-paytm-gateway/trunk/classes/function.php

    r1900903 r2002802  
    158158function pmproPaytm_getTxnStatus($requestParamList)
    159159{
    160     return get_paytm_response_url(PAYTM_STATUS_QUERY_URL, $requestParamList);
     160    return pmproPaytm_get_paytm_response_url(PAYTM_STATUS_QUERY_URL, $requestParamList);
    161161}
    162162
     
    165165    $CHECKSUM                     = pmproPaytm_getChecksumFromArray($requestParamList, PAYTM_MERCHANT_KEY, 0);
    166166    $requestParamList["CHECKSUM"] = $CHECKSUM;
    167     return get_paytm_response_url(PAYTM_REFUND_URL, $requestParamList);
    168 }
    169 
    170 function get_paytm_response_url($apiURL, $requestParamList)
     167    return pmproPaytm_get_paytm_response_url(PAYTM_REFUND_URL, $requestParamList);
     168}
     169
     170function pmproPaytm_get_paytm_response_url($apiURL, $requestParamList)
    171171{
    172172    $jsonResponse      = "";
  • pmpro-paytm-gateway/trunk/pmpro-paytm-gateway.php

    r1939239 r2002802  
    33Plugin Name: Pmpro Paytm Gateway
    44Description: Pmpro Paytm Gateway
    5 Version: 1.1
     5Version: 1.2
    66Author: FTI Technologies
    77Author URI: https://www.freelancetoindia.com/
  • pmpro-paytm-gateway/trunk/readme.txt

    r1939236 r2002802  
    44Requires at least: 4.9
    55Tested up to: 4.9.1
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838Update Latest Paytm API.
    3939
     40= 1.2 =
     41Bug Solve
     42
    4043
    4144
Note: See TracChangeset for help on using the changeset viewer.