Commit Graph

136 Commits

Author SHA1 Message Date
Mike Jolley 7685587b22 payment_method 2016-08-05 16:04:41 +01:00
Mike Jolley 8d3b4bc5a4 payment_method_title 2016-08-05 15:59:55 +01:00
Mike Jolley 84c52370fa more getters 2016-08-05 15:57:40 +01:00
Mike Jolley 39b4831e95 get_id 2016-08-05 15:56:23 +01:00
Mike Jolley d2adabaf89 Redirect to login after password reset.
Closes #11376
2016-07-27 12:47:41 +01:00
Mike Jolley c8cce05c4d Use a cookie and redirect instead of query string 2016-06-24 15:06:01 +01:00
Mike Jolley 9f5dfe782d Calc totals before checking cart items so coupon messages are output
Fixes #11177 @claudiosmweb
2016-06-18 20:16:12 +01:00
Mike Jolley a0d14d0baf [fix] Handle notices without outputting outside of template files
Fixes #11112
2016-06-14 11:33:28 +01:00
Mike Jolley 06a4af5aa0 Empty cart on thanks page 2016-06-09 10:38:57 +01:00
Mike Jolley 3fd15ad50f Unused vars and code docs 2016-06-06 18:57:24 +01:00
Mike Jolley 828fdcc193 Deprecated notice 2016-06-06 13:54:17 +01:00
Mike Jolley 02d5991b2a bw compat handling 2016-06-06 12:55:07 +01:00
Mike Jolley eb73855066 Don't handle content switch in account shortcode 2016-06-06 12:04:42 +01:00
Antonino Scarfì f5603bb762 Avoid leave query string on URL after delete and set default actions for token, from Payment Methods endpoint. Also, change hook position on set default action for token. 2016-05-26 15:50:22 +02:00
Mike Jolley d6a085b5ae Improve lost password flow
@claudiosmweb Fixes #10785

Add confirmation and explanation after initial reset.

Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Justin Shreve 31bae0c19e Hook up the tokenization API to the "add payment method" button in my account settings. 2016-03-01 11:49:41 -08:00
Justin Shreve 9db1f65196 Hook up the payment token API to the my account > payment methods tab 2016-03-01 11:49:41 -08:00
Justin Shreve 5d8967c7d7 Prepare a list of payment methods for output on the payment methods "my account" page. 2016-03-01 11:49:40 -08:00
Mike Jolley fdddbff229 Fix my account endpoint with plain permalinks
@claudiosmweb Fixes #10390
2016-02-19 17:14:26 +00:00
Claudio Sanches 36c0b6047a Less "my" and more "ours" 2016-02-16 13:50:06 -02:00
Claudio Sanches e9b5653f0b Created new filter for endpoint title and improved woocommerce_my_account_*_endpoint filter 2016-02-16 13:50:06 -02:00
Claudio Sanches 02e3c6362d Created my account > orders template 2016-02-16 13:50:06 -02:00
Claudio Sanches 6e319dfe8d Allow custom endpoints for my account 2016-02-16 13:47:04 -02:00
Mike Jolley 5f9786fe8c Merge pull request #10354 from Ninos/checkout-notices
Fixed: Notice in checkout (order received) - undefined variable $order
2016-02-16 12:25:22 +00:00
Ninos Ego f7d61a7aa1 Fixed: Notice in checkout (order received) with no existing order id -> undefined variable order 2016-02-15 16:11:04 +01:00
Mike Jolley 64dfcdbea4 [2.5] Remove obsolete notice and add styles for add payment page 2016-01-28 11:58:09 +00:00
Mike Jolley 0049415797 [2.5] get_currentuserinfo() is deprecated in WP 4.5 2016-01-18 14:42:01 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley 277dbeb029 Merge branch 'WPprodigy-patch-2' 2015-10-06 12:33:55 +01:00
Mike Jolley 5ec400e514 Validate terms and conditions and improve templates 2015-10-06 12:33:45 +01:00
Florian Ludwig 5cffd789a4 Removed unused variable 2015-09-08 00:08:40 +02:00
Florian Ludwig 9966f6b0a4 Fixed issue where space before or after mail led to "Invalid e-mail" error 2015-09-08 00:08:32 +02:00
Kevin Hagerty e4b092fe10 Use the needs_payment function
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:06:57 -04:00
Claudio Sanches a9a6009b66 Check if order is valid in checkout shortcode, closes #8829 2015-08-15 17:50:42 -03:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Ben Bidner 32e37b57d0 fixes too many arguments in function or method call: WC_Shortcode_My_Account::add_payment_method($wp->query_vars['add-payment-method']) 2015-06-01 12:52:10 +01:00
Nikki DelRosso 940c2369b0 Added method to check if cart is empty 2015-05-14 14:18:53 -07:00
Ninos Ego 4bdaff52cb Remove unnecessary global variable
`$post` is not needed there.
2015-04-27 18:41:15 +02:00
Mike Jolley e307786f5e Merge pull request #7438 from paulwilde/upstream
Introduce wc_get_page_permalink
2015-02-16 11:13:02 +00:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Dean Taylor 1b38e46fd5 Fix deprecated notice for WP_User->id usage
Fix E_USER_NOTICE WP_User->id was called with an argument that is deprecated since version 2.1! Use WP_User->ID instead
2015-02-15 19:02:27 +00:00
Bryce d36af4b721 Fix notice when invalid order id / email used
We also need to check if the $order object exists. Closes #7302
2015-02-05 13:03:13 +07:00
Mike Jolley ee8b3f22c3 Return WP_USER from check_password_reset_key
Closes #7134
2015-01-19 10:53:33 +00:00
Mike Jolley d663a7a72e If using multisite, check user resetting password belongs to the current site
Closes #6725
2015-01-06 14:08:43 +00:00
Claudio Sanches 481aee3969 Fixed dead variable in my account shortcode class 2014-12-16 10:10:25 -02:00
Mike Jolley 18ebded7c5 Make check_cart_items consistantly placed
Closes #6708
2014-11-12 15:47:27 +00:00
Gregory Karpinsky 1f7eb3e595 Update class-wc-shortcode-my-account.php
Return if no data submitted. Otherwise, two PHP notices are issued on checking `! $user_data` and two `wc_add_notice` printed.
2014-11-06 23:08:48 -05:00
Mike Jolley 2b8be95360 Remove # (hash) from get_order_number and add to strings instead as needed.
Most places use Order #X
Some places use Order Number: X

Both are now valid.

Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley b09f1062da Merge pull request #6579 from woothemes/hotfix-unqiue-nonce-edit-details
[2.2] Make edit account details nonce unique to customer.
2014-10-21 13:17:36 +01:00