没有PayPal帐户的电子邮件的PayPal错误(PayPal Errors for Emails without a PayPal Account)
我正在构建一个网站,其中一个用户可以使用PayPal从另一个用户购买商品。 当我只处理IPN和界面时,我希望钱直接从一个到另一个。 我已设置加密按钮以使用
cmd
=_s-xclick
和加密数据:cmd
=_xclick
,business
=卖家的电子邮件和User A
有一个PayPal帐户,User B
没有。 两者都有由对方用户购买的物品。 点击User A
的“使用PayPal付款”按钮(购买User B
的商品)可获得:“商家不是商家或首要的PayPal帐户。此功能仅适用于商家或首要PayPal帐户持有人。”
点击
User B
的“使用PayPal付款”按钮(购买User A
的商品)可获得:我们无法授权交易。 请联系您的商家。
- 我假设第一条消息是因为
User B
没有PayPal帐户,但我认为PayPal仍会接受付款并将其保存在临时帐户中,直到该用户注册为止。- 我还假设第二条消息也是因为买方(在这种情况下是
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 andUser 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 forUser A
(to buyUser 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 buyUser A
's item) yields:We were unable to authorize the transaction. Please contact your merchant.
- 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.- 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
最满意答案
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 thebody
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; }
相关问答
更多-
我认为很多开发人员在之前运行javascript,以便在渲染所有元素后运行。 但是,如果您正确组织代码,页面上的位置并不重要。 例如,当使用jQuery时,您可以确保代码不会运行,直到页面及其元素通过执行以下操作完全呈现: $(document).ready(function(){ //Code here }); 然后可以将脚本引用放在head标中。 更新 - 脚本标签应该在