0

我在让 PayPal 捐赠按钮工作时遇到了很大的麻烦,因为我想在表单标签之间添加。因此,如果 PayPal 按钮本身具有自己的表单标签和操作,但是在我的表单标签之间插入时,它正在执行我的表单操作并完全忽略 PayPal 自己的表单操作,该操作停止将 donner 带到 Paypal 页面。

现在的限制是我不能移动 PayPal 按钮,也不能移动我自己的表单标签或操作,所以请指导我。

4

1 回答 1

1

You can't embed a form within a form, which is why you're having the trouble you're having.

One thing you can do to fix the issue is to make your form post to a final confirmation page which would then post to PayPal.

If you want to avoid the final confirmation page you could make your form post to a processor script like PHP that generates the request to PayPal and sends the user over there accordingly. The Express Checkout API is great for this sort of thing, but you would need to be familiar with web services in order to utilize that.

于 2013-01-21T00:35:33.067 回答