消费接口专属字段
序号 | 名称 | 长度 | 类型 | 参数名称 | 备注 |
---|---|---|---|---|---|
1 | 姓名 | 32 | 文本 | trxn_firstname | trxn_firstname |
2 | 邮箱 | 40 | 文本 | trxn_email_id | this is email id of the customer who is doing transaction. |
3 | 电话 | 20 | 文本 | trxn_phone | Phone number of the customer. |
4 | 优惠券选项 | 1 | 文本 | trxn_is_coupon_enabled | If the value is 0 then customer will not be able to see the coupons. If the value is 1 then customer will be able see the coupons and able to select the coupons |
5 | 客户id | 10 | 文本 | unique_id | This is customer’s unique id.不能超过10位 |
在主项目的AndroidManifest.xml文件中添加添加如下配置
<!-- wpay sdk begin -->
<activity
android:name="com.allpayx.sdk.wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity-alias
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop"
android:targetActivity="com.allpayx.sdk.wxapi.WXPayEntryActivity" />
<!-- wpay sdk end -->
消费接口专属字段
| Parameter | Type | Required | Description | Sample | | --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- | | timeout | String(10) | O | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |