File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function getConfig(string $page): array
83
83
'allowedFunding ' => $ this ->getAllowedFunding ($ page ),
84
84
'disallowedFunding ' => $ this ->getDisallowedFunding (),
85
85
'styles ' => $ this ->getButtonStyles ($ page ),
86
- 'isVisibleOnProductPage ' => $ this ->config ->getValue ('visible_on_product ' ),
86
+ 'isVisibleOnProductPage ' => ( bool ) $ this ->config ->getValue ('visible_on_product ' ),
87
87
'isGuestCheckoutAllowed ' => $ isGuestCheckoutAllowed
88
88
];
89
89
}
Original file line number Diff line number Diff line change 32
32
'label ' => 'installment ' ,
33
33
'installmentperiod ' => 0
34
34
],
35
- 'isVisibleOnProductPage ' => 0 ,
35
+ 'isVisibleOnProductPage ' => false ,
36
36
'isGuestCheckoutAllowed ' => true
37
37
]
38
38
],
62
62
'label ' => 'installment ' ,
63
63
'installmentperiod ' => 0
64
64
],
65
- 'isVisibleOnProductPage ' => 0 ,
65
+ 'isVisibleOnProductPage ' => false ,
66
66
'isGuestCheckoutAllowed ' => true
67
67
]
68
68
],
91
91
'shape ' => 'rect ' ,
92
92
'label ' => 'paypal '
93
93
],
94
- 'isVisibleOnProductPage ' => 0 ,
94
+ 'isVisibleOnProductPage ' => false ,
95
95
'isGuestCheckoutAllowed ' => true
96
96
]
97
97
],
120
120
'shape ' => 'rect ' ,
121
121
'label ' => 'paypal '
122
122
],
123
- 'isVisibleOnProductPage ' => 0 ,
123
+ 'isVisibleOnProductPage ' => false ,
124
124
'isGuestCheckoutAllowed ' => true
125
125
]
126
126
],
149
149
'shape ' => 'rect ' ,
150
150
'label ' => 'paypal ' ,
151
151
],
152
- 'isVisibleOnProductPage ' => 0 ,
152
+ 'isVisibleOnProductPage ' => false ,
153
153
'isGuestCheckoutAllowed ' => true
154
154
]
155
155
]
You can’t perform that action at this time.
0 commit comments