Changeset 848065
- Timestamp:
- 01/30/2014 04:32:32 AM (12 years ago)
- Location:
- press-pay/trunk
- Files:
-
- 2 added
- 4 edited
-
. (modified) (1 prop)
-
app/controller/admin.controller.php (modified) (6 diffs)
-
app/controller/listener/listener.c.php (added)
-
app/controller/press_pay_upgrade_controller.php (added)
-
press-pay.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
press-pay/trunk
-
Property
svn:ignore
set to
README.md
Thumbs.db
.git
.gitignore
-
Property
svn:ignore
set to
-
press-pay/trunk/app/controller/admin.controller.php
r825285 r848065 1 <?php class AdminController extends Controller { 1 <?php 2 require_once( STRIPE_BASE_DIR . '/app/controller/controller.php' ); 3 /***************************************************************************** 4 * Class AdminController * 5 *****************************************************************************/ 6 class AdminController extends Controller 7 { 2 8 private $remote_response; 3 9 private $response_info; … … 7 13 * __construct() * 8 14 * *************************************************************************/ 9 /*10 15 public function __contruct() 11 16 { 12 17 } 13 */14 18 /**************************************************************************** 15 19 * menu_setup() * 16 20 * *************************************************************************/ 17 public function menu_setup() 21 public function menu_setup() 18 22 { 19 23 DebugModel::debug('menu_setup()'); … … 24 28 array( $this, 'render_options_page' ) // $function 25 29 ); 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')); 30 32 } 31 33 public function render_options_page() { … … 40 42 * the right thing with this information. * 41 43 * *************************************************************************/ 42 /*43 44 public function upgrade() 44 45 { … … 74 75 } 75 76 } 76 */77 77 /*************************************************************************** 78 78 * copy_post_vars() * … … 173 173 } 174 174 } 175 175 176 if (!defined( 'ADMIN_TEST' )) { 176 177 define( 'ADMIN_TEST', false ); 177 }?> 178 } 179 ?> -
press-pay/trunk/press-pay.php
r825717 r848065 6 6 * Author: Andrew Dixon 7 7 * Author URI: http://atomicbroadcast.net 8 * Version: 1. 78 * Version: 1.6 9 9 *****************************************************************************/ 10 10 /********************************** … … 34 34 include( STRIPE_BASE_DIR . '/lib/Mixin.php' ); 35 35 include( 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; 36 include( STRIPE_BASE_DIR . '/app/controller/listener/listener.c.php' ); 42 37 $listener = new PressPayListener; 43 38 require_once( STRIPE_BASE_DIR . '/app/model/press_pay_settings.php' ); … … 54 49 add_action( 'admin_init', array( $adminController, 'register_settings' )); 55 50 add_action( 'admin_menu', array( $adminController, 'menu_setup' )); 51 add_action( 'admin_init', array( $adminController, 'upgrade' )); 56 52 add_action( 'show_user_profile', array( $adminController, 57 53 'add_stripe_customer_id_to_user' )); -
press-pay/trunk/readme.txt
r825716 r848065 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5.1 7 Stable tag: 1. 77 Stable tag: 1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 = 1.7 =48 Created RESTful endpoints.49 47 = 1.6 = 50 48 Upgraded to use Stripe Checkout Version 3.
Note: See TracChangeset
for help on using the changeset viewer.