Peter Fabian
80dc183880
Use nbsp to separate * denoting required fields.
2018-04-04 16:45:40 +02:00
Rodrigo Primo
609bc3bf71
phpcs fixes in includes/gateways/class-wc-payment-gateway-cc.php
2018-03-09 15:44:24 -03:00
Rodrigo Primo
8678ed8685
Fix phpcs violations using phpcbf
2018-03-09 09:53:10 -03:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02: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
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
1c2a67554b
fix typo
2016-08-27 16:56:21 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
72ee94d11b
WordPress.Arrays.ArrayDeclaration.SpaceBeforeComma
2016-08-27 05:46:40 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03: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
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
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
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
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