shopify商店应用开发

2019年12月30日 作者 陈秋龙
 
 
前提了解
市场应用开发流程(公共)
定制应用开发流程(自定义)
应用申请发布流程
开发主要流程
相关业务流程
shopify商家相关地址及信息
前提了解
开发者合作地址:https://www.shopify.com/partners
shopify开发者论坛(搜索已存在解答):https://community.shopify.com/
在线客服地址(解答常规疑问):https://help.shopify.com/zh-CN/questions#/contact
开发过程支持邮箱咨询(app审核疑问主要途径):https://partners.shopify.com/1906521/support/form?topic=app_development
17feia
账号密码:1604018952@qq.com/mmcql147147
申请app:17feia
balidrop
账号密码(正式)balidrop-sf@toppgo.com/b……p2021
申请appBalidrop – dropshiping
邮箱密码:balidrop-sf@toppgo.com/B……p2021
凯账号密码(测试):h17671756796@163.com/974536312hk
 
市场应用开发流程(公共)
开发者添加创建app应用
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/840F2E25C59D4E2F974D694437DFCF53/165031
 
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/9ABA86C2ADEB497586C48D31FF8B2BFE/165427
 
获取刚创建应用程序的秘钥(clientId,clientSecret)保存至项目中
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/83ADEA9BDB254BD9ADC438BE9AA840D2/165055
 
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/00D17E9BA1FC42718C2517C0F67948A5/165057
如上图拉着最底处查看clientId,clientSecret
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/C645D47D9F11473F8D6BC927FC1229D2/165062
 
按照app授权流程并参照案例开发应用服务(安装与获取token(不重新授权则永久))
安装鉴权入口相关代码
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/A11144B5CE2A47ECA0C82250DA1313F8/167203
回调入口获取token相关代码
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/E0905A835A1C4753AF5DEDD850775A07/165376
获取token后,即可通过token来调用所需要的ShopifyAPI获取或操作相关信息
 
外网服务https测试:ngrok(便于测接口)或其他

ngrok-stable-windows-amd6

4.zip

13.17MB
 
进入shopify开发合作应用的应用设置设置URL
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/ABF04514F431478B8FD2017146237C32/165385
 
商店安装测试
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/E4746BFD2E7A4B7892B3A1342D7A92A8/165396
 
没有开发商店则先创建商店再安装应用
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/5C5515C14E1F40D292F72B082BEBBD5B/165398
 
然后界面会跳转至如下界面,点击安装
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/D866F5F1BE5443CBA6CD1B43EDCFCE5A/165408
 
点击安装后便会跳转至回调callback指定的视图
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/03D12D384C924879B2E92542061F9281/165413
注:
1、要想像如上显示订单数据列表需通过获得的token及实现shopifyAPI order信息相关接口并在开发商店创建测试商品及订单
2、如上图app为内嵌式应用形式(默认的),也可以设置为非内嵌式应用(即超链接在新标签页面打开应用),设置类型位置步骤如下:
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/55F319765515426ABB39E55299A2FB25/208743
 
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/086E111EDFE8465F8AC218465EB98BEC/208746
 
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/30CD22A7FA0B4DF390FE7FEBA990FEAE/208748
 
具体请参见独立项目(17feia-shopify)代码:http://192.168.8.169:8088/eship/eship-shop-apps.git
 
定制应用开发流程(自定义)
意义:当正式app审核困难未通过或本身就想针对某店铺定制开发app功能可以开发此类应用(不需审核)
说明:除了应用本身相关属性及店铺授权过程些许不一样,开发过程与公共版都一样
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/7A590FF8EDA345B68BFD7A8FD5F3FDBB/208950
开发完了之后便为所需特定店铺生成安装链接,店家通过链接安装即可使用
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/D44274C9050A4CD6A0267530FEB1155B/208974
 
应用申请发布流程
进入申请列表
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/D588D6AC422A41F9AAF62F8B745358FE/167226
清单详情界面
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/B297BB560D854E2480E2F4C9D91FC5A9/167234
申请清单整理
balidrop申请过程(成功):可作为重点参考
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/E069A2E12C294D3EA7D0E76A846562E3/208868
balidrop申请过程文档

Balidrop(shopify

).xmind

159.01KB
 
17feia申请过程(失败)
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/CB78FDA3B4E74E9BB5BFE2FCF05D567D/169005
17feia申请过程
  1. 沟通阻碍(按邮箱回馈内容修改,与审核员要求理解分歧)
部分摘要
Hi Shopify Support Team,
Thanks for the reply. I’m now sending you reply via the email that was registered.
Right I understand that we need to meet all the requirements. Just that we think there clearly were misunderstandings. Could you please let our reviewer Jason Situ reads the following explanations prior to his next review? Thanks!
Regarding the latest rejection email:
a. Regarding pricing: free forever. No any charges. Don’t understand why this is an issue.
b. Regarding app functionality and API permission: Available to anyone located anywhere; mentioned in the app listing description under B.5. Detailed Descriptions.
c. Regarding Testing: mentioned in G.1. App review instructions: when there’s no actual order, unable to populate any data as there is no data.
  1. 邮箱客服沟通
部分摘要
Hi there,
I have spoke to Jason Situ directly about the app submission for 17Feia Worldwide Express.
He has confirmed the following regarding the three points:
a. Regarding pricing: free forever. No any charges. Don’t understand why this is an issue.
  • He had a look at the pricing in the listing again. He originally thought you were going to charge $9.00 a month for it but didn’t choose to set it as a reoccurring charge. As long as you specify free plan in the app listing then this will be fine.
b. Regarding app functionality and API permission: Available to anyone located anywhere; mentioned in the app listing description under B.5. Detailed Descriptions.
  • This is a shipping app for China, which was why he suggested you turn it on for chinese merchants only as the listing is also in Chinese, but if you say anyone can use it thats fine too.
c. Regarding Testing: mentioned in G.1. App review instructions: when there’s no actual order, unable to populate any data as there is no data.
  • Please watch this video which shows the issue that the data isn’t populating when the API info is entered in.
  • Please do testing on your side. Running test on multiple browsers and different devices will help ensure it is working properly. We had a few people test on our end and nothing loads.
  1. 问题矫正
  1. 联系客服看能否提前再次申请(提交操作三次导致暂停申请)
重复提交多次可能导致再次暂停申请,并同时可能延长回复申请的及时性
结果:只能年后申请
  1. 申请时间过长
年后1月2号申请的,目前处于申请状态已有11天,任然处于申请状态中,不确定是应为过年还是其他原因导致申请状态延迟
其他(刘总协助)
刘总协助可能是问题传达理解错误,把app申请上架到应用商城理解为是否能正常调用shopify的API了
……搁浅了
总结:申请有次数限制,甚重提交,申请过程中语言沟通阻碍可能较容易导致申请阻碍
 
开发主要流程
balidrop-shopify
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/ED61B3109A6646E59AC997C50A9DCC46/209032
只需在balidorp项目添加完善授权入口接口并适配性地调整下相关功能,即可保持与正常的balidrop用户管理店铺功能一致的目的
 
17feia-shopify
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/D85DD19F4DF0458899F0CA8DAC4CADC7/184718
 

shopify开发流

程.xmind

46.82KB
线上发布地址
id:106.14.199.239
用户:root
秘密:forward163…
路径:/17feia/nfsOthersFiles/parcels/10-eship-shop-apps
 
相关业务流程
 
balidrop-shopify
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/8027DAD0169C4FC18CB42604CC8F081B/209074
 
17feia-shopify
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/B46011FFC2C44E3E8CA2589FF48F1A7F/192314
 
shopify商家相关地址及信息
 
17feia-shopify(已停用-改为pc客户端下单)
定制版:17feia-logistics
游戏公司对接物流
shopify独立站: thatskyshop.com 密码是Ilovesky2020 邮箱:5261726@qq.com
https://note.youdao.com/yws/public/resource/8ec2cd5121e71cdc94eae2572aa6abfa/xmlnote/CB76CD52AF0B45CD866F5A4E72CD9493/185615
使用这个链接https://www.thatskyshop.com/password?customer_posted=true,然后输入密码 Ilovesky2020
后台管理:
liujian@toppgo.com / attack5e
shopify建站程序员: 陈作凯 13733528315
17feia账号
网址: http://www.17feia.com
账号:
5261726@qq.com F20061034 密码: 1qw20po9
 

原始参照:文档:shopify商店应用开发.note
链接:http://note.youdao.com/noteshare?id=8ec2cd5121e71cdc94eae2572aa6abfa&sub=19C8FCD4295A4072B7D124F026C9492E