后台访问地址:
域名/admin.php
账号:admin 密码:123456
1、添加店铺

2、添加店铺的商品链接

3、添加⽤户的账号

打开拼多多的登录⻚⾯获取登录的验证码,在系统模拟登录

4、测试出码链接
对接参数说明:
下单接口:
http:/域名/index/api/order
Secret 密钥
type | 通道代码 | alipay/wechat |
total | 金额 单位 分 | |
api_order_sn | 订单号 | |
notify_url | 异步回调地址 | |
client_id | 商户号 | |
timestamp | 获取13位时间戳获 |
生成字符串:
api_order_sn + client_id + notify_url + timestamp + total + type
$str=
bb055bc31ea0c7a38c945fa8c252e1a7b38b59751ebe74280fafd9d90788b845api_order_sn1564036926notify_urlhttp://xxx.comtimestamp1564036926234total100typealipaybb055bc31ea0c7a38c945fa8c252e1a7b38b59751ebe74280fafd9d90788b845
$str = $secret . $str . $secret;
MD5转换该字符串;
将该md5后的字符串组装到参数内
下单demo.php
回调参数:
'callbacks' => 'CODE_SUCCESS',
'type' => $type,
'total' => $order['total'],
'api_order_sn' => $order['api_order_sn'],
'order_sn' => $order['order_sn']
回调加密示例result.php