Instructs the specified hosted field in the iFrame to gain focus.
This function supports the Multiple Hosted Session functionality.
PaymentSession.setFocus(<HostedFieldRole>, [scope])
PaymentSession.setFocus('card.number');
The field role for the card field rendered in an iFrame and hosted on the MasterCard Payment Gateway. Valid field roles: 'card.number'
,'card.securityCode'
, 'giftCard.number'
, 'giftCard.pin'
, 'ach.bankAccountNumber'
, 'ach.bankAccountHolder'
, 'ach.routingNumber'
The optional named instance of a card payment data set within a session. See Multiple Hosted Sessions for more information.
None