Plugin Directory

Changeset 2012439


Ignore:
Timestamp:
01/15/2019 01:08:32 AM (7 years ago)
Author:
kunlexzy
Message:

Version 1.4.0

Location:
woo-voguepay/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • woo-voguepay/trunk/README.txt

    r1992199 r2012439  
    33Tags: woocommerce, payment gateway,online payment, voguepay, mastercard,payment plugin, visa,kunlexzy, nigeria
    44Requires at least: 4.4
    5 Tested up to: 5.0
    6 Stable tag: 1.3.0
     5Tested up to: 5.0.3
     6Stable tag: 1.4.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3737* Inline payment custom message
    3838* Sending customer billing information during payment
    39  
     39* Setup extra charge as a fixed price or a percentage
     40 
    4041 
    4142== Installation ==
     
    5354
    5455= Manual Installation =
    55 1. Download the plugin zip file.
     561. Download the plugin zip file
    56572. Create a folder "woo-voguepay" in wp-content/plugins and extract all contents from the zip into it *or* upload the zip via the plugin section on the admin page.
    57583. Click installed plugins in plugin tab
     
    6061
    6162== Changelog ==
     63= 1.4.0 =
     64* Extra charge option added
     65* Reolved "message" conflict
    6266= 1.3.0 =
    6367* Payment memo descprition option
  • woo-voguepay/trunk/includes/class.voguepay.php

    r1986710 r2012439  
    5050        }
    5151
     52 //      if($this->extra_charges_class===null) $this->extra_charges_class=new VPWOO_Voguepay_Plugin_Extra_Charges();
     53
    5254        //Hooks
    5355        add_action( 'wp_enqueue_scripts', array( $this, 'payment_scripts' ) );
     
    7880                'title'         => 'VoguePay Merchant ID',
    7981                'type'          => 'text',
    80                 'description'   => 'Enter Your VoguePay Merchant ID, this can be gotten on your account page when you login on VoguePay' ,
     82                'description'   => 'Enter Your VoguePay Merchant ID Eg. 0123-093384' ,
    8183                'default'       => '',
    8284                'desc_tip'      => true
     
    363365        $order_id = method_exists( $order, 'get_id' ) ? $order->get_id() : $order->id;
    364366        $voguepay_args = array(
    365             'v_merchant_id'         => ($this->demo)?'demo':$this->merchant_id,
     367            'v_merchant_id'         => ($this->demo)?'demo':trim($this->merchant_id),
    366368            'cur'                   => get_woocommerce_currency(),
    367369            'memo'                  => "Payment for Order ID:: $order_id".$memo,
  • woo-voguepay/trunk/woo-voguepay.php

    r1987190 r2012439  
    11<?php
    22/**
    3  * Plugin Name 
     3 * Plugin Name
    44 *
    55 * @package     WooVoguepay
     
    1010 * Plugin URI:  https://wordpress.org/plugins/woo-voguepay/
    1111 * Description: VoguePay plugin for WooCommerce.
    12  * Version:     1.3.0
     12 * Version:     1.4.0
    1313 * Author:      kunlexzy
    1414 * Author URI:  https://voguepay.com/3445-0056682
     
    2222
    2323define( 'VPWOO_VOGUEPAY_BASE', __FILE__ );
    24 define( 'VPWOO_VOGUEPAY_VERSION', '1.3.0' );
     24define( 'VPWOO_VOGUEPAY_VERSION', '1.4.0' );
    2525
    2626function vpwoo_voguepay_init()
     
    2929 
    3030    require_once dirname( __FILE__ ) . '/includes/class.voguepay.php';
     31    require_once dirname( __FILE__ ) . '/includes/class.extracharge.php';
     32
    3133
    3234}
     
    5860
    5961
    60 function message() {
     62function vpwoo_message() {
    6163
    6264    if( get_query_var( 'order-received' ) ){
     
    8587
    8688}
    87 add_action( 'wp', 'message' );
     89add_action( 'wp', 'vpwoo_message' );
    8890
    8991/**
Note: See TracChangeset for help on using the changeset viewer.