mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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: {
|
expirationDate: {
|
||||||
selector: '#ppcp-credit-card-gateway-card-expiry',
|
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 => {
|
}).then(hostedFields => {
|
||||||
|
|
|
@ -683,7 +683,7 @@ class SmartButton implements SmartButtonInterface {
|
||||||
'labels' => array(
|
'labels' => array(
|
||||||
'credit_card_number' => '',
|
'credit_card_number' => '',
|
||||||
'cvv' => '',
|
'cvv' => '',
|
||||||
'mm_yyyy' => __( 'MM/YY', 'woocommerce-paypal-payments' ),
|
'mm_yy' => __( 'MM/YY', 'woocommerce-paypal-payments' ),
|
||||||
'fields_not_valid' => __(
|
'fields_not_valid' => __(
|
||||||
'Unfortunatly, your credit card details are not valid.',
|
'Unfortunatly, your credit card details are not valid.',
|
||||||
'woocommerce-paypal-payments'
|
'woocommerce-paypal-payments'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue