card-io / card.io-Android-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
1.99k stars 535 forks source link

Not Displaying the Card information is just cancel #138

Closed kevinjam closed 8 years ago

kevinjam commented 8 years ago

Required Information

Hey Guys i can't get the card information just cancel it ...do i need to create an activity where i will display the card info ? Look at my values scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_EXPIRY, true); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CVV, true); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_POSTAL_CODE, true); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_RESTRICT_POSTAL_CODE_TO_NUMERIC_ONLY, false); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CARDHOLDER_NAME, false); // default: false scanIntent.putExtra(CardIOActivity.EXTRA_USE_CARDIO_LOGO, false); scanIntent.putExtra(CardIOActivity.EXTRA_CAPTURED_CARD_IMAGE, true); scanIntent.putExtra(CardIOActivity.EXTRA_USE_PAYPAL_ACTIONBAR_ICON, false); scanIntent.putExtra(CardIOActivity.EXTRA_HIDE_CARDIO_LOGO, true); scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_CONFIRMATION, true); scanIntent.putExtra(CardIOActivity.EXTRA_SCAN_EXPIRY, true); // scanIntent.putExtra(CardIOActivity.EXTRA_RETURN_CARD_IMAGE, true); scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_MANUAL_ENTRY, false); scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_SCAN, true); scanIntent.putExtra(CardIOActivity.EXTRA_SCAN_RESULT, true); scanIntent.putExtra(CardIOActivity.EXTRA_KEEP_APPLICATION_THEME, true);

            // hides the manual entry button
            // if set, developers should provide their own manual entry mechanism in the app
            scanIntent.putExtra(CardIOActivity.EXTRA_SUPPRESS_MANUAL_ENTRY, false); // default: false

            // matches the theme of your application
            scanIntent.putExtra(CardIOActivity.EXTRA_KEEP_APPLICATION_THEME, false); // default: false
            // MY_SCAN_REQUEST_CODE is arbitrary and is only used within this activity.
            startActivityForResult(scanIntent, MY_SCAN_REQUEST_CODE);

It's scan then cancel the without displaying the info

braebot commented 8 years ago

Closing as a dupe of #137. If you have a specific question, feel free to open a new issue.