Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Store Commerce APK on Android - hardware station configuration

Posted on by 25

Hello guys,

I've installed store commerce on Windows and also on android device ( Adyen payment terminal ).

I have configured POS hardware profile, Registers and Store like on pictures below and on windows store commerce everything is working fine and I can process payment through Adyen payment terminal. Problems start when I try do same thing on store commerce on Android. There is and error called "Requested hardware station API is not found"  and " There was and error comunicating with the hardware station", maybe anyone have idea what can be an issue ? Both Windows and android store commerce are working on same data but diffrent registers.

pastedimage1675775011018v1.pngpastedimage1675775022193v2.pngpastedimage1675775050950v3.png

  • Suggested answer
    Shafeeque P. Profile Picture
    Shafeeque P. 6,512 Super User 2024 Season 2 on at
    RE: Store Commerce APK on Android - hardware station configuration

    If it is working on iOS and not on android, I suspect the SSL used by Adyen is not trusted on Android. If you are using an industrial device from Zebra, Honeywell, etc, they don't receive root certificate updates very frequently. If you have a personal android device, it should work as they receive updates to CA frequently via OTA.

    1. You can either try updating the android device to the latest available which might bring in the latest CA certificate. Also, make sure that the time zone and time are correct on your device. The handshake will fail sometimes if there is a significant time difference. 

    2. Based on the log you shared, Adyen is using Digitcert. Please download and install the "DigiCert Global Root G2" certificate and "GeoTrust TLS RSA CA G1" into the CA/Trusted Root certificate folder (I am not sure about the exact name as I don't have an android device). You can download a CRT or PEM certificate based on your device requirement.

    pastedimage1676549930717v1.png

    www.digicert.com/.../digicert-root-certificates.htm

    DigiCert Global Root G2

    PEM FORMAT: cacerts.digicert.com/DigiCertGlobalRootG2.crt.pem

    DER/CRT: cacerts.digicert.com/DigiCertGlobalRootG2.crt

    GeoTrust TLS RSA CA G1

    cacerts.digicert.com/GeoTrustTLSRSACAG1.crt.pem

    cacerts.digicert.com/GeoTrustTLSRSACAG1.crt

    How to install the certificate: www.digicert.com/.../official-list-trusted-root-certificates-android

  • Matthex69 Profile Picture
    Matthex69 25 on at
    RE: Store Commerce APK on Android - hardware station configuration

    Thank you sir for your willingness to help, at the time of payment by card on android devices there is such error log, it looks like there is some problem with certificates, maybe you have an idea where to look for a solution ?

    I've used this on dedicated hardware station that was build in to android store commerce, funny thing is that same configuration work perfectly on IOS Store Commerce

    {"ErrorResourceId":"Microsoft_Dynamics_Commerce_HardwareStation_PaymentTerminal_Error","LocalizedMessage":"There was an error communicating with the payment device. Check the device or see your system administrator.","ClassName":"Microsoft.Dynamics.Commerce.HardwareStation.PeripheralException","Message":"Hostname terminal-api-test.adyen.com not verified:\n certificate: sha1/lrhUg79d0mTzqg80CLwn+vrGnGM=\n DN: CN=*.adyen.com\n subjectAltNames: [*.adyen.com]","Data":null,"InnerException":{"ClassName":"System.Net.WebException","Message":"Hostname terminal-api-test.adyen.com not verified:\n certificate: sha1/lrhUg79d0mTzqg80CLwn+vrGnGM=\n DN: CN=*.adyen.com\n subjectAltNames:

  • Shafeeque P. Profile Picture
    Shafeeque P. 6,512 Super User 2024 Season 2 on at
    RE: Store Commerce APK on Android - hardware station configuration

    Sorry, been a little busy over the week. I have the same configuration on my Contoso environment. I tested this by enabling and disabling the hardware station, I am not getting any errors when do the transaction on Store Commerce App on iOS. Can you try going to the select hardware station menu in POS and switch the Use Hardware Station Button to "No".

  • Matthex69 Profile Picture
    Matthex69 25 on at
    RE: Store Commerce APK on Android - hardware station configuration

    So I did everything like You mentioned but still getting error "There was an error communicating with the hardware station" on mobile Store Commerce, on Windows version everything is fine on thisame configuration. Maybe You have idea how to configure mobile version ? 

    pastedimage1675941837605v4.pngpastedimage1675941767589v2.pngpastedimage1675941819356v3.png

  • Matthex69 Profile Picture
    Matthex69 25 on at
    RE: Store Commerce APK on Android - hardware station configuration

    Thanks for Your reply, my question is should i have set on store any hardware stations in this case? Dedicated/shared ? When I create dedicated hardware station on store, then it appears on terminal as a possible hardware station to choose.

  • Suggested answer
    Shafeeque P. Profile Picture
    Shafeeque P. 6,512 Super User 2024 Season 2 on at
    RE: Store Commerce APK on Android - hardware station configuration

    We usually use network-connected peripherals for iOS and Android Store commerce apps. On the screenshot shared, I can see you are using a dedicated hardware station. The hardware profile listed has OPOS devices attached to it which may not work for mobile devices.

    If you are simply testing the mobile app feature, Try creating a new hardware profile to which no devices are enabled (select none in the printer, Cash Drawer, etc). Use this hardware profile in the register (which is attached to the device ID you use for Android) configuration. Push 1090 and test.

  • Matthex69 Profile Picture
    Matthex69 25 on at
    RE: Store Commerce APK on Android - hardware station configuration

    pastedimage1675775340620v1.pngpastedimage1675775355757v2.pngpastedimage1675775373280v3.pngpastedimage1675775398235v4.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans