通过 PayPal iOS SDK 进行 PayPal 实时交易的问题 [英] Issues in PayPal live transaction via PayPal iOS SDK

查看:94
本文介绍了通过 PayPal iOS SDK 进行 PayPal 实时交易的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 iPad 版本 7.x 开发 iOS 应用程序.我们需要通过应用程序执行 PayPal 交易.我们包含了 PayPal iOS SDK 并参考了他们的示例代码来执行交易.

I am developing an iOS application for iPad, version 7.x. We Need to perform PayPal transaction via the application. We included PayPal iOS SDK and referring their sample code to perform the transaction.

示例代码放在这里

  1. 客户账户中有足够的资金
  2. 此外,我们有适当的客户 ID 和密钥,用于转移资金.
  3. 收款人和付款人都有真实账户.
  4. 通过他们的沙盒帐户交易成功

在调试代码后,我们发现可以创建付款.但是,在付款即将获得批准时出现错误.

Upon debugging the code, we found that we are able to create the payment. However, we get error while the payment is about to be approved.

这里是错误详情

PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: 3e8087cbf6bd1 [live, PayPal iOS SDK 2.1.2]

是否需要在代码中包含任何特定配置以进行实时交易?或者在其中一个帐户中是否需要进行特定配置?或者是否缺少 PayPal iOS SDK 提供的示例代码?请指教.

推荐答案

我们与 PayPal 技术支持团队讨论了这个问题,这里是 FIX:

We discussed this issue with PayPal Technical Support team, and here was the FIX:

We’ve found the issue is actually not with buyer account, some flag was not updated for merchant account "XXX@YYY.com" due to a bug which had in our system at the time it was created.

The fastest workaround to resolve this would be if you could please add another email to same account "XXX@YYY.com". 

Steps to add another email address to  "XXX@YYY.com" :
Please login to the PayPal account.
Click on Profile—> Email address. Add another email address.

这解决了我们的问题.

这篇关于通过 PayPal iOS SDK 进行 PayPal 实时交易的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆