forked from Ryce/JudoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Hamon Ben Riazy edited this page Apr 20, 2016
·
3 revisions
judoKit comes with our new customizable, stacked UI.
judoKit is capable of detecting and accepting a huge array of Card Networks. An array of Card Networks defines a specific acceptance signature. This is used as shown below:
- The default values for accepted Card Networks are Amex, Visa, MasterCard and Maestro:
public var acceptedCardNetworks: [Card.Configuration] = [Card.Configuration(.AMEX, 15), Card.Configuration(.Visa, 16), Card.Configuration(.MasterCard, 16), Card.Configuration(.Maestro, 16)]- Any other card configuration that is available can be added, so the UI can accept the specific Card Network desired. BE AWARE you do need contact judo to configure your account for any other Card Network transactions to be processed successfully.
Since some accounts use AVS, we decided to give our developers the freedom to choose whether to show or hide the AVS fields. BE AWARE that if you activated AVS on our judo Dashboard, you will need to activate it in the SDK as well
myJudoKitSession.theme.avsEnabled = YES