Mike Jolley
59a4f3b0d9
Remove sandbox status forcing in PayPal gateway
...
Closes #15899
@californiakat Should we add
https://stackoverflow.com/questions/4298117/paypal-ipn-always-return-pay
ment-status-pending-on-sandbox to the docs when 3.2 launches?
2017-07-03 10:46:32 +01:00
Mike Jolley
bf6c39fbf2
Use wc_float_to_string on item prices sent to paypal
...
Fixes #15872
2017-06-30 10:28:21 +01:00
Mike Jolley
a1940f2da3
Grunt dev
2017-06-19 12:49:34 +01:00
Mike Jolley
b8eafe985e
Set defaults to avoid error if too few args passed
2017-06-15 15:43:32 +01:00
Mike Jolley
55e9add8e5
More strict COD method matching
...
Fixes #15606
2017-06-14 12:17:28 +01:00
Mike Jolley
ba2bf67bb9
Use hash_equals where needed
2017-06-13 13:54:02 +01:00
Boro Sitnikovski
8a615a6e79
Update conditional for non-auth payments
2017-06-05 14:07:49 +02:00
Boro Sitnikovski
4b82a750fc
Fix IPN authorization setting orders to completed automatically
2017-06-05 10:07:22 +02:00
Mike Jolley
20637e53b8
For COD orders, force payment complete status to be completed.
2017-05-24 18:48:34 +01:00
Mike Jolley
c16acc6b51
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
2017-05-23 19:00:24 +01:00
Mike Jolley
d3666738d8
Merge branch 'pr/15069'
2017-05-23 18:56:58 +01:00
Mike Jolley
00e5189a05
Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
...
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Rasmus Bengtsson
4f00d7e5e3
PHPDoc: Add missing return statement
2017-05-15 13:37:59 +02:00
Mike Jolley
bc4d36fd3f
Add abspath checks
...
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley
891e55e1cf
Merge pull request #14721 from woocommerce/fix/14670
...
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley
801f5e1eb1
Avoid escaped quote chars in strings
...
Closes #14670
2017-04-26 13:51:53 +01:00
Mike Jolley
bcd39e9a79
Pass id not object to wc_reduce_stock_levels
2017-04-10 21:55:17 +01:00
Mike Jolley
8fa73602eb
Correct calls to wc_reduce_stock_levels in PayPal and Simplify gateways
...
Fixes #14186
2017-04-10 11:56:52 +01:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
Mike Jolley
129293ab6f
Remove array filter
...
No args should be null/not set since all args defined by WC have values.
Closes #13786
2017-03-28 11:49:27 +01:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Mike Jolley
3df175fbc5
Hide bacs if empty
2017-02-28 12:46:31 +00:00
Claudio Sanches
61b39c206f
Removed default instructions, closes #12853
2017-01-17 16:11:49 -02:00
Jon Surrell
e4d5886427
Replace log `tag` with log `source`
2016-12-29 11:58:43 +01:00
Jon Surrell
03889f77cc
Update use of deprecated wc_get_log_file_path
2016-12-29 11:58:43 +01:00
Jon Surrell
aee5917440
Change wc_safe_dump to wc_print_r
...
Match print_r arguments, this makes usage obvious.
2016-12-29 11:58:43 +01:00
Jon Surrell
66b0620f7c
remove print_r calls from paypal handler
2016-12-29 11:58:42 +01:00
Jon Surrell
96f9de2106
update paypal gateway logs
2016-12-29 11:58:42 +01:00
Jon Surrell
36201d38ec
Update paypal gateway log method
2016-12-29 11:58:42 +01:00
Mike Jolley
56fef5b4f6
More styling settings tweaks
2016-12-21 11:36:48 +00:00
Mike Jolley
23c500986e
Limit lengths of PayPal Args
2016-12-20 10:58:10 +00:00
Mike Jolley
dcc47e395f
Add email for case #12603
...
Closes #12603
2016-12-15 15:21:53 +00:00
Mike Jolley
36f7c3c810
woocommerce_paypal_line_item filter
...
Closes #12554
2016-12-09 16:59:29 +00:00
Mike Jolley
edfc54dff5
Add image_url setting to PayPal Standard.
2016-12-08 12:28:05 +00:00
Mike Jolley
b620a8c8fb
Move paypal CMD to end of post vars.
2016-11-25 11:41:49 +00:00
Claudio Sanches
10f10d1644
[2.6] Ensure that PayPal always receive float amounts, closes #12291 ( #12293 )
2016-11-10 10:18:35 +00:00
Rami Yushuvaev
9469673c05
a11y: remove unneeded `title` attributes
2016-11-04 17:40:15 +02:00
Claudio Sanches
2de494e105
Merge pull request #12219 from ramiy/i18n-translation-comments
...
i18n: add translators comments
2016-11-03 13:24:35 -02:00
Mike Jolley
32e814eef1
Use all paid statuses in $customer->get_total_spent()
2016-11-03 11:27:03 +00:00
Rami Yushuvaev
8ab8bef52e
add translators comments
2016-10-29 13:51:56 +03:00
Claudio Sanches
fa0c710802
i18n <a> links, closes #12195
2016-10-27 15:36:24 -02:00
Rami Yushuvaev
140d0efb99
i18n: Avoid using HTML tags in translation strings ( #12166 )
...
* i18n: Remove some HTML tags from translation strings
* i18n: simpler translation string
* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string
* i18n: Avoide using `<code>' HTML tags in translation strings
* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Claudio Sanches
07ae13c51b
Fixed coding standards recommended by WPCS
2016-10-13 16:51:18 -03:00
Attila Donáth
2968850786
Setup general properties in a separate method #12085
...
It is easier to extend the gateway class like that.
2016-10-13 18:23:51 +02:00
Attila Donáth
14f563fe02
Eliminate hardcoded payment method IDs #12085
2016-10-13 18:23:41 +02:00
Mike Jolley
5304d6ef9d
Add filters and include meta in item names sent to paypal
...
Closes #12022
2016-10-13 15:18:01 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Claudio Sanches
a1e2c24c9c
Credit card input attribute like Stripe
2016-10-07 17:11:47 -03:00
Claudio Sanches
843efae178
Change cc number field from text to tel, closes #12037
2016-10-07 15:53:12 -03:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Mike Jolley
9cca27f21e
Take out admin check
...
@justinshreve I’m not sure why we had the admin check there, but I’ve
removed it because the setting of WP_ADMIN was breaking unrelated unit
tests. I think we should leave constants alone if possible and just
modify gateways.
2016-09-07 12:37:39 +01:00
Aristeides Stathopoulos
2346c3b735
Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace
2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos
cc0b29ccf4
PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket
2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
8fe4cd65a4
PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket
2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos
f648657432
enabling more tests
2016-09-02 03:50:48 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
1c2a67554b
fix typo
2016-08-27 16:56:21 +03:00
Aristeides Stathopoulos
fb62d280b5
WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore
2016-08-27 09:07:42 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
72ee94d11b
WordPress.Arrays.ArrayDeclaration.SpaceBeforeComma
2016-08-27 05:46:40 +03:00
Aristeides Stathopoulos
58b9df6564
WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis
2016-08-27 05:23:54 +03:00
Aristeides Stathopoulos
32ddc22465
WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma
2016-08-27 05:14:16 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
95b11606fc
get_product_from_item -> get_product
2016-08-22 16:51:24 +01:00
Thi
43cd8c9578
Add PayPal Here as a valid transaction type
2016-08-20 18:19:49 +09:00
Mike Jolley
190cd0bf86
Remove direct access of item props in admin
2016-08-19 15:08:00 +01:00
Justin Shreve
1c333b4a18
Merge pull request #11667 from woothemes/issues/11664/fix-func_get_args-warning
...
Fix func_get_args warning thrown by php7cc.
2016-08-10 06:27:06 -07:00
Akeda Bagus
2fb71e6ec6
Fix func_get_args warning thrown by php7cc.
...
Although unlikely to happens, this is an attempt to prevent any modification
before func_get_args().
See https://github.com/php/php-src/blob/PHP-7.0/UPGRADING#L190-L213
Fixes #11664 .
2016-08-10 19:00:20 +07:00
Mike Jolley
f4a4f6c361
Reduce stock and other notices
2016-08-09 14:15:04 +01:00
Mike Jolley
39eb584321
Merge branch 'master' into orders-crud-function-update
2016-08-08 17:24:40 +01:00
Mike Jolley
6a493f7350
order total
2016-08-08 17:06:12 +01:00
Mike Jolley
31803f4e51
Billing/shipping
2016-08-08 16:46:58 +01:00
Mike Jolley
cfe28c9b25
Made WC_Logger pluggable via wc_get_logger function.
...
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley
007a767657
billing_phone
2016-08-05 16:09:04 +01:00
Mike Jolley
7685587b22
payment_method
2016-08-05 16:04:41 +01:00
Mike Jolley
693e5ece36
billing_company
2016-08-05 16:03:09 +01:00
Mike Jolley
1c18c2f44a
billing_first_name
2016-08-05 15:58:44 +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
9181c107a8
get_currency
2016-08-05 15:49:17 +01:00
Mike Jolley
806f70416d
Don't run IPN code if processing or completed.
...
Closes #11566
2016-08-01 12:02:49 +01:00
Mike Jolley
a5ed0e43fd
Adjustments from feedback
2016-08-01 11:51:27 +01:00
Mike Jolley
d45be39758
Capture and refund support
2016-07-27 16:55:42 +01:00
Mike Jolley
a816e8a92d
APIClass and hook basics
2016-07-27 13:48:10 +01:00
Mike Jolley
66c61eebc8
Define full path for includes
...
Closes #11087
2016-07-27 11:58:43 +01:00
Mike Jolley
fce7771d82
Fix - Shipping method title display in COD settings.
2016-07-20 10:49:27 +01:00
Mike Jolley
e5634c6946
Do not sanitize passwords
...
Closes #11473
@claudiosmweb
2016-07-19 16:43:15 +01:00
Claudio Sanches
09ac79e7e1
Minify files
2016-07-14 15:48:11 +02:00
Claudio Sanches
7b6bd21810
Updated PayPal credentials docs URL, closes #11406
2016-07-12 09:33:45 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Mike Jolley
6649500b79
Merge branch 'group-notices-11226'
...
# Conflicts:
# assets/js/frontend/checkout.min.js
2016-06-24 16:01:03 +01:00
Mike Jolley
5a564bac02
Code tidy
2016-06-24 12:39:13 +01:00
Mike Jolley
b9eb873229
minify
2016-06-24 12:28:50 +01:00
Andrew Benbow
7ef14d20ed
Update class-wc-payment-gateway-cc.php
...
Remove unnecessary "&& is_user_logged_in()"
2016-06-22 17:09:34 +01:00
Spreeuw
3ca95317fc
fix fatal error for non-existing products
...
Similar to #9363
2016-06-16 20:11:12 +02:00
Mike Jolley
1a50206e90
Fixed uncaught exception in simplify commerce
2016-06-16 14:34:58 +01:00
Mike Jolley
4bbd92d045
[2.6] PayPal does not allow free products, but paid shipping. Workaround by sending shipping as a line item if it is the only cost.
...
Fixes #11121
2016-06-14 22:57:56 +01:00
Mike Jolley
730019ef18
scrutinizer best practice
2016-06-06 19:39:23 +01:00
Mike Jolley
7a2e460206
COD: use on-hold if order contains download
...
Fixes #11015
2016-06-01 11:27:54 +01:00
Mike Jolley
9d3195991c
POT update
2016-05-27 15:43:42 +01:00
Mike Jolley
f35f4cc9d5
Fix selectors in simplify
2016-05-26 15:46:33 +01:00
Mike Jolley
b4deb703fb
Tweak conditional in CC class
2016-05-26 12:42:32 +01:00
Mike Jolley
3893d0ec19
Fixes tokenisation form when > 1 are used at once.
...
@claudiosmweb can you give this a check over since it was missed?
2016-05-24 17:52:32 +01:00
Claudio Sanches
a7b952838d
Remove dead variable
2016-05-17 17:37:10 -03:00
Rodrigo Primo
1e78f6eb07
Remove unused variable from WC_Payment_Gateway_CC::form()
2016-05-17 16:49:10 -03:00
Rodrigo Primo
086628fba2
Enqueue 'wc-credit-card-form' before displaying credit card form
...
The commit c0b7429
failed to keep the line that enqueued 'wc-credit-card-form' script when the method WC_Payment_Gateway::credit_card_form() was renamed to WC_Payment_Gateway_CC::form().
2016-05-17 16:42:18 -03:00
Claudio Sanches
d8614cd47e
Fixed cc and echeck placeholders
2016-05-17 16:24:11 -03:00
Mike Jolley
bc3b9a04b7
Do not add field names when tokenizing
2016-05-10 18:23:16 +01:00
Mike Jolley
0927cbee8d
Tweaks saved card markup and styling to improve CC form.
2016-05-10 15:43:39 +01:00
Mike Jolley
e53704431d
Don't use abstract
...
Fixes #10815
2016-04-29 15:28:09 +01:00
Mike Jolley
9aace06536
Cheques for 'murica
...
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley
f739e97c76
Merge branch 'master' into payment-gateway-wizard-refactor
...
# Conflicts:
# assets/css/activation.css
# assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley
8e0e9a0cc2
Deprecate Simplify in favour of feature plugin
2016-04-19 13:14:13 +01:00
Mike Jolley
3b3872da3f
More logging
2016-04-18 21:06:33 +01:00
Mike Jolley
c757fd9940
Merge branch 'shipping-zone-modals'
...
# Conflicts:
# assets/css/admin.css
# assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Mike Jolley
c9dfbab9a2
Simplify - strip dashes from zip
...
Fixes #10604
2016-03-31 12:27:34 +01:00
Mike Jolley
795cb6d763
Add class for bacs heading
2016-03-24 10:47:08 +00:00
Mike Jolley
021a242e06
PDT charset conversion
2016-03-17 15:53:13 +00:00
Mike Jolley
05179ea253
Removed debug code
2016-03-15 15:58:15 +00:00
Mike Jolley
5fe501e436
Convert encoding
...
#10562
2016-03-15 15:58:03 +00:00
Mike Jolley
e664f0f82b
Log PDT data correctly, including payer details
...
Closes #10546
2016-03-15 12:18:52 +00:00
Mike Jolley
29d35151a1
woocommerce_cod_process_payment_order_status filter
...
Closes #10522
2016-03-10 12:30:42 +00:00
James Koster
f926f8e9c9
replaces .png credit card icons with .svg alternatives. closes #9675
2016-03-07 12:15:42 +00:00
Justin Shreve
927941e2ca
Merge pull request #10260 from justinshreve/token-api
...
Payment Token API
2016-03-04 04:34:41 -08:00
Justin Shreve
cb68f41ed0
Fix up based on Mike's feedback:
...
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Mike Jolley
fab1f224c6
When creating new order from draft, assume 'pending' for status transitions
...
Fixes #10461
2016-03-03 13:51:04 +00:00
Justin Shreve
0985292a79
Make sure the tokenization script is output even if the current user is logged out (we still show save payment method if user is creating account).
2016-03-01 11:49:42 -08:00
Justin Shreve
75f2e6b85c
Fix up some comments and add uninstalling code.
2016-03-01 11:49:42 -08:00
Justin Shreve
c0b74296ff
* Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck
...
* Fix up some comments to match other comments in the WC code base
* Add some missing esc_* functions
* Add a gateway filter to get_customer_tokens + a test for it
2016-03-01 11:49:42 -08:00
Justin Shreve
fa5283d3df
Minify Simplify JS
2016-03-01 11:49:42 -08:00
Justin Shreve
e6a527547f
Add the ability for gateways to override the "new payment method" label.
2016-03-01 11:49:42 -08: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
2e73486004
Add minified simplify js.
...
Enable payment gateways to show/force CVC on saved gateways.
2016-03-01 11:49:41 -08:00
Justin Shreve
898242c34d
Integrate simplify with the token API to save cards/customer data and use a saved card.
2016-03-01 11:49:40 -08:00
Justin Shreve
eff4e297f9
First pass at showing saved payment methods on checkout
2016-03-01 11:49:40 -08:00
Mike Jolley
6f04ff1fa0
Replace size with length
...
Fixes #10444
2016-03-01 13:08:25 +00:00
Mike Jolley
1fecd7efe2
If shipping < 999.99, use 'shipping' arg when passing values to PayPal.
...
Closes #9852
2016-02-08 13:10:15 +00:00
Claudio Sanches
899d961dd9
Improved WC_Gateway_Paypal::get_icon_url() for #10084
2016-01-21 19:28:14 -02:00
Shohei Tanaka
70be00cbf7
Modification of PayPal link errors and redirect
...
Those countries are redirect from paypal-popup to home.
BE,CZ,DK,IT,NL,NO,SE,ES
Those countries are error happened.
HU, JP, TR
2016-01-16 14:15:42 +09:00
Claudio Sanches
870ecfea11
Merge pull request #9991 from frozzare/docs/class-wc-simplify-commerce
...
Improve docblock comments in Simplify Commerce classes
2016-01-06 11:30:49 -02:00
Claudio Sanches
a1871e288c
Merge pull request #9990 from frozzare/docs/class-wc-gateway-paypal
...
Improve docblock comments in WC_Gateway_Paypal classes
2016-01-06 11:30:37 -02:00
Claudio Sanches
5e8764630d
Merge pull request #9989 from frozzare/docs/class-wc-gateway-bacs
...
Improve docblock comments in WC_Gateway_BACS
2016-01-06 11:30:22 -02:00
Mike Jolley
918b84ee3a
Strip tags from subject
...
#9706
2016-01-06 12:38:22 +00:00
Fredrik Forsmo
2bee73f031
Improve docblock comments in Simplify Commerce classes
...
* Added comment to `get_icon` method
* Added missing return tag to `is_available` method
* Fix return type typo `wp_error => WP_Error`
* Renamed integer to int
2016-01-05 20:27:24 +01:00
Fredrik Forsmo
9ae4f4e7ab
Improve docblock comments in WC_Gateway_Paypal classes
...
* Added comments to `get_icon` method
* Added missing param tags to various methods.
* Renamed integer to int
* Renamed boolean to bool
2016-01-05 20:19:12 +01:00
Fredrik Forsmo
60b27d4168
Improve docblock comments in WC_Gateway_BACS
...
* Added comment to `generate_account_details_html`
* Added missing param tags to `thankyou_page` and `bank_details`
* Removed new line after docblock before `get_country_locale`
2016-01-05 20:02:31 +01:00
Shiva Poudel
66e3581308
Tweak paypal gateway docblocks and comments
2016-01-05 11:08:01 +05:45
Claudio Sanches
3cbe88082f
Fixed simplify commerce admin notices position, closes #9911
2015-12-28 16:07:05 -02:00
Mike Jolley
f408dcdabc
RAW escape return URLs in PayPal Standard
...
Tested with default and pretty permalinks. Fixes #9638
2015-11-27 14:00:14 +00:00
Mike Jolley
d03020d7c6
escape and add to both notifications
2015-11-27 13:04:24 +00:00
David Anderson
febaeb8b63
Include link to order in PayPal refund email, for convenience
...
Includes a link to the relevant order in the PayPal refund email, so that the shop owner doesn't have to manually bring up the dashboard, search the for order, and click through.
2015-11-25 22:07:52 +00:00
Mike Jolley
4595befb76
Pass product type with variation bulk edit
...
Closes #9570
2015-11-17 15:25:48 +00:00
Mehdi Esmaeili
101c7f47e1
Better Documentation: Put throws tag
2015-11-17 16:21:42 +03:30
Claudio Sanches
1512d448c1
Removed name param from SimplifyCommerce.generateToken
2015-11-09 22:49:53 -02:00
roykho
84436f4a11
Fix hosted payments address fields were not passing to simplify
2015-11-09 16:37:55 -08:00
roykho
b49b0b0133
Fix - address fields were not properly being passed to Simplify via token
2015-11-09 15:36:52 -08:00
Scrutinizer Auto-Fixer
08efaf84df
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-05 16:05:03 +00:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Gabor Javorszky
2fce596b25
Fix docblock for validate_receiver_email
2015-10-30 15:11:41 +00:00
Mike Jolley
871c8591f0
Number format the discount
...
Closes #9462
2015-10-29 15:23:34 +00:00
Claudio Sanches
4f9e4a87e8
Updated Simplify Commerce lib to version 1.2.0, closes #9420
2015-10-26 11:27:14 -02:00
Mike Jolley
97e28d7f49
Added wc_checkout_is_https() function helper and added to simplify class
...
Closes #9408
2015-10-22 12:30:30 +01:00
Ewout Fernhout
ab85ebfbc4
check if product exists
...
fixes #9363
2015-10-15 09:43:53 +02:00
Claudio Sanches
eef347a5ad
Added textdomain to PayPal refund error message
2015-10-06 11:03:49 -03:00
Mike Jolley
54d5fc20ab
Improve refund error messages for PayPal
...
Fixes #8945
2015-10-06 14:43:36 +01:00
Silicon Forks
b73fce8dca
Trim leading plus sign and "1" digit from US/CA phone numbers
...
Fixes #9156 .
2015-09-17 18:58:49 -03:00
Claudio Sanches
8ed7754e49
Fixed strings with "MasterCard", closes #9142
2015-09-15 22:06:02 -03:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Mike Jolley
d4c8611ec8
Merge pull request #8972 from didi3r/patch-1
...
Hide "Our Bank Details" heading when no bacs registered
2015-09-02 12:24:22 +01:00
Mike Jolley
2023910400
Log refund response.
2015-09-02 11:36:42 +01:00
Didier Pérez
8bbb0f2878
Hide "Our Bank Details" heading when no bacs registered
...
The heading "Our Bank Details" is shown in emails even if there are not bacs registered. This fix prevent that.
2015-08-27 13:33:32 -05:00
Brent Shepherd
f52316856c
Fix changing failing subscription payment method
2015-08-20 13:51:08 -07:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Mike Jolley
a0be65596f
COD: remove shipping check if the cart is 100% virtual.
...
@claudiosmweb
2015-08-13 23:54:16 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Mike Jolley
f19ba7a755
Send line item when no name is set
...
Closes #8666
2015-07-28 11:41:37 +01:00
Brent Shepherd
aaaa5720f3
Simplify: Add support for multiple subscriptions
...
Nothing to see here. Easiest feature support ever.
2015-07-24 18:18:00 -07:00
Brent Shepherd
694929b0bf
Simplify: Update change failling payment method
...
For Subscriptions v2.0.
* Use new 'woocommerce_subscription_failing_payment_method_updated_' hook
* Use new wcs_is_subscription() method to run process_subscription() when the
transaction is for a subscription object.
* Save the card and customer IDs on the 'shop_subscription' post from the renewal
order rather than saving it on the order which purchased the subscription.
2015-07-24 18:17:57 -07:00
Brent Shepherd
e6ccf437e9
Simplify: Update order_contains_subscription()
...
To use Subscriptions 2.0 methods to avoid deprecated notices and move
use of old methods to WC_Addons_Gateway_Simplify_Commerce_Deprecated
2015-07-24 18:17:57 -07:00
Brent Shepherd
73999c5daf
Simplify: Remove meta from resubscribe orders
...
In Subscriptoins v2.0. Also deprecate the removal of it in 1.n, where
resubscribe orders were called "parent renewal orders".
2015-07-24 18:17:57 -07:00
Brent Shepherd
089485b3bf
Simplify: Update renewal payments for Subs v2.0
...
* Add new save_subscription_meta() method to allow us to save customer ID both
in Subscriptions 1.n on the original order and in 2.0 on the subscription/s
created for the order)
* Use the new 'woocommerce_scheduled_subscription_payment_simplify' hook and
deprecate use of the old 'scheduled_subscription_payment_simplify' hook by
moving it to the WC_Addons_Gateway_Simplify_Commerce_Deprecated class
* Use core WC methods on the renewal order passed to scheduled_subscription_payment()
to process the payment rather than having to call special Subscriptions API methods
like WC_Subscriptions_Manager::process_subscription_payments_on_order() and
WC_Subscriptions_Manager::process_subscription_payment_failure_on_order()
* Use the original order's total to determine the amount to charge up-front to
save having to call WC_Subscriptions_Order::get_total_initial_payment()
* Use a description for recurring payments that is consistent with standard orders,
i.e. "{Site Name} - Order {order_id}" instead of a description that does not include
the renewal order's ID. This helps link payments to orders (which can then be traced
to subscription/s).
2015-07-24 18:17:36 -07:00
Brent Shepherd
4c8e3788b3
Simplify: Support admin payment method changes
...
A new feature of Subscriptions v2.0.
2015-07-24 18:17:28 -07:00
Brent Shepherd
e689fe8f15
Add WC_Addons_Gateway_Simplify_Commerce_Deprecated
...
To manage compatibility with Subscriptions 1.n
2015-07-24 18:06:35 -07:00
Claudio Sanches
1614696996
Fixed duplicated docblock
2015-07-22 12:05:25 -03:00
Claudio Sanches
6cac5e0f47
PayPal - Remove decimals when order currency is HUF, JPY or TWD, closes #8590
2015-07-22 11:43:12 -03:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Mike Jolley
6676ed08fa
500 response on IPN fail
...
Closes #8519
2015-07-06 17:48:46 +01:00
Mike Jolley
18c6a940f1
Merge branch 'onboarding'
...
Conflicts:
assets/css/admin.css
assets/css/select2.css
assets/css/woocommerce-layout.css
assets/css/woocommerce.css
assets/js/admin/order-backbone-modal.min.js
includes/admin/class-wc-admin-help.php
includes/admin/class-wc-admin.php
includes/admin/views/html-admin-page-status-report.php
includes/admin/views/html-notice-install.php
includes/admin/views/html-notice-template-check.php
includes/admin/views/html-notice-theme-support.php
includes/admin/views/html-notice-tracking.php
includes/class-wc-install.php
includes/class-wc-language-pack-upgrader.php
includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00