Changeset 1456193
- Timestamp:
- 07/18/2016 05:42:14 AM (10 years ago)
- Location:
- camptix-kdcpay-gateway/trunk
- Files:
-
- 3 edited
-
camptix-kdcpay.php (modified) (1 diff)
-
classes/class-camptix-payment-method-kdcpay.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
camptix-kdcpay-gateway/trunk/camptix-kdcpay.php
r1329794 r1456193 6 6 * Author: _KDC-Labs 7 7 * Author URI: http://www.kdclabs.com/ 8 * Version: 1. 2.38 * Version: 1.3.0 9 9 * License: GPLv2 or later 10 10 * Text Doomain: kdcpay -
camptix-kdcpay-gateway/trunk/classes/class-camptix-payment-method-kdcpay.php
r1329794 r1456193 31 31 function camptix_init() { 32 32 $this->options = array_merge( array( 33 'payment_url' => 'https://kdcpay.in/secure/transact.php', 33 34 'merchant_id' => '', 34 35 'merchant_key' => '', … … 44 45 */ 45 46 function payment_settings_fields() { 47 $this->add_settings_field_helper( 'payment_url', 'Payment URL', array( $this, 'field_text' ) ); 46 48 $this->add_settings_field_helper( 'merchant_id', 'Merchant ID', array( $this, 'field_text' ) ); 47 49 $this->add_settings_field_helper( 'merchant_key', 'Merchant Key', array( $this, 'field_text' ) ); … … 57 59 $output = $this->options; 58 60 61 if ( isset( $input['payment_url'] ) ) 62 $output['payment_url'] = $input['payment_url']; 59 63 if ( isset( $input['merchant_id'] ) ) 60 64 $output['merchant_id'] = $input['merchant_id']; … … 180 184 ), $this->get_tickets_url() ); 181 185 186 $payment_url = $this->options['payment_url']; 182 187 $merchant_id = $this->options['merchant_id']; 183 188 $secret_key = $this->options['merchant_key']; … … 261 266 } 262 267 echo '<div id="tix"> 263 <form action=" https://kdcpay.in/secure/transact.php" method="post" id="kdcpay_payment_form">268 <form action="'.$payment_url.'" method="post" id="kdcpay_payment_form"> 264 269 ' . implode( '', $kdcpay_args_array ) . ' 265 270 <input type="submit" value="Continue to KDCpay" /> -
camptix-kdcpay-gateway/trunk/readme.txt
r1329794 r1456193 4 4 Tags: camptix, kdcpay 5 5 Requires at least: 3.5 6 Tested up to: 4. 4.17 Stable tag: 1. 2.36 Tested up to: 4.5.3 7 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 25 25 == Changelog == 26 27 = 1.3.0 = 28 * Added: Payment URL 26 29 27 30 = 1.2.3 =
Note: See TracChangeset
for help on using the changeset viewer.