getState()
method to retrieve the current state of the fields.
card
or ach
. The active form
determines which fields are loaded.activeForm
is card
and the card number field has been filled.sandbox
or production
.true
when the sdk is still initializing.true
after sdk.submitFields()
is called and before the fields are done
submitting their data.activeForm
is
ach
, this will be ACH
. When activeForm
is card
, this will be either
CREDIT
or DEBIT
depending on the card type. Possible values are: ACH
|
CREDIT
| DEBIT
payment
| save_payment_method
activeForm
is
card
. It provides details about whether surcharging is active, the rate, and
whether it will be applied.