如何设置贝宝(PayPal)沙盒“卖方"(Seller)帐户,即“买方"帐户帐户和应用程序教程 [英] How to set up a PayPal sandbox "Seller" account, a "Buyer" account and an Application Tutorial

查看:279
本文介绍了如何设置贝宝(PayPal)沙盒“卖方"(Seller)帐户,即“买方"帐户帐户和应用程序教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试建立一个使用PayPal的网站.不幸的是,贝宝​​(PayPal)开发人员站点/概念已发生重大变化,因此我发现的所有教程似乎都没有用.例如,这个(非常好) youtube教程非常清楚,它使用的是不存在的页面和功能...

I am trying to set up a Web site which is using PayPal. Unfortunately the PayPal developer site/concept is heavily changed, so all tutorials I found are seem to be useless. For example this (very good) youtube tutorial which is very clear is using not existing pages and functions...

因此,请尝试仅通过最新信息/指南来帮助我.

So please try to help me only with up to date information/tutorial.

请注意,我的问题不是有关使用API​​的问题,而是有关如何设置应用程序以及从地面测试沙箱配置的问题.

Please note my questions is not about using API, it is about how to set up an app, and a testing sandbox configuration from the ground.

1)据我了解,我必须拥有一个 real PayPal帐户,因为开发人员站点使用PayPal帐户登录(新).使用此帐户登录后,我可以创建沙箱帐户.但是,我想创建一个卖方"沙箱帐户和一个买方"沙箱帐户. (缺少我什么?)无法使用新的开发者网站.我只能创建一种沙箱帐户.在参考的视频中,有两种类型的沙箱帐户:预先配置的帐户中的卖方"和买方".还是卖方"仅指企业帐户?

1) As far as I understand I must have a real PayPal account because dev site uses PayPal account for logon (new). Logged in with this account then I can create sandbox accounts. However I would like to create a "Seller" sandbox account and a "Buyer" sandbox account. (missed I something?) Using the new developer site it is not possible. I can create only one kind of sandbox account. In the referenced video there are two types of sandbox accounts: "seller" and "buyer" in the preconfigured accounts. Or "Seller" simply means Business account?

2)我必须具有应用程序ID才能使用API​​.注意:我继承了使用经典API的有效旧代码,因此请不要使用REST.在视频(旧的PayPal开发站点)中,左侧菜单"API和付款卡凭据"在新的PayPal开发站点中没有.而是有一个我的应用程序".

2) I must have an application id to use the API. Note: I inherited a working legacy code which is using the classic API, so no REST please. In the video (old PayPal dev site) there is a left side menu "API and Payment Card credentials" In the new PayPal dev site no such thing. Instead there is a "My Apps".

我尝试设置一个应用程序.它自动批准.在其元数据中,我看到了一个实时的和一个沙箱应用程序ID.

I've tried to set up an application. It approved automatically. In its metadata I see a live and a sandbox app id.

尚不清楚:该新创建的应用程序与哪个帐户相关联?我已经使用我的真实Paypal凭据登录创建了它. 更多的: ???填写应用程序创建表单时,会有一个标题为"Supply Test Account Name and Password"的输入字段.首先,如何在 one 输入字段中键入名称​​和?其次是什么?也许如果我将此应用程序与其沙箱应用程序ID一起使用,那么该帐户将成为卖方(赚钱),如果我将应用程序ID更改为与该应用程序相关联的实时帐户,那么我的真实PayPal帐户就可以赚钱了?

What is not clear: To what account is associated this newly created app? I've created it logged in with my real paypal credentials. More: ??? When filling the app creation form there was an input field titled: "Supply Test Account Name and Password". First of all how can I type the name and a password to one input field? Secondly What is it? Maybe if I use this app with its sandbox app id then this account will be the Seller (got the money) and if I change the app id to the live one associated this app, then my real PayPal account got the money?

但是我的目标是完全模拟付款过程,所以

However my goal was to completely simulate the payment process so

1)创建一个卖方沙盒帐户(获得API凭据) 2)将应用程序与该卖方帐户相关联,并获取应用程序ID. 3)创建一个买方沙箱帐户

1) Create a Seller sandbox account (got API credentials) 2) Associate an application to that Seller account, and get the app id. 3) Create a buyer sandbox account

4a)使用卖方API凭据和沙箱应用ID配置我的网站 4b)使用我的网站,PayPal API和2个沙盒帐户来安排购买过程

4a) Configure my web site with Seller API credentials and sandbox app id 4b) Orchestrate a buy process using my website, PayPal API and the 2 sandbox account

5)检查卖方和买方沙盒帐户的交易.

5) Check the Seller and Buyer sandbox account's transactions.

预先感谢

推荐答案

卖方帐户=企业帐户

买方帐户=个人帐户

您可能只需要在沙箱中创建一个.

You probably only need to create one of each in the sandbox.

您可以通过在沙盒帐户列表中查看其配置文件"并单击相应的标签来获取卖方帐户的API凭据.

You can get the API credentials of the seller account by viewing its "Profile" within your list of sandbox accounts and clicking on the corresponding tab.

这篇关于如何设置贝宝(PayPal)沙盒“卖方"(Seller)帐户,即“买方"帐户帐户和应用程序教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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