无法为 paypal REST API 创建应用程序 [英] Can't create app for paypal REST API

查看:19
本文介绍了无法为 paypal REST API 创建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已登录开发者网站,但是当我转到应用程序页面来创建我的应用程序时,我看到以下错误消息:

I've signed in to the developer website but when I go to the apps page to create my app I see the following error message:

Problem creating sandbox facilitator account [Error code: 2001]

当我查看沙箱帐户页面时,我看到那里有一个服务商帐户 (xxx-facilitator@xxxx.xxx)

When I look on the sandbox accounts page I see there is a facilitator account there (xxx-facilitator@xxxx.xxx)

当我单击创建应用程序"按钮时,沙盒开发者帐户"下拉列表为空,当我尝试创建应用程序时,我收到以下错误消息:

When I click the "create app" button the "sandbox developer account" dropdown is empty and when I try to create an app I get the following error message:

We’re sorry, but something went wrong while creating the application. Please try again.

到目前为止我已经:

  1. 创建了新的沙盒用户
  2. 向 paypal 的技术支持提交了一个查询(没有回复)
  3. 留了一天再试
  4. 已登录、已注销...

推荐答案

我遇到了同样的问题.沙盒开发者帐户"下拉框没有条目,尽管我之前已经设置了帐户 - 所以我无法创建应用程序.经过一些反复试验,我终于找到了一种在 html select 中注入有效选项的方法,并最终成功创建了应用程序.

I had the same problem. The "Sandbox developer account" dropdown box had no entries although I had set up accounts before - so I couldn't create an app. After some trial and error hacking I finally found a way to inject a valid option in the html select and successfully created the app in the end.

方法如下:

登录您的 developer.paypal.com 个人资料并转到 Sandbox - Accounts.

Log in to your developer.paypal.com profile and go to Sandbox - Accounts.

只需使用 Firefox 中的 Firebug 或 Chrome 中的开发者工具来检查来源:检查您的 BUSINESS 帐户的来源,您会发现如下代码行:

Just use Firebug in Firefox or Developer Tools in Chrome to examine the source: Check the source of your BUSINESS account and you will find a code line like this:

<a class="profile" target="/developer/accounts/detail/2297102045097598612">Profile</a>

记下 ID(例如 2297102045097598612)、国家/地区代码(例如美国)和电子邮件地址.

Note the id (e.g. 2297102045097598612), the country code (e.g. US) and the email address.

现在转到仪表板 - 我的应用程序 &凭据并按创建应用程序"

Now go to Dashboard - My Apps & Credentials and press "Create app"

打开 Firebug/Dev.工具并检查沙盒开发者帐户"下拉框.右键单击 dom 中的空选择,然后选择编辑为 HTML".输入一个带有您之前记下的值的选项标签,就像这样:

Open Firebug/Dev. Tools and examine the "Sandbox developer account" dropdown box. Right-Click the empty select in the dom and choose "Edit as HTML". Enter an option tag with your formerly noted values, just like this:

<option value="2297102045097598612,email@domain.com">email@domain.com (US)</option>

检查该选项现在是否出现在下拉框中.

Check that the option now appears in the dropdown box.

在应用名称"字段中输入名称,然后按创建应用".

Enter a name in the "App name" field and press "Create app".

就是这样.希望我能帮上忙.

That's it. Hope I could help.

这篇关于无法为 paypal REST API 创建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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