Migrating from card.io (Android)
If you haven't already, follow the "Importing DyScan" steps in the General Integration Guide.
Import the following DyScan classes in your Activity that will launch DyScan:
Rename CardIOActivity
to DyScanActivity
and remove all putExtra
commands on the intent. Make a new putExtra
for the key "api-key." This will look like
CreditCard
is analogous to card.io's, but contains fewer methods. You can access the relevant fields by indexing cardNumber
, expiryMonth
, and expiryYear
.
Last updated