问题标签 [express-checkout]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
411 浏览

paypal - Switch from WPS to Express Checkout?

I currently have a Website Payments Standard checkout process for purchasing annual subscriptions & standalone virtual products, which in its simplest form;

  • Collects a few basic details about the customer & logs a new purchase in a database on my site
  • Uses the trick of preparing a webform that auto-submits to PayPal on the client-side, using the custom field to track & verify the purchase with IPN

As I understand, with Express I could

  • Cut out the form technique & tighten my application, initiating the request server-side & then send the user straight to PayPal
  • Process the payment instantly when the customer is returned (no waiting on possible IPN delays - though I know I can counter for this with auto-return PDT)
  • Manage subscriptions on-site (not required, but acknowledged as a benefit)

However, I am aware of the additional work involved, particularly with recurring payments.

Would you argue it's worth it for the gains? Or is what I'm doing acceptable*, given the requirements?


*I've always been concerned about exposing the transaction in a standard PayPal webform, which is why I like the idea of Express, but I'm rigorously validating IPN calls; do I have any genuine reason to worry?

0 投票
1 回答
518 浏览

paypal - Paypal 自适应付款 - 完成付款

无论如何让用户在我的网站上而不是在 paypal.com 上完成付款?我想在发送最终授权之前运行一个脚本(不仅仅是在重定向和登录到贝宝之前)。

我知道 IPN 会有所帮助,但不会完全满足竞争条件。

我知道 Express checkout 可以做到这一点,但我需要有人支付给别人,而不是直接支付给我自己。如果我没看错的话,我不认为这就是 Express checkout 的工作方式。

0 投票
3 回答
30933 浏览

php - Paypal API:购物车项目总金额与订单金额不匹配

我正在使用 paypal express checkout API 并且在设置数量时遇到问题。以下是我的 URI 参数:

如果 L_PAYMENTREQUEST_0_QTY0 设置为 1,则该过程很好。但是,将其更改为 2 并将 'PAYMENTREQUEST_0_ITEMAMT' => "100.00" 添加到数组中会给我以下错误:

我已经尝试了几个小时来修复它并放弃了。有人可以强调我需要做些什么才能让它工作吗?

0 投票
1 回答
644 浏览

button - PayPal 快速结帐按钮 - 是否有不同的变化/颜色?

为了使用 Express Checkout,我必须使用PayPal 服务器上的按钮。但它只提供一种按钮样式:https ://www.paypal.com/express-checkout-buttons 。在深色背景下看起来真的很糟糕。是否有另一个“官方”页面提供更多样式(例如,类似于 FB 为 LIKE 按钮提供的内容)?

谢谢你。

0 投票
1 回答
1497 浏览

paypal - PayPal Express Checkout - 如何正确获取送货地址(用于计算运费)?

我需要在去贝宝快递结账之前获取买家的送货地址,以便我可以正确估算运费。据我了解,我需要使用快速结帐的“付款流程”选项 - 请转到https://www.paypal-labs.com/integrationwizard/ecpaypal/intro.php并单击“付款流程”选项卡看见。

问题是:如果我在购物车屏幕(第一个)上有“使用 PayPal 结帐”按钮并且用户单击它 - 那么用户将不会被重定向到 PayPal 页面,而是会转到我网站上的“输入您的送货地址”页面. 只有在该用户将重定向到 PayPal 页面之后。我认为这很令人困惑,并且可能违反了 PayPal 规则。我对吗?在这种情况下,正确的工作流程应该是什么样子?

谢谢你。

0 投票
1 回答
1010 浏览

php - Paypal - ExpressCheckout - 购物车项目总金额与订单金额不匹配 (10413)

我正在使用以下内容并一遍又一遍地遇到相同的错误;并注意:AMT 和 ITEMAMT = $paymentAmount。

看在 $deity 的份上,我无法理解为什么金额不匹配。

for 循环返回:

&L_PAYMENTREQUEST_0_NAME0=HAMSÁ 手链戒指

&L_PAYMENTREQUEST_0_AMT0=9

&L_PAYMENTREQUEST_0_QTY0=1

0 投票
1 回答
2755 浏览

payment-gateway - 禁用 Paypal Express Checkout 中的地址字段

我正在努力使 Paypal Express Checkout 体验对我的客户的干扰最小,所以理想情况下我希望他们只提供他们的支付卡信息。

默认情况下,Paypal 也会要求提供完整的客户地址 + 电话号码。

我确实读过这个问题:Disable shipping address option in PayPal Express Checkout,但现在这个解决方案只是删除了第二页上的地址确认,而不是获取卡信息的页面上的地址字段。

这可能吗?

0 投票
1 回答
2153 浏览

paypal - Paypal Express Checkout API:DoExpressCheckoutPayment 会失败吗?

我即将将Paypal Express Checkout集成到在线食品订购系统中。我目前对流程的看法如下:

  • SetExpressCheckout被调用,并且客户被重定向到带有令牌的 Paypal。
  • 客户批准付款后,他将被重定向到等待页面,同时将订单发送到餐厅。
  • 收到餐厅回复后,会发生以下情况:
    • 如果订单被批准,DoExpressCheckoutPayment则调用并完成付款;
    • 如果订单被拒绝,则付款永远不会完成。

这让我想知道,是否有可能DoExpressCheckoutPayment失败,并且无法以任何理由提取资金?因为在我的情况下,取消已经发送到餐厅的订单为时已晚。

我应该PAYMENTACTION=Authorization改用,然后获取/取消授权吗?由于资金可以保留3天,而我只需要几分钟的时间来决定,这看起来有点矫枉过正。

0 投票
1 回答
2321 浏览

paypal - 在哪里可以找到 Paypal Express Checkout 的最新版本 + 最新文档?

我正在一个网站上实现 Paypal Express Checkout,但对于我是否使用最新的 API 版本和最新的文档有点怀疑。

Paypal 网站上的文档指向这些文件:

我可以说他们并没有引用最新的 API 版本,因为他们使用的是本页面认为已弃用的字段 ( AMT, PAYMENTACTION, ...)

所以我的问题是:

  1. 在哪里可以确保始终浏览最新的Express Checkout 文档?
  2. 在哪里可以找到可用的最新版本号 ( XX.0)?
0 投票
1 回答
883 浏览

codeigniter - 通过 Codeigniter 使用 Paypal Express Checkout 数字商品

我正在尝试在 Codeigniter 网站上实施 Paypal 的数字商品快速结账。

我正在使用 mod rewrite 将 index.php 从 Codeigniter URL 中取出,因此当 Paypal 在末尾附加 ?token=xxxx 回调我的网站时,我收到 404 错误。

当 Paypal 向网站执行此回调时,事件流会卡住。弹出窗口出现,但只是停留在“正在加载...”。

任何帮助将不胜感激。

编辑:我刚刚将配置文件中的 uri_protocol 更改为:

现在我可以访问 $_GET 变量,但弹出的窗口仍然不会超过“正在加载...”。