You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use Quick Chip without the UI component, being the transaction by calling `prepareDataForQuickChipTransaction`. Here are the steps:
240
+
To use Quick Chip without the UI component, begin the transaction by calling `prepareDataForQuickChipTransaction`. Here are the steps:
220
241
221
-
1. Provide a `QuickChipTransactionSessionListener` object that listens to SDK status changes as it communicates with reader. Information and error messages will be shown through `QuickChipTransactionSessionListener` callbacks.
242
+
1. Provide a `QuickChipTransactionSessionListener` object that listens to SDK status changes as it communicates with the reader. Information and error messages will be shown through `QuickChipTransactionSessionListener` callbacks.
222
243
2. After a `onPrepareQuickChipDataSuccessful` callback, card data will be temporarily stored inside the SDK. To finish the transaction, just initiate `startQuickChipTransaction` with the transaction details and finish the transaction.
223
244
3. You can check if there is any stored card data using `hasStoredQuickChipData`, or choose to discard that data using `clearStoredQuickChipData`.
**NOTE:** To use Quick Chip functionality, the card reader has to be on updated firmware version and config. Refer to the OTA Update section for more details.
298
+
**NOTE:** To use Quick Chip functionality, the card reader must have the latest firmware version and configuration. Refer to the OTA Update section for more details.
278
299
279
-
### Bluetooth support
300
+
### Bluetooth Support
280
301
The In-Person SDK for Android now supports a Bluetooth connection mode with AnywhereCommerce Walker C2X BT readers. To enable the Bluetooth connection, follow these steps from class `EMVTransactionManager`:
281
302
282
303
1. Set the connection mode to Bluetooth.
@@ -316,7 +337,7 @@ EMVTransactionManager.startEMVTransaction(EMVTransaction emvTransaction, final E
When you use a AnywhereCommerce Walker C2X device, EMV/Quick Chip is turned on by default. However, you can choose to use the Magnetic Stripe Reader by calling this before the transaction:
321
342
```java
322
343
publicenumTerminalMode{
@@ -373,16 +394,16 @@ You can configure the UI of the In-Person SDK to better match the UI of the merc
373
394
374
395
The merchant app can configure the following UI parameters:
For the color properties listed above, the merchant application must define color values and pass the color IDs to the In-Person SDK:
@@ -397,6 +418,20 @@ The merchant application must have a drawable file in the resource file. The dra
397
418
398
419
The merchant application must define a drawable. SDK supports state list drawables also. The merchant application must provide the drawable ID to the EMV SDK.
399
420
421
+
You can also customize the signature screen with following APIs:
The SDK supports the following transaction types that can be posted to Authorize.Net gateway:
@@ -419,7 +454,7 @@ CASH;
419
454
420
455
### Non-EMV Code Samples
421
456
422
-
The following code samples use keyedin credit card information. To use another transaction type, simply replace `TransactionType.AUTH_CAPTURE` with the type of transaction you want (shown in the list above). For example, TransactionType.AUTH_ONLY or TransactionType.CREDIT.
457
+
The following code samples use keyed-in credit card information. To use another transaction type, simply replace `TransactionType.AUTH_CAPTURE` with the type of transaction you want (shown in the list above). For example, `TransactionType.AUTH_ONLY` or `TransactionType.CREDIT`.
### Code Sample for Non-EMV transactions Using Encrypted Swiper Data
496
+
### Code Sample for Non-EMV Transactions Using Encrypted Swiper Data
462
497
463
498
```java
464
499
//login to gateway to get valid session token
@@ -611,3 +646,36 @@ Field Order | Response Code | Response Reason Code | Text
611
646
3 | 2 | 360 | An error occurred during the decryption of the EMV data.
612
647
3 | 2 | 361 | The EMV version is invalid.
613
648
3 | 2 | 362 | x_emv_version is required.
649
+
650
+
## Auto Configuration of Audio Readers
651
+
652
+
Android hardware varies between different manufacturers, and there is a possibility that default audio configuration does not work in all Android devices.
653
+
For audio jack readers, if we check reader information by `getDeviceInfo()` API, and the error returned is `OTAUpdateManager.HeadlessOTAUpdateError.COMM_ERROR`, this implies that default
654
+
configuration are not working for the attached reader and auto configuration is required to setup it up.
655
+
656
+
The following API from `OTAUpdateManager` can be used to start auto configuration:
657
+
658
+
public static void startAutoConfig(Context context, boolean demoMode, HeadlessOTAUpdateListener listener)
659
+
660
+
661
+
The following interface methods have been added to `HeadlessOTAUpdateListener` to monitor and update configuration process:
Apart from the three additions to `HeadlessOTAUpdateListener` for auto configuration, shown above, another interface method is added to notify when bluetooth device gets disconnected.
674
+
675
+
4- `void onBluetoothDeviceDisConnected()`;
676
+
Bluetooth device got disconnected.
677
+
678
+
679
+
At anytime if it is required to cancel the auto configuration, use following API from `OTAUpdateManager` -
0 commit comments