From 4123a75054b4093f47be2e6adb21e42ae6ae9cd6 Mon Sep 17 00:00:00 2001 From: dinamiko Date: Fri, 4 Dec 2020 09:58:08 +0100 Subject: [PATCH] Use disable funding credit instead of card PCP-59 --- modules/ppcp-button/src/Assets/class-smartbutton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-button/src/Assets/class-smartbutton.php b/modules/ppcp-button/src/Assets/class-smartbutton.php index 1f3bc261f..abf0ab798 100644 --- a/modules/ppcp-button/src/Assets/class-smartbutton.php +++ b/modules/ppcp-button/src/Assets/class-smartbutton.php @@ -737,7 +737,7 @@ class SmartButton implements SmartButtonInterface { $region = wc_get_base_location(); $country = $region['country']; if ( 'GB' === $country ) { - $disable_funding[] = 'card'; + $disable_funding[] = 'credit'; } $params['disable-funding'] = implode( ',', array_unique( $disable_funding ) );