简体   繁体   English

贝宝链接付款按钮?

[英]PayPal Chained Payments Button?

This is the current code I use for PayPal buttons: 这是我用于PayPal按钮的当前代码:

<form name="_xclick" action="https://www.paypal.com/us/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="me@mybusiness.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Product Name">
<input type="hidden" name="amount" value="19.95">
<input type="image" src="pay-button.png" name="submit">
</form>

However, I need to integrate PayPal Adaptive Chained payments on my HTML website. 但是,我需要在HTML网站上集成PayPal自适应链式付款。 In the code above it's simple, I enter my email address, name of the product, and the amount it costs. 在上面的代码很简单,我输入了我的电子邮件地址,产品名称及其费用。

Is there any way to create a simple button like this for chained payments via PayPal? 有没有办法通过PayPal为链接式付款创建这样的简单按钮? I simply want the primary PayPal account sent 85% and the secondary account sent 15%. 我只是希望主要PayPal帐户发送85%,而次要帐户发送15%。 Is there simple code that could be used to create a button like this? 有没有简单的代码可用于创建这样的按钮? Where simply the emails, percentages, and price can be entered? 仅在哪里可以输入电子邮件,百分比和价格?

I've tried search PayPal's developer area, but a lot of that seems way over my head for what I'm trying to do - creating a simple button :) I know that I have to enter my app information somewhere in the code and it's a bit different from standard payments. 我已经尝试搜索PayPal的开发人员区域,但是对于我想做的事情,似乎很多事情都无法解决-创建一个简单的按钮:)我知道我必须在代码中的某个地方输入我的应用程序信息,与标准付款有点不同。 But I can't seem to find any simple code for this... 但是我似乎找不到任何简单的代码...

Any help that anyone can provide for this would be extremely helpful. 任何人都可以为此提供的帮助将非常有帮助。 I've been searching for sample code all day and can't really find anything that does what I want. 我整天都在寻找示例代码,但找不到真正能满足我需求的东西。

Chained Payments is a part of Adaptive Payments , which is a subset of PayPal Payments Pro (subscription required to process credit cards), which is entirely API based. 链接式付款Adaptive Payments的一部分,它是PayPal Payments Pro (处理信用卡所需的订阅)的子集,完全基于API。

There is no comparable system in Payments Standard (which is what you're using in your example) Payments标准中没有可比的系统(您在示例中使用的系统)

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

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