Changeset 708776
- Timestamp:
- 05/06/2013 05:37:10 PM (13 years ago)
- Location:
- wp-e-commerce-free-checkout/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-e-commerce-free-checkout.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-e-commerce-free-checkout/trunk/readme.txt
r708767 r708776 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 Donate link: http://MyWebsiteAdvisor.com/donations/ 9 9 … … 115 115 == Changelog == 116 116 117 118 = 1.0.2 = 119 * fixed error messages 120 121 117 122 = 1.0.1 = 118 123 * fixed paypal issue 124 119 125 120 126 = 1.0 = -
wp-e-commerce-free-checkout/trunk/wp-e-commerce-free-checkout.php
r708767 r708776 4 4 * Plugin URI: http://mywebsiteadvisor.com/tools/wordpress-plugins/wp-e-commerce-free-checkout/ 5 5 * Description: Allows purchase of products when the total price is $0.00 for WordPress e-Commerce 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Author: MyWebsiteAdvisor 8 8 * Author URI: http://MyWebsiteAdvisor.com/ … … 26 26 27 27 //hook onto wpsc_submit_checkout 28 add_action ('wpsc_submit_checkout', array(&$this, 'wp_ec_free_checkout') , 10, 2);28 add_action ('wpsc_submit_checkout', array(&$this, 'wp_ec_free_checkout')); 29 29 30 30 … … 77 77 // use test gateway to mark as payment accepnted 78 78 79 function wp_ec_free_checkout($purchase_info , $customer_id) {79 function wp_ec_free_checkout($purchase_info) { 80 80 81 81 global $wpdb, $wpsc_cart, $wpsc_shipping_modules; 82 82 83 83 $purchase_log_id = $purchase_info['purchase_log_id']; 84 $customer_id = $purchase_info['our_user_id']; 84 85 85 86 $query = "SELECT * FROM ".WPSC_TABLE_PURCHASE_LOGS." WHERE id = ".$purchase_log_id." LIMIT 1";
Note: See TracChangeset
for help on using the changeset viewer.