Plugin Directory

Changeset 2276206


Ignore:
Timestamp:
04/05/2020 04:52:08 AM (6 years ago)
Author:
churongcon
Message:

some bug Fixed

Location:
pmpro-nganluong-gateway/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pmpro-nganluong-gateway/trunk/classes/class.pmprogateway_nganluong.php

    r2275949 r2276206  
    2121        static function init()
    2222        {
    23             //make sure PayPal Website Payments Pro is a gateway option
     23            //make sure Nganluong is a gateway option
    2424            add_filter('pmpro_gateways', array('PMProGateway_nganluong', 'pmpro_gateways'));
    2525
     
    2727            add_filter('pmpro_payment_options', array('PMProGateway_nganluong', 'pmpro_payment_options'));
    2828
    29             /*
    30                 This code is the same for PayPal Website Payments Pro, PayPal Express, and PayPal Standard
    31                 So we only load it if we haven't already.
    32             */
    3329            global $pmpro_payment_option_fields_for_nganluong;
    3430            if(empty($pmpro_payment_option_fields_for_nganluong))
     
    186182            <span id="pmpro_submit_span">
    187183                <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' );}?> &raquo;" />   
     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' ); } ?> &raquo;" />
    189185            </span>
    190186            <?php
     
    195191
    196192        /**
    197          * Instead of change membership levels, send users to PayPal to pay.
     193         * Instead of change membership levels, send users to Nganluong.vn to pay.
    198194         *
    199195         * @param int           $user_id
     
    291287            $url = apply_filters("pmpro_nganluong_url", $url, $order);
    292288
    293             //Build complete URI for paypal redirect
     289            //Build complete URI for nganluong redirect
    294290            $nganluong_url = "{$nganluong_url}?{$url}";
    295291
  • pmpro-nganluong-gateway/trunk/pmpro-nganluong-gateway.php

    r2275949 r2276206  
    66Version: 1.0.0
    77Author: Huynh Nguyen Thuan
    8 Author URI: https://thuan.org
     8Author URI: https://doctorplus.club
    99*/
    1010
Note: See TracChangeset for help on using the changeset viewer.