简体   繁体   English

PayPal Cordova插件不适用于电子邮件地址

[英]PayPal Cordova Plugin doesn't work with email address

I used PayPal Cordova Plugin in my Android app. 我在我的Android应用程序中使用了PayPal Cordova插件

I'm able to record the payment on PayPal by client-id, but don't by email address. 我可以通过客户端ID在PayPal上记录付款,但不能通过电子邮件地址记录。

Where to put the email address of the merchant? 在哪里放置商家的电子邮件地址?

This is a piece of source from index.js: 这是index.js的一个源代码:

    initPaymentUI: function() {
var clientIDs = {
  "PayPalEnvironmentProduction": "YOUR_PRODUCTION_CLIENT_ID",
  //"PayPalEnvironmentSandbox": "YOUR_SANDBOX_CLIENT_ID"      
  "PayPalEnvironmentSandbox": "emailmerchant@example.com"  

};
PayPalMobile.init(clientIDs, app.onPayPalMobileInit);

There is no way of specifying the merchant email address, as the merchant is defined as being the entity with the API credentials (client_id). 无法指定商家电子邮件地址,因为商家被定义为具有API凭证的实体(client_id)。 See this GitHub issue for a similar request from other merchants. 有关其他商家的类似请求,请参阅此GitHub问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM