FAQ

1.软件规格码是做什么 怎么定义?

答:软件需要上架到商米商城,这个软件商规格码就是商城里商品编码,唯一标识商品的规格和有效期等。规则一般是:app的英文+版本(如standard)+几年(如 01标识1年 09标识永久)。


2.我们软件商的账户系统如果不仅仅是手机号及密码登录还有其他登录信息,应该怎么处理?

答:创建商户接口里,把需要登录的信息返回到login_other字段,商米后台会将此信息以邮件和短信的形式通知给商米代理商和终端商户。


4.为什么需要实现检测商户是否存在接口?

答:软件上架到商城后,提交订单时商米后台会调此接口,如果商户已存在,会提示用户已存在。这样是防止同一个商户的信息重复注册同一家软件商。


5.开户成功后用户怎么获取开通的账号和密码?

答:商米的代理商在商米商城选购软件,下单成功后,商米后台会以邮件和短信的形式通知商米代理商和终端商户。


6.我们软件是免费的,也需要对接开户接口上架商米商城么?

答:商米商城目前是统一的软硬件采购平台。对接开户接口,对后续软件如果收费更加方便(只需增加软件编码,订购接口里开通相应权限功能即可)。

业务说明

商城软件开户

商米商城一个在线销售智能硬件、商用软件、配件耗材和解决方案的平台(mall.sunmi.com)。上架的商用软件很多是跟商米做了开户接口对接,软件商按照已有的接口协议来提供一套开户接口,以达到下单时实时开户。

具体说来,商用软件在线购买流程中涉及选购下单、填写商户信息、软件在线开户、购买成功获取账号密码。其中的软件在线开户就是指下单成功后商米后台会实时调用软件商提供的开户接口。

在线售卖软件模式,让商米作为米开(软件商)的“代理商”,会源源不断的给我们的米开推送注册用户。

软件开户

软件购买流程

1.客户在商米商城注册。

2.在商用软件模块选择购买的软件,选择规格,点击立即购买。

3.新增商户信息 提交订单 此时商米后台会调用检测商户是否存在接口,如果商户已在软件商存在,则提示用户已存在,否则,提供订单进入支付页。

4.支付完成,商米后台会调创建商户及订购软件许可接口,以邮件短信方式通知终端用户。

软件对接流程图

App Release

Release App

About Sunmi App Market

Every Sunmi partner can register Sunmi partner account on Sunmi official website to have
his/her own operation background. In principle, every Sunmi device will be
bound to a partner account number when it is sold out. Sunmi will take the
partner as unit to provide the control service for partial functions &
permissions.

Sunmi has an internal App market, and the
partner can distribute his/her own Apps on a large scale onto Sunmi devices. Partial
partners can have an App market managed by themselves. If the partner has not
opened “Allow third party App installation” (as shown by the arrow in the
following figure), its own default users can only install App for the device
via Sunmi App market.

e1

App Market Rules

Sunmi has distributed App markets with
different permissions to partial partners, and the Apps uploaded by default partners
will appear in their own App markets without Sunmi’s review. Sunmi can review
this App, and after passing the review, this App will appear in the App markets
of other partners. Certainly, partial partners can not only choose that their
own Apps do not appear in other people’s App markets, but also choose that
other people’s Apps do not appear in their own App markets. As for the authorized
permissions, you may consult Sunmi customer service 400-902-1168 (everyday 9:00
~ 21:00, except holidays)

App Distribution Procedure

After completing App development, upload it
to the App market. The user can search & find App at App market of the
device. If it’s a channel partner, the automatic installation of App’s  own device can be set. Explain the procedure
of App’s first upload & distribution as follows.

1.Upload app

Enter “My App” option at the partner backstageand click to create App

e2

2.Fill in the relevant content

Click “Upload installation package”, and
choose the apk you want to upload from the folder. Wait until the upload is
completed, and Sunmi backstage will automatically analyze the installation
package. The part indicated by a green arrow in the following figure will be
automatically filled in. The developer will manually fill in the information
such as App introduction, App’s well-matched devices, App type, etc.

  • If package name repetition is prompted when
    uploading the APK installation package, it indicates that this APK has already gone
    on sale in Sunmi App market. If this APK is owned by your company, please
    contact Sunmi customer service 400-902-1168 (everyday 9:00 ~
    21:00, except holidays) to enter claim.

e3

3.Deliver App

After the partner has completed the content
of the remaining part, the “Deliver” button in the following figure will turn
from grey non-clickable state to green clickable state. Click “Deliver” and the
App upload will be completed.

e4

About Grey Scale Deployment

There is a “Whether to deploy grey scale or not”
option above “Deliver” button in the above figure. After checking this box, the
deliver button will turn to “Grey scale deployed” item, and you will enter the
grey scale deployment configuration item after clicking it.

Grey scale deployment is a function
provided by Sunmi against the partner’s actual demand. A geographic location
message will appear when each device is used, and the partner may deploy on
partial devices according to geographic location or SN number after he/she has
developed his/her own App to match Sunmi devices. This App will appear only in
the App market of the devices within the scope of grey scale deployment. After
completing grey scale deployment within a small scope, the developer can deploy
the App onto devices within full range.

e5

Setting Automatic Installation

If you wish to automatically install the
uploaded App onto all its own devices, you can set this App to automatically
installed App in “My App market” item (as shown by the arrow in the following figure).
Its owned device will automatically download and install this App after
receiving the push notification. After setting automatic installation, you can
also set whether this App is to be App with default boot (as shown by the arrow
in the following figure). This App will be booted automatically after turning
on the device.

e6

Upgrad app

When the App has passed Sunmi’s review, “Update”
button will appear in the list items of My App. The developer may release the
upgraded package of this App. Enter Update App page after clicking. The update
procedure is similar to release procedure, please refer to the above release
procedure.

  •  If
    abnormal signature is prompted when uploading the update package, please check
    whether APK signature is inconsistent with the original installation package.
    If it is confirmed that it is necessary to change the signature, please create
    App after deleting it

  • If inconsistent package name is
    prompted when uploading the update package, please

    check whether APK package name has changed or
    there is upload error. If it is confirmed that it is necessary to change the
    package name, please create App after deleting it

e7