5.md 1.2 KB

5.渠道专属配置

5.1 EB渠道

  • 渠道专属配置: 1.将allpaysdk/EBModule文件夹下的文件add到项目中

2.Set Always embed swift standard libraries to YES from project build settings 

  ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES

3.To simply disable ATS, you can follow this steps by open Info.plist, and add the following lines:

    <key>NSAppTransportSecurity</key>
    <dict> <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>
  • 消费接口专属字段

    • 请求报文
    序号 名称 长度 类型 参数名称 备注
    1 姓名 32 文本 trxn_firstname This is name of the customer who is doing the transaction.
    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位