label dcc button, add classes

This commit is contained in:
David Remer 2020-08-18 11:38:59 +03:00
parent 07524cf106
commit a0c419187a

View file

@ -215,7 +215,7 @@ class SmartButton implements SmartButtonInterface
</div> </div>
%5$s %5$s
</div> </div>
<button>%6$s</button> <button class="button alt">%6$s</button>
</form><div id="payments-sdk__contingency-lightbox"></div>', </form><div id="payments-sdk__contingency-lightbox"></div>',
esc_attr($id), esc_attr($id),
esc_html__('Card number', 'woocommerce-paypal-commerce-gateway'), esc_html__('Card number', 'woocommerce-paypal-commerce-gateway'),
@ -223,7 +223,7 @@ class SmartButton implements SmartButtonInterface
esc_html__('CVV', 'woocommerce-paypal-commerce-gateway'), esc_html__('CVV', 'woocommerce-paypal-commerce-gateway'),
//phpcs:ignore //phpcs:ignore
$saveCard, $saveCard,
esc_html__('Pay with Card', 'woocommerce-paypal-commerce-gateway') esc_html__('Place order', 'woocommerce')
); );
} }
// phpcs:enable Inpsyde.CodeQuality.FunctionLength.TooLong // phpcs:enable Inpsyde.CodeQuality.FunctionLength.TooLong