Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThe CCV SoftPOS app can be installed proberly but in some situation you would like to perform a new installation. Common examples:
Information
CCV provides two version of the 'CCV SoftPOS app', a development and production version.
The package names of these apps are different so you have to configure this properly in your POS application.
A common approach is to have a development and production build.
Intent example on development
Intent intent = new Intent(); intent.setClassName("com.mypinpad.openmpos.terminal","com.mypinpad.openmpos.terminal.RootActivity"); intent.putExtra("action", "clear"); startActivityForResult(intent, 1);
Intent example on production
Intent intent = new Intent(); intent.setClassName("app.openmpos.ccv.terminal","com.mypinpad.openmpos.terminal.RootActivity"); intent.putExtra("action", "clear"); startActivityForResult(intent, 1);
As you can see the ‘setClassName’ is different.
General Android Developer documentation can be found here.
A Result Intent will be received when the process is completed in the CCV SoftPOS app.
launchUrl(String.format("app://openmpos/clear?data=%s\&callback=%s", installationPayload, ourWebAppReturnUrl));
When the installation is done, the ourWebAppReturnUrl will be opened