Commit 0efb59f
committed
fix: add has_fields() method to CC gateway for component mode visibility
The has_fields property was set to false which prevented payment_fields() from
being called in component mode. Added has_fields() method that returns true
when in component mode or when tokenization is enabled.
This fixes the issue where cardholder name input and card input container were
not rendered in classic checkout when title was hidden/disabled.1 parent bcfa80f commit 0efb59f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
318 | 327 | | |
319 | 328 | | |
320 | 329 | | |
| |||
0 commit comments