Claudio Sanches
f6b4614225
Return 0 if order isn't available
2021-03-09 16:57:08 -03:00
Viktor Szépe
ac3acc3df0
Fix CS
2020-11-20 18:53:39 +01:00
Viktor Szépe
996fb293a8
Fix types in WC_Payment_Gateway
2020-11-20 18:37:45 +01:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
Claudio Sanches
7701d4b57c
Merge pull request #25286 from woocommerce/fix-phpcs-violations
...
Fix PHPCS violations automatically using PHPCBF
2019-12-23 12:22:42 -03:00
Rodrigo Primo
62d6b05b58
Fix Generic.Formatting.MultipleStatementAlignment violations
...
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rowayda.Khayri
f6574e3f91
fix a typo
2019-12-20 18:45:34 +02:00
Rodrigo Primo
4af9a94129
PHPCS fixes
2019-12-04 15:52:20 -03:00
Claudio Sanches
d53b73b56c
Added support for "pay button" feature
2019-11-07 17:22:33 -03:00
Rodrigo Primo
4550bb6661
Merge pull request #24544 from woocommerce/fix/checkout-permalink
...
Prefer wc_get_checkout_url() instead of wc_get_page_permalink( 'checkout' )
2019-09-25 20:38:38 -03:00
Ayesh Karunaratne
eec96d367c
Fix a typo in WC Payment Gateway abstract '3rd party gateway size'
2019-09-18 10:22:16 +05:30
Claudio Sanches
e814105728
Prefer wc_get_checkout_url() instead of wc_get_page_permalink( 'checkout' )
2019-08-30 13:06:50 -03:00
Andrew Benbow
163795b2ab
Add filter to save_payment_method_checkbox
...
Allow the save payment method checkbox to be removed based on payment gateway settings.
2018-11-08 09:15:18 +00:00
Mike Jolley
cfe1cb5c16
Handle login and change events
2018-06-12 15:32:01 +01:00
Mike Jolley
10a5779fd1
wp_localize_script
2018-06-12 14:57:44 +01:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
Mike Jolley
5ac7aac369
Improve can_refund_order and add unit tests
2018-04-03 17:09:09 +01:00
Claudio Sanches
0660a50e07
Removed obvious boolean results
2018-03-21 19:57:10 -03:00
Gerhard Potgieter
940ab475d4
PHPCS passing for abstract-wc-payment-gateway.php
2018-03-05 13:48:54 +02:00
Mike Jolley
847e4859f8
Include add_payment_method in gateway abstract
2017-08-07 12:38:50 +01:00
Akeda Bagus
53807185a8
Fixed typos.
...
These typos are catched by `misspell` program.
```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen | xargs misspell -w
```
Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Mike Jolley
d7dfdd3d10
Wrap all deprecation calls.
2016-11-23 16:15:00 +00: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
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
Scrutinizer Auto-Fixer
7cef8ae4c9
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-06-06 16:50:18 +00:00
Mike Jolley
2ba9029624
Suit CSS and method tidyup for saved methods form
...
cc @jameskoster
2016-05-26 12:42:32 +01:00
Mike Jolley
39b7b6ba51
get_type_to_display method
2016-05-26 12:42:32 +01:00
Mike Jolley
6fe37fff33
Remove the need for token script when logged out
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
Mike Jolley
0927cbee8d
Tweaks saved card markup and styling to improve CC form.
2016-05-10 15:43:39 +01:00
Mike Jolley
167df8acce
Tokens: Get cards on any screen
2016-05-09 17:36:40 +01:00
Mike Jolley
e53704431d
Don't use abstract
...
Fixes #10815
2016-04-29 15:28:09 +01:00
Justin Shreve
ccb2c90ef3
Update references for the tokenization UI script (hiding/showing inputs) to use the correct file.
2016-03-01 11:49:43 -08: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
e3d7e206d0
Create a function for getting correctly formatted credit card type labels (MasterCard, American Express, etc)
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
e6a527547f
Add the ability for gateways to override the "new payment method" label.
2016-03-01 11:49:42 -08:00
Justin Shreve
eff4e297f9
First pass at showing saved payment methods on checkout
2016-03-01 11:49:40 -08:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Brett
a772457a32
remove unnecessary use of ternary operator
2016-01-20 12:30:56 +13:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Fredrik Forsmo
9c8ef67249
Add better phpdoc comments and missing param and return value
2016-01-03 10:22:53 +01:00
Mike Jolley
b27aed5753
Settings api
2015-12-14 14:03:46 +00:00
Mike Jolley
63f8eebd6a
Started on refactoring settings for instances
2015-12-11 16:41:38 +00:00
Shiva Poudel
d9e8057df3
Tweak the dockblocks and periodic-ending fix
2015-11-04 00:05:08 +05:45
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00