Commit Graph

43 Commits

Author SHA1 Message Date
Mike Jolley 63fe4a0c05 Correct docbloc Closes #8814 2015-08-13 18:05:55 +01:00
George Stephanis c938fa24da More missing esc_attr calls, :( 2015-08-05 15:17:52 -04:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Víctor Falcón 226d940e72 Add order to woocommerce_get_return_url filter 2015-04-28 14:48:39 +02:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
claudiosmweb b4e544e5dc Fixed coding styles and docblocks 2014-11-20 00:14:06 -02:00
claudiosmweb d4c480a6ea Fixed process_refund() docblock 2014-11-19 21:14:28 -02:00
Mike Jolley 80716fbd46 Corrected get_return_url docblock 2014-10-07 11:09:38 +01:00
shivapoudel 303a5b28d0 Absolute path fix for abstract classes :) 2014-09-21 00:24:49 +05:45
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Tamara Zuk 9c7826319c Coding Standards: Abstract classes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:49:58 -04:00
justinstern 8417209d6c Improve, fix, WC_Payment_Gateway::get_transaction_url()
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
Mikel Martin 1ed0a9e9db Payment unavailable if max_amount greater than 0 and order totar greater than max_amount 2014-08-17 22:10:35 +02:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Mike Jolley da483198f8 Simplify icons 2014-08-15 11:50:53 +01:00
claudiosmweb acb0699e94 updated the reason default value 2014-08-11 10:07:09 -03:00
claudiosmweb 066ba904cb added $reason param in WC_Payment_Gateway::process_refund() 2014-08-07 15:57:29 -03:00
Mike Jolley 664dad3766 Process_refund()
#3164
2014-07-07 11:43:27 +01:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley cc1d1e2237 Included method to define a link format for a transaction ID, set transaction ID manually, and tweaked display. 2014-06-27 13:12:10 +01:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
justinstern 88e82c5640 Check for Existence of Cart Before Using
check for the existence of the cart during the is_available() check
before getting the order total (which otherwise will result in a PHP
notice from the admin, etc)
2014-05-23 22:12:15 -04:00
claudiosmweb fe467282cd improved the get_order_total() method 2014-04-24 15:49:41 -03:00
claudiosmweb 4ac0b28537 updated the method to get the order id from "pay for order" page 2014-04-24 14:52:17 -03:00
claudiosmweb 47d14e9df3 updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237 2014-04-24 14:39:20 -03:00
claudiosmweb 7ba14b4bd7 becomes possible to translate the credit card form placeholders 2014-03-23 19:51:27 -03:00
Gerhard 435257bc95 Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter 2014-02-06 15:00:00 +02:00
Mike Jolley 39344f2ed5 Allow gateways to change the checkout place order button text on selection. Closes #4573 2014-01-28 11:25:57 +00:00
Mike Jolley 3bd2d0d456 Credit card form actions - start and end 2013-12-14 12:03:32 +00:00
Coen Jacobs 3e6acf7aab Code changes for #4252 2013-12-02 12:34:27 +01:00
Gregory K 7b38c7300b Inconsistent return types: mostly TODOs, some fixes 2013-11-29 13:50:31 -05:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Andrew Benbow 0f29761268 Bracing 2013-11-25 09:02:51 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Coen Jacobs b9b9f3a49e Fixed docs for enabled params (string, not bool), closes #4052 2013-11-04 11:29:20 +01:00
Andrew Benbow e4d18d6f57 Update abstract-wc-payment-gateway.php
Update icon alt to use title filter
2013-10-11 10:17:23 +01:00
Mike Jolley 72c00a601a Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616 2013-09-27 13:22:08 +01:00
Mike Jolley 807534095e Introduce WC_HTTPS Helper to handle redirects and make checkout urls https before visiting them. Fixes #3311 2013-09-03 13:03:05 +01:00
Juan Jose Gonzalez Alanis 1339426164 Fixed "Strict Standards" warning on the process_payment() declaration of the WP_Payment_Gateway class. 2013-07-24 13:24:52 +02:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00