mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Uncheck credit card when is supported cuntry
This commit is contained in:
parent
fa41fd19a7
commit
32905cbf9d
1 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ class OnboardingOptionsRenderer {
|
|||
* @param bool $is_shop_supports_dcc Whether the shop can use DCC (country, currency).
|
||||
*/
|
||||
public function render( bool $is_shop_supports_dcc ): string {
|
||||
$checked = $is_shop_supports_dcc ? '' : 'checked';
|
||||
return '
|
||||
<ul class="ppcp-onboarding-options">
|
||||
<li>
|
||||
|
@ -64,7 +65,7 @@ class OnboardingOptionsRenderer {
|
|||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label><input type="checkbox" id="ppcp-onboarding-accept-cards" checked> ' .
|
||||
<label><input type="checkbox" id="ppcp-onboarding-accept-cards" '. $checked .'> ' .
|
||||
__( 'Securely accept all major credit & debit cards on the strength of the PayPal network', 'woocommerce-paypal-payments' ) . '
|
||||
</label>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue