我最近使用以下教程实施了贝宝移动支付教程: http ://androiddevelopmentanddiscussion.blogspot.com/2014/05/paypal-integration-in-android.html
作为回应,我得到以下信息:
{
"response": {
"state": "approved",
"id": "PAY-1GM934738N157023RKR7OWYI",
"create_time": "2014-12-03T10:52:17Z",
"intent": "sale"
},
"client": {
"platform": "Android",
"paypal_sdk_version": "2.1.0",
"product_name": "PayPal-Android-SDK",
"environment": "sandbox"
},
"response_type": "payment"
}
{
"short_description": "Painting 1",
"amount": "8",
"intent": "sale",
"currency_code": "USD"
}
有人指导我如何在移动 sdk 中获取交易 ID 和其他信息?正如我所见,来自 paypal mobile sdk id 的付款与实际交易 id 不同。
任何帮助,将不胜感激。