【发布时间】:2014-08-22 08:46:16
【问题描述】:
我想使用 PayPal iOS SDK 进行授权支付,但似乎 PayPal 忽略了我提供的 intent。
我将intent 设置为authorize
[payment setIntent:PayPalPaymentIntentAuthorize];
但该对象始终返回sale 付款。
Confirmation: {
"client" : {
"environment" : "mock",
"product_name" : "PayPal iOS SDK",
"paypal_sdk_version" : "2.1.0",
"platform" : "iOS"
},
"response_type" : "payment",
"response" : {
"id" : "PAY-6RV70583SB702805EKEYSZ6Y",
"state" : "approved",
"create_time" : "2014-07-01T17:11:11Z",
"intent" : "sale"
}
}
有什么办法解决这个问题?
【问题讨论】: