Paypal 与现有网站的整合

标签 paypal

我正在寻找一种将 PayPal 集成到我现有的非营利性网站的简单方法。我尝试按照 PayPal (https://www.paypal-labs.com/integrationwizard/ecpaypal/code.php) 提供的确切步骤进行操作,但没有成功使其工作。也许我错过了页面之间的关键联系,但我一无所知。

任何帮助(教程、示例、分步指南...)将不胜感激。

问候!

最佳答案

如果您使用 PHP,您可以使用 PHP Payment Library :

配置非常简单:

HTML

<form method="post" action="payment/paypal_start.php">
    <input type="text" name="item_name" />
    <input type="text" name="amount">
    <input type="submit" />
</form>

paypal_start.php

(开始片段 1 - 总共 6 个片段)

// Include the paypal library
include_once ('Paypal.php');

// Create an instance of the paypal library
$myPaypal = new Paypal();

// Specify your paypal email
$myPaypal->addField('business', 'your@mail.com');

// Specify the currency
$myPaypal->addField('currency_code', 'EUR');
...

关于 Paypal 与现有网站的整合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8081967/

相关文章:

php - 将自定义 php 网站与 paypal 集成?

php - Paypal 一个用户支付给门户和门户支付给另一个用户

Opencart Paypal Express Checkout L_ERRORCODE0=10486

paypal - 在网站使用Paypal接受信用卡支付

curl - 如何在 Windows 7 32 位上运行 paypal 的 cURL 示例?

paypal - notify_url 在 PayPal 中不再工作

paypal - Magento 1.7.2 订单处理问题

paypal - Paypal NVP Masspay 响应中的唯一交易引用

paypal - 多店的最佳解决方案是什么?

android - 在集成 paypal 时,不允许在 android 中向该商家付款