嗨,我正在开发一个 iOS 应用程序,我正在尝试将 PayPals SDK 集成到其中。我下载并遵循了他们 github 页面上的指南https://github.com/paypal/PayPal-iOS-SDK我设置了所有内容并设置我的 client_id 和他们给我的沙盒电子邮件地址,我将环境设置为PayPalEnvironmentSandbox
. 一旦一切都通过了,我在payPalPaymentDidComplete
方法中得到了以下信息,但是,我需要比这更多的关于用户的信息。例如他们的地址,以便我知道运送到哪里,他们的姓名,他们的电子邮件等。交易完成后我如何获得这些信息?
CurrencyCode: USD
Amount: 4.27
Short Description: Prison Cards
Processable: No
Display: $4.27
Confirmation: {
client = {
environment = mock;
"paypal_sdk_version" = "1.3.5";
platform = iOS;
"product_name" = "PayPal iOS SDK";
};
payment = {
amount = "4.27";
"currency_code" = USD;
"short_description" = "Prison Cards";
};
"proof_of_payment" = {
"adaptive_payment" = {
"app_id" = "APP-1234567890";
"pay_key" = "AP-70M68096ML426802W";
"payment_exec_status" = COMPLETED;
timestamp = "2013-11-04T16:14:55Z";
};
};
}