Go Live on Android
Once you have passed certification you can prepare your Android App for the live environment.
Go Live Steps
Export a public certificate from your production keystore and provide it to Tyro along with your production applicationId
.
Run the following to generate your public cert: keytool -export -alias key0 -keystore yourkeystore.jks -rfc -file publiccert.pem
Make sure the alias is the same as the one you used to generate the keystore.
Example:
- applicationId:
com.your.pos.application
- public certificate:
-----BEGIN CERTIFICATE-----
MIIDOjCCAiICAQEwDQYJKoZIhvcNAQELBQAwYzEUMBIGA1UEAwwLRXhhbXBsZSBB
cHAxEDAOBgNVBAsMB0Nvbm5lY3QxDTALBgNVBAoMBFR5cm8xDzANBgNVBAcMBlN5
ZG5leTEMMAoGA1UECAwDTlNXMQswCQYDVQQGEwJBVTAeFw0yNDAyMjgwNTMwMjBa
Fw00OTAyMjEwNTMwMjBaMGMxFDASBgNVBAMMC0V4YW1wbGUgQXBwMRAwDgYDVQQL
DAdDb25uZWN0MQ0wCwYDVQQKDARUeXJvMQ8wDQYDVQQHDAZTeWRuZXkxDDAKBgNV
BAgMA05TVzELMAkGA1UEBhMCQVUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQClQzFzRk7sG8lR0GYbuoawzYX4QrO+gJU3My1k7chk1e+el9ZOX6ODKo62
IfGnGSSnYVmOVR/GGtoxnBzk0r3Aw7CvWgrF2VtI1mHlY0fZJf9MWfMKz12UZVFq
GJVwB5PYW8T/XuYNVomdf22n88eL9RqCHCN/PsVt6VKvJ2jTrz/lzR6eNSJMKWRM
VXuHVaiT1LWw5dTjEsKJVALxPNvJS7pwo9af40ZVMIpoFjonZ126ewj+8Y6wcCmE
S8G58wwTQHjNR5Cvxcx2R3v/XRfCPDom1iXkD/rN0sVHITz9BPeIV99Bjse7YX1m
UanXBsVyowXDqc48AWP22n0nVyZ9AgMBAAEwDQYJKoZIhvcNAQELBQADggEBAA5f
QdhTSH+j5Nft66/MXYqOWOBysv/keXksFgIOOXc7unKAVtnHxxAXtdf/wLCt1Q31
wdnm374wUukCM9B5ZKjvSeXChM9ZpPZEQu575Zh5ZJAPTrTQw2xj9IxBnmPJ6/4d
D6TvVbA1ixDCEjUv1nJCImnEimFfGehAzzwHjIevWd3owV3t09G7gtHCJgVQTPT5
b32l/nFLVCr5Ra5oxBfkcjPK2v9AHCdfR7muKVi8chjqCBNZ6cxfe7J28UyNz/ZS
BcPL/4VTvyp3Pi+XWU7u6PQAIOhj/9GJge7Qqa5rX8pY0HUU1+3s3flG1FJi2pZ4
Tz3JSZEaa1Uze86AJF4=
-----END CERTIFICATE-----
After you've been whitelisted, build a prdRelease
or equivalent variant of your App. Make sure you are using TyroEnvProd
when invoking TapToPaySdk.createInstance()
for your build variant.
On your server, use your Tyro production credentials and Merchant ID (provided during webhook authorisation call).
You're now ready to start taking real payments!