首页 \ 问答 \ 没有PayPal帐户的电子邮件的PayPal错误(PayPal Errors for Emails without a PayPal Account)

没有PayPal帐户的电子邮件的PayPal错误(PayPal Errors for Emails without a PayPal Account)

我正在构建一个网站,其中一个用户可以使用PayPal从另一个用户购买商品。 当我只处理IPN和界面时,我希望钱直接从一个到另一个。 我已设置加密按钮以使用cmd = _s-xclick和加密数据: cmd = _xclickbusiness =卖家的电子邮件和email =买家的电子邮件。 我在完成交易时遇到了一些问题。 例如, User A有一个PayPal帐户, User B没有。 两者都有由对方用户购买的物品。 点击User A的“使用PayPal付款”按钮(购买User B的商品)可获得:

“商家不是商家或首要的PayPal帐户。此功能仅适用于商家或首要PayPal帐户持有人。”

点击User B的“使用PayPal付款”按钮(购买User A的商品)可获得:

我们无法授权交易。 请联系您的商家。

  1. 我假设第一条消息是因为User B没有PayPal帐户,但我认为PayPal仍会接受付款并将其保存在临时帐户中,直到该用户注册为止。
  2. 我还假设第二条消息也是因为买方(在这种情况下是User B )没有PayPal帐户。 但我认为PayPal会给他们选择在那里创建一个或使用信用卡进行支付。

我错过了什么(例如,我需要传递一个不同的变量)吗? 或者,在允许用户购买/销售商品之前,我必须以某种方式确认用户拥有PayPal帐户。

PS:我很确定,但我必须确认,如果双方都有PayPal账户并且卖家是商业/高级账户,那就有效。


I'm building a site where one user can use PayPal to buy an item from another user. I want the money to go directly from one to the other while I just handle the IPN and the interface. I've set up the encrypted button to use cmd = _s-xclick and for the encrypted data: cmd = _xclick, business = the email of the seller and email = the email of the buyer. I'm having some issues completing the transaction. For example, User A has a PayPal account, User B does not. Both have an item being purchased by the opposite user. Clicking the "Pay with PayPal" button for User A (to buy User B's item) yields:

"The merchant is not a business or premier PayPal account. This feature is only enabled for a business or a premier PayPal account holder."

Clicking the "Pay with PayPal" button for User B (to buy User A's item) yields:

We were unable to authorize the transaction. Please contact your merchant.

  1. I'm assuming the first message is because User B does not have a PayPal account, but I thought that PayPal will still accept the payment and hold it in a temporary account until that user signs up.
  2. I'm also assuming that the second message is also because the buyer (in this case User B) doesn't have a PayPal account. But I thought PayPal would just give them the option to create one right there or use a credit card to make the payment.

Am I missing something (e.g. is there a different variable I need passed)? Or do I have to somehow confirm that a user has a PayPal account before allowing them to buy/sell an item.

PS: I'm pretty sure, but I'll have to confirm, that it works if both parties have PayPal accounts and the seller is a business/premium account.


原文:https://stackoverflow.com/questions/14095171
更新时间:2022-05-13 13:05

最满意答案

head标记用于描述元数据和有关文档的重要信息。 显示的内容是不可见的。

您的p标签应位于body标签下,而不是head标签下。

您的想法可能是您网页的header部分,它包含在您的正文标记下。

此外,您的CSS声明应该在他们自己的单独文件中进行。 这是您的代码应该是什么样子

<html>

  <head>
      <link rel="stylesheet" href="styles.css">
  </head>

  <body>
    <header>
    </header>
    <p>Hi there!</p>
  </body>
</html>

styles.css的

body {
  background-color: lightblue;
}

header {
  background-color: lightgreen;
}

The head tag is used to describe metadata and important information about your document. What shows up there is not visible.

Your p tag should be under the body tag, not the head tag.

What you are thinking of is probably the header section of your webpage, which is included under your body tag.

Also, your css declarations should take place in their own separate file. Here is what your code should look like

<html>

  <head>
      <link rel="stylesheet" href="styles.css">
  </head>

  <body>
    <header>
    </header>
    <p>Hi there!</p>
  </body>
</html>

Styles.css

body {
  background-color: lightblue;
}

header {
  background-color: lightgreen;
}

相关问答

更多