Changeset 2002802
- Timestamp:
- 12/28/2018 10:57:17 AM (7 years ago)
- Location:
- pmpro-paytm-gateway/trunk
- Files:
-
- 4 edited
-
classes/class.pmprogateway_paytm.php (modified) (2 diffs)
-
classes/function.php (modified) (2 diffs)
-
pmpro-paytm-gateway.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pmpro-paytm-gateway/trunk/classes/class.pmprogateway_paytm.php
r1939236 r2002802 29 29 add_filter('pmpro_payment_option_fields', array('PMProGateway_paytm', 'pmpro_payment_option_fields'), 10, 2); 30 30 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')); 32 32 add_action('wp_ajax_pmpro_capture_paytm_response', array('PMProGateway_paytm', 'pmpro_capture_paytm_response')); 33 33 34 34 $gateway = pmpro_getGateway(); 35 35 36 if($gateway == "paytm") 36 37 { … … 265 266 266 267 267 require_once 'function.php';268 require_once 'function.php'; 268 269 $txnDate=date('Y-m-d'); 269 $milliseconds = (int) (1000 * (strtotime(date('Y-m-d'))));270 $milliseconds = (int) (1000 * (strtotime(date('Y-m-d')))); 270 271 271 272 $amount = $order->InitialPayment; -
pmpro-paytm-gateway/trunk/classes/function.php
r1900903 r2002802 158 158 function pmproPaytm_getTxnStatus($requestParamList) 159 159 { 160 return get_paytm_response_url(PAYTM_STATUS_QUERY_URL, $requestParamList);160 return pmproPaytm_get_paytm_response_url(PAYTM_STATUS_QUERY_URL, $requestParamList); 161 161 } 162 162 … … 165 165 $CHECKSUM = pmproPaytm_getChecksumFromArray($requestParamList, PAYTM_MERCHANT_KEY, 0); 166 166 $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 170 function pmproPaytm_get_paytm_response_url($apiURL, $requestParamList) 171 171 { 172 172 $jsonResponse = ""; -
pmpro-paytm-gateway/trunk/pmpro-paytm-gateway.php
r1939239 r2002802 3 3 Plugin Name: Pmpro Paytm Gateway 4 4 Description: Pmpro Paytm Gateway 5 Version: 1. 15 Version: 1.2 6 6 Author: FTI Technologies 7 7 Author URI: https://www.freelancetoindia.com/ -
pmpro-paytm-gateway/trunk/readme.txt
r1939236 r2002802 4 4 Requires at least: 4.9 5 5 Tested up to: 4.9.1 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 38 38 Update Latest Paytm API. 39 39 40 = 1.2 = 41 Bug Solve 42 40 43 41 44
Note: See TracChangeset
for help on using the changeset viewer.