Plugin Directory

Changeset 848065


Ignore:
Timestamp:
01/30/2014 04:32:32 AM (12 years ago)
Author:
presspay
Message:

Preparing for 1.8 Release

Location:
press-pay/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • press-pay/trunk

    • Property svn:ignore set to
      README.md
      Thumbs.db
      .git
      .gitignore
  • press-pay/trunk/app/controller/admin.controller.php

    r825285 r848065  
    1 <?php class AdminController extends Controller {
     1<?php
     2require_once( STRIPE_BASE_DIR . '/app/controller/controller.php' );
     3/*****************************************************************************
     4 * Class AdminController                                                     *
     5 *****************************************************************************/
     6class AdminController extends Controller
     7{
    28  private $remote_response;
    39  private $response_info;
     
    713   * __construct()                                                           *
    814   * *************************************************************************/
    9   /*
    1015  public function __contruct()
    1116  {
    1217  }
    13    */
    1418 /****************************************************************************
    1519   * menu_setup()                                                            *
    1620   * *************************************************************************/
    17   public function menu_setup()
     21  public function menu_setup() 
    1822  {
    1923    DebugModel::debug('menu_setup()');
     
    2428                     array( $this, 'render_options_page' ) // $function
    2529                   );
    26     add_action(
    27       'admin_print_scripts-settings_page_stripe-settings',
    28       array( $this, 'add_javascript')
    29     );
     30    add_action('admin_print_scripts-settings_page_stripe-settings',
     31      array( $this, 'add_javascript'));
    3032  }
    3133  public function render_options_page() {
     
    4042   * the right thing with this information.                                  *
    4143   * *************************************************************************/
    42   /*
    4344  public function upgrade()
    4445  {
     
    7475    }
    7576  }
    76    */
    7777  /***************************************************************************
    7878   * copy_post_vars()                                                        *
     
    173173  }
    174174}
     175
    175176if (!defined( 'ADMIN_TEST' )) {
    176177  define( 'ADMIN_TEST', false );
    177 }?>
     178}
     179?>
  • press-pay/trunk/press-pay.php

    r825717 r848065  
    66 * Author: Andrew Dixon
    77 * Author URI: http://atomicbroadcast.net
    8  * Version: 1.7
     8 * Version: 1.6
    99 *****************************************************************************/
    1010/**********************************
     
    3434include( STRIPE_BASE_DIR . '/lib/Mixin.php' );
    3535include( STRIPE_BASE_DIR . '/app/model/debug.model.php' );
    36 require_once( STRIPE_BASE_DIR . '/app/model/press_pay_settings.php' );
    37 require_once( STRIPE_BASE_DIR . '/app/controller/controller.php' );
    38 require_once( STRIPE_BASE_DIR . '/app/controller/listener/press_pay_stripe_listener.php' );
    39 $listener = new PressPayStripeListener;
    40 require_once( STRIPE_BASE_DIR . '/app/controller/listener/press_pay_upgrade_listener.php' );
    41 $upgrade_listener = new PressPayUpgradeListener;
     36include( STRIPE_BASE_DIR . '/app/controller/listener/listener.c.php' );
    4237$listener = new PressPayListener;
    4338require_once( STRIPE_BASE_DIR . '/app/model/press_pay_settings.php' );
     
    5449  add_action( 'admin_init', array( $adminController, 'register_settings' ));
    5550  add_action( 'admin_menu', array( $adminController, 'menu_setup' ));
     51  add_action( 'admin_init', array( $adminController, 'upgrade' ));
    5652  add_action( 'show_user_profile', array( $adminController,
    5753    'add_stripe_customer_id_to_user' ));
  • press-pay/trunk/readme.txt

    r825716 r848065  
    55Requires at least: 3.0.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.7
     7Stable tag: 1.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Changelog ==
    4646
    47 = 1.7 =
    48 Created RESTful endpoints.
    4947= 1.6 =
    5048Upgraded to use Stripe Checkout Version 3.
Note: See TracChangeset for help on using the changeset viewer.