mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
use yy format instead of yyyy for card details
This commit is contained in:
parent
0a2a571e3e
commit
74d5337bc9
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ class CreditCardRenderer {
|
|||
},
|
||||
expirationDate: {
|
||||
selector: '#ppcp-credit-card-gateway-card-expiry',
|
||||
placeholder: this.defaultConfig.hosted_fields.labels.mm_yyyy,
|
||||
placeholder: this.defaultConfig.hosted_fields.labels.mm_yy,
|
||||
}
|
||||
}
|
||||
}).then(hostedFields => {
|
||||
|
|
|
@ -683,7 +683,7 @@ class SmartButton implements SmartButtonInterface {
|
|||
'labels' => array(
|
||||
'credit_card_number' => '',
|
||||
'cvv' => '',
|
||||
'mm_yyyy' => __( 'MM/YY', 'woocommerce-paypal-payments' ),
|
||||
'mm_yy' => __( 'MM/YY', 'woocommerce-paypal-payments' ),
|
||||
'fields_not_valid' => __(
|
||||
'Unfortunatly, your credit card details are not valid.',
|
||||
'woocommerce-paypal-payments'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue