Skip to content

Commit 2f851a5

Browse files
committed
Show CC when subscription in Block
1 parent b4c7df6 commit 2f851a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gateways/Blocks/MoneiCCBlocksSupport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ public function get_payment_method_script_handles() {
8686
public function get_payment_method_data() {
8787

8888
if ( 'no' === $this->get_setting( 'tokenization' ) ) {
89-
$supports = $this->get_supported_features();
89+
$supports = $this->gateway->supports;
9090
} else {
9191
$supports = array(
92-
'features' => $this->get_supported_features(),
92+
'features' => $this->gateway->supports,
9393
'showSavedCards' => true,
9494
'showSaveOption' => true,
9595
);

0 commit comments

Comments
 (0)