Returns
Method |
|---|
public String getPaymentData() 获取订单数据的JSON字符串。 说明: 仅在使用createPurchaseIntentWithPrice接口时返回,使用createPurchaseIntent接口时不返回。 |
Returns
Method |
|---|
public String getPaymentSignature() 该方法返回使用IAP私钥签署订单数据(getPaymentData方法返回的字符串)生成的签名字符串,签名算法为SHA256WithRSA。 说明: 仅在使用createPurchaseIntentWithPrice接口时返回,使用createPurchaseIntent接口时不返回。 应用在收到该签名字符串后,请参见对返回结果验签对订单数据的JSON字符串校验签名,成功后再继续拉起IAP收银台。 |
Returns
Returns