E commerce PayPal自适应支付API,多个接收者,哪个apiUsername/apiPassword/apiSignature?

E commerce PayPal自适应支付API,多个接收者,哪个apiUsername/apiPassword/apiSignature?,e-commerce,paypal,paypal-sandbox,paypal-adaptive-payments,E Commerce,Paypal,Paypal Sandbox,Paypal Adaptive Payments,我正在一个电子商务平台上工作,该平台将允许买家从多个商店购买产品,并使用Paypal(统一结账)一次性付款结账。我的情景与此完全相同: 应用程序的流程将是在我们的网站上开始结帐,然后重定向到Paypal供用户支付,然后重定向回我们的网站。像这样: 我的困惑在于传递给API的凭据 Dictionary<string, string> configMap = new Dictionary<string, string>(); configMap = GetConfig(

我正在一个电子商务平台上工作,该平台将允许买家从多个商店购买产品,并使用Paypal(统一结账)一次性付款结账。我的情景与此完全相同:

应用程序的流程将是在我们的网站上开始结帐,然后重定向到Paypal供用户支付,然后重定向回我们的网站。像这样:

我的困惑在于传递给API的凭据

Dictionary<string, string> configMap = new Dictionary<string, string>();

configMap = GetConfig();

// Signature Credential
configMap.Add("account1.apiUsername", "jb-us-seller_api1.paypal.com");
configMap.Add("account1.apiPassword", "WX4WTU3S8MY44S7F");
configMap.Add("account1.apiSignature", "AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy");
Dictionary configMap=new Dictionary();
configMap=GetConfig();
//签名凭证
configMap.Add(“account1.apiUsername”,“jb-us-seller_api1.paypal.com”);
configMap.Add(“account1.apiPassword”、“WX4WTU3S8MY44S7F”);
configMap.Add(“account1.apiSignature”、“afcwxv21c7fd0v3byyyrcpssrl31a7ydhshpuu2xhtmozxswhfxu RWy”);
这些是谁的API凭据?当然,我们不会让买家在他们的PayPal帐户中生成API密钥。如果是商户(接收者),如果我们有2个接收者的话会怎么样?我是否这样做:

Dictionary<string, string> configMap = new Dictionary<string, string>();

configMap = GetConfig();

// Signature Credential
configMap.Add("account1.apiUsername", "jb-us-seller_api1.paypal.com");
configMap.Add("account1.apiPassword", "WX4WTU3S8MY44S7F");
configMap.Add("account1.apiSignature", "AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy");

configMap.Add("account2.apiUsername", "jb-us-seller_api1.paypal2.com");
configMap.Add("account2.apiPassword", "WX4WTU3S8MY44S7F2");
configMap.Add("account2.apiSignature", "AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy2");
Dictionary configMap=new Dictionary();
configMap=GetConfig();
//签名凭证
configMap.Add(“account1.apiUsername”,“jb-us-seller_api1.paypal.com”);
configMap.Add(“account1.apiPassword”、“WX4WTU3S8MY44S7F”);
configMap.Add(“account1.apiSignature”、“afcwxv21c7fd0v3byyyrcpssrl31a7ydhshpuu2xhtmozxswhfxu RWy”);
configMap.Add(“account2.apiUsername”,“jb-us-seller_api1.paypal2.com”);
configMap.Add(“account2.apiPassword”,“WX4WTU3S8MY44S7F2”);
configMap.Add(“account2.apiSignature”、“AFCWxV21C7FD0V3BYYRCPSSRL31A7YDHSPUU2XHTMOZXSWHFXU-RWy2”);
或者我们需要从我们的PayPal业务帐户生成一个apiUsername、apiPassword和apiSignature并使用它吗


我们没有从买家那里拿钱,我们只是一个中间人,在这一点上连接买家和卖家。所有费用都将转交给接收者。

我希望这些不是您实际的live API凭证。如果是,请立即将其从该线程中删除


至于设置自适应支付应用程序,您的应用程序将使用您的API凭据。然后,您将使用Permissions API(或让用户从其PayPal帐户配置文件手动执行此操作),让用户为您的应用程序授予权限,以代表他们拨打电话。通过这种方式,您可以使用自己的凭据从第三方帐户汇款。

Thx获得回复!我帖子中的凭据来自PayPal SDK:-)