Changeset 2276206
- Timestamp:
- 04/05/2020 04:52:08 AM (6 years ago)
- Location:
- pmpro-nganluong-gateway/trunk
- Files:
-
- 2 edited
-
classes/class.pmprogateway_nganluong.php (modified) (5 diffs)
-
pmpro-nganluong-gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pmpro-nganluong-gateway/trunk/classes/class.pmprogateway_nganluong.php
r2275949 r2276206 21 21 static function init() 22 22 { 23 //make sure PayPal Website Payments Prois a gateway option23 //make sure Nganluong is a gateway option 24 24 add_filter('pmpro_gateways', array('PMProGateway_nganluong', 'pmpro_gateways')); 25 25 … … 27 27 add_filter('pmpro_payment_options', array('PMProGateway_nganluong', 'pmpro_payment_options')); 28 28 29 /*30 This code is the same for PayPal Website Payments Pro, PayPal Express, and PayPal Standard31 So we only load it if we haven't already.32 */33 29 global $pmpro_payment_option_fields_for_nganluong; 34 30 if(empty($pmpro_payment_option_fields_for_nganluong)) … … 186 182 <span id="pmpro_submit_span"> 187 183 <input type="hidden" name="submit-checkout" value="1" /> 188 <input type="submit" class="pmpro_btn pmpro_btn-submit-checkout" value="<?php if($pmpro_requirebilling) { _e('Thanh toan Nganluong', 'paid-memberships-pro' ); } else { _e('Submit and Confirm', 'paid-memberships-pro' );}?> »" />184 <input type="submit" class="pmpro_btn pmpro_btn-submit-checkout" value="<?php { _e('Thanh toán qua Ngân lượng', 'paid-memberships-pro' ); } ?> »" /> 189 185 </span> 190 186 <?php … … 195 191 196 192 /** 197 * Instead of change membership levels, send users to PayPalto pay.193 * Instead of change membership levels, send users to Nganluong.vn to pay. 198 194 * 199 195 * @param int $user_id … … 291 287 $url = apply_filters("pmpro_nganluong_url", $url, $order); 292 288 293 //Build complete URI for paypalredirect289 //Build complete URI for nganluong redirect 294 290 $nganluong_url = "{$nganluong_url}?{$url}"; 295 291 -
pmpro-nganluong-gateway/trunk/pmpro-nganluong-gateway.php
r2275949 r2276206 6 6 Version: 1.0.0 7 7 Author: Huynh Nguyen Thuan 8 Author URI: https:// thuan.org8 Author URI: https://doctorplus.club 9 9 */ 10 10
Note: See TracChangeset
for help on using the changeset viewer.