Changeset 1335673
- Timestamp:
- 01/25/2016 05:18:34 PM (10 years ago)
- Location:
- woocommerce-autocomplete-order/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
woocommerce-autocomplete-order.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-autocomplete-order/trunk/readme.txt
r1240797 r1335673 3 3 Tags: WooCommerce, order, complete, virtual, autocomplete 4 4 Donate link: http://cl.ly/2C2W181j1G2g 5 Tested up to: 4. 36 Stable tag: 1.1. 15 Tested up to: 4.4.1 6 Stable tag: 1.1.2 7 7 License: GNU General Public License v3.0 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html 9 9 10 Did you know that in WooCommerce virtual products still need a manual approval for the order to be completed? This plugin is the answer. 10 Would you buy twice from a website that does not give you instanctly access to the product you purchased? Why would you want that for your customer? Install this plugin TODAY! 11 11 12 12 == Description == 13 WooCommerce by design allows only orders for products marked as both "Virtual" and “Downloadable" to switch automatically to "Completed" upon instant payment. This plugin extends this feature adding three new, different scenarios: 14 * Virtual Paid Products Only: order for products marked as "Virtual" will be turned to "Completed" upon successful payment. 15 * All Paid Products: orders for any product are turned to "Completed" upon successful payment. 16 * All Products: each and every order will turn to "Completed" irrespective for the payment method and whether or not the payment was immediate. 13 WooCommerce by design instantly completes only orders containing "Downloadable" products upon payment. Products that are "only" virtual will have to wait for a manual approval from the shop manager. Installing this plugin you will have the opportunity to extend WooCommerce with a new option to automatically complete orders: 14 15 * Paid orders of virtual products only: orders containing "Virtual" products only will be turned to "Completed" upon successful payment. 16 * All paid orders of any product: orders of any product will be turned to "Completed" upon successful payment. 17 * All orders (!): each and every order will turn to "Completed" irrespective of the payment status. 17 18 18 Please be aware that the third mode allows the customer to access the product immediately regardless for whether or not he completed the payment.19 Please be aware that the third mode allows the customer to access the product immediately before the payment is completed. 19 20 20 21 == Installation == 21 22 1. Upload the plugin\'s folder to the `/wp-content/plugins/` directory or install it through the integrated plugin installer 22 23 1. Activate the plugin through the \'Plugins\' menu in WordPress 23 1. Flag as "Virtual" all the products you want to unlock upon successful payment without any further (manual) action from you in the dashboard 24 1. Navigate to WooCommerce > Settings > Extra Options in your Dashboard 25 1. Select the desired mode 24 26 25 27 == Frequently Asked Questions == 26 28 = The plugin is not working = 27 Please ensure that you picked the right mode from the list. 29 Please test the followings: 30 1. Navigate to WooCommerce > Settings > Extra Options and ensure that the mode under Autocomplete Oreders is not set to off. 31 1. Navigate to WooCommerce > Settings > Checkout > PayPal and ensure that your "PayPal Email" is the primary email of your [PayPal Account](https://www.paypal.com/myaccount/settings/). 32 1. Activate Payment Data Transfer from your [seller preferences](https://www.paypal.com/?cmd=_profile-website-payments&CALL_FORM_UPDATE=false) on PayPal and copy the identity token that will appear into WooCommerce > Settings > Checkout > PayPal > PayPal Identity Token. 28 33 29 = Uh-uh, still not working! = 30 If you are testing with PayPal, you must ensure that the [ICN](https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/) - Instant Payment notification - is working properly. One of the most common problems is using in WooCommerce an e-mail which is not the primary email used to register the PayPal account. 34 You can find more info on IPN [here](https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/). 31 35 32 36 = No dude, not working yet! = … … 39 43 4. Activate IPN notifications and insert the link as in the picture (using your own domain name) 40 44 5. Ensure that your main email is the same email you are using to receive payments 41 6. Browse WooCommerce > Settings > WooExtra Options45 6. Browse WooCommerce > Settings > Extra Options 42 46 7. Pick the mode that suits you best 43 47 44 48 == Changelog == 49 50 = 1.1.2 = 51 * Minor fixes 52 * Compatibility with WordPress 4.4 and WooCommerce 2.5. 45 53 46 54 = 1.1.1 = -
woocommerce-autocomplete-order/trunk/woocommerce-autocomplete-order.php
r1240685 r1335673 1 1 <?php 2 2 /** 3 Plugin Name: WooCommerce - Autocomplete Order 3 Plugin Name: WooCommerce - Autocomplete Orders 4 4 Plugin URI: 5 5 Description: Do you hate WooCommerce for obliging you to manually approve every order placed for non-downloadable goods? This plugin is the answer, since allows to automatically mark orders for **virtual** products as Completed after a successful payment (e.g. with PayPal or Credit Card). 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Mirko Grewing 8 8 Author URI: http://www.mirkogrewing.it 9 9 10 Copyright: ©2013 Mirko Grewing (email : mirko@grewing.co.uk)10 Copyright: � 2013 Mirko Grewing (email : mirko@grewing.co.uk) 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 68 68 */ 69 69 function woocommerce_settings_tabs_array( $settings_tabs ) { 70 $settings_tabs[$this->id] = __(' WooExtra Options','wooExtraOptions');70 $settings_tabs[$this->id] = __('Extra Options','wooExtraOptions'); 71 71 return $settings_tabs; 72 72 } … … 106 106 'name' => __('Mode', 'wooExtraOptions'), 107 107 'type' => 'select', 108 'desc' => __('Select the type of autocompletionyou want to activate.', 'wooExtraOptions'),108 'desc' => __('Select the modality you want to activate.', 'wooExtraOptions'), 109 109 'desc_tip' => true, 110 110 'default' => 'off', … … 112 112 'options' => array( 113 113 'off' => 'Off', 114 'virtual' => 'Paid virtual products',115 'paid' => 'All paid products',116 'all' => 'All products'114 'virtual' => 'Paid orders of virtual products only', 115 'paid' => 'All paid orders of any product', 116 'all' => 'All orders (!)' 117 117 ) 118 118 ), … … 213 213 ob_start(); 214 214 ?><div class="error"> 215 <p><strong><?php _e('WARNING', 'wooExtraOptions'); ?></strong>: <?php _e('WooCommerce is not active and WooCommerce Autocomplete Order will not work!', 'wooExtraOptions'); ?></p>215 <p><strong><?php _e('WARNING', 'wooExtraOptions'); ?></strong>: <?php _e('WooCommerce is not active and WooCommerce Autocomplete Orders will not work!', 'wooExtraOptions'); ?></p> 216 216 </div><?php 217 217 echo ob_get_clean();
Note: See TracChangeset
for help on using the changeset viewer.