2
我在使用Paypal IOS MSDK2.x與Kount欺詐檢查結合使用時遇到了問題。如何通過iOS MSDK2.x從PayPal獲取付款人ID?
目前MSDK2.x將在不包括信息「計費用戶標識」委託
"- (void)payPalPaymentViewController:(PayPalPaymentViewController *)paymentViewController didCompletePayment:(PayPalPayment *)completedPayment"
in this format of PayPalPayment class
{
"client": {
"environment": "sandbox",
"paypal_sdk_version": "2.0.0",
"platform": "iOS",
"product_name": "PayPal iOS SDK;"
},
"response": {
"create_time": "2014-02-12T22:29:49Z",
"id": "PAY-564191241M87KL57LXI",
"intent": "sale",
"state": "approved"
},
"response_type": "payment"
}
返回付款確認。
要與Konut合作,Kount服務器需要在查詢中提供/更新「付款人ID」。這種「計費用戶標識」可如果付款請求是通過Web表單提出在貝寶的服務器會返回此格式
"http://<return_url>?paymentId=PAY-6RV70583SB702805EKEYSZ6Y&token=EC-60U79048BN7719609&PayerID=7E7MGXCWTTKK2"
我的問題是任何人都知道如何獲得「計費用戶標識」的URL,如果獲得支付請求是從運行IOS MSDK2.x的移動設備發送的?
非常感謝。
我沒有得到使用payer_id這個?任何其他方式? –