问题标签 [opayo]
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.
php - 从 xml 文件中读取(Sage Pay Reporting API)
我想这个问题不是 Sage Pay 特定的问题,尽管它与我的问题有关,所以希望你能帮助我解决这个棘手的问题。
这是我想要做的:
- 主要任务是从 Sage Pay Reporting API 检索数据 - 就像一个魅力
- 从 xml 输出文件中读取并收集变量 - 不工作
下面的代码确实显示了将我重定向到 Sage Pay 站点后的交易列表,但我只是不知道如何获取例如单笔交易的金额并将其存储。
这是xml 输出的样子:
任何答案/解决方案?我感谢您的帮助!
php - Sagepay / codeigniter / iFrame
我真的很难找到任何有关如何将 Sagepay 付款表格嵌入到我自己网站上的 iframe 中的工作示例。我知道这是可能的,但 Sagepay 文档非常差,因为他们喜欢保持“通用”。PHP/Codeigniter 中的任何示例将不胜感激。请注意,我不希望存储任何卡详细信息等,这就是我想使用 sagepay 服务器选项的原因。
有没有人设法获得一个带有 sagepay 屏幕的 iframe。
这太令人沮丧了
问候
詹姆士
azure - Configuring an IP address for SagePay Direct when using Windows Azure
I've entered the IP address from the Windows Azure Portal (both the one specified in the website Dashboard or within the Manage Domains area) but when trying to use SagePay Direct it returns that it is not a valid IP address.
I eventually solved this by doing a "showpost" for SagePay and then having to tell me what the IP address is.
The problem is - how can I determine this IP address for myself? As I worry that the IP address could change in the future.
If I use "Request.ServerVariables("LOCAL_ADDR")" (Classic ASP) it seems to return the local IP address of the webserver.
ssl - Sagepay Direct 和 Cloudflare
我正在寻找集成 Sagepay Direct,他们的现场支付网关选项,但我读到它需要 SSL 证书才能安全数据传输。Cloudflare pro DNS SSL 是这种付款方式的有效选项,还是我需要真正的现场 SSL?
c# - c# AES解密
我正在使用 SagePay Forms,目前正在将他们必须的 VB 示例转换为 c#。我已经取得了很好的进展,所以我的项目的加密部分工作正常(SagePay 可以解密它)。
我遇到的问题是,当我尝试解密字符串时,它变成了垃圾。如果有人在我之前做过这件事,我会非常感谢我的解密代码的帮助。我已经包含了有效的加密代码,前两行是设置和从另一种方法调用。
我还没有添加 VB 代码,但如果需要,我可以添加它。如果不需要,不想要一个巨大的帖子。
实用方法:
主要加密方法,前几行是从更大的方法中提取的调用它。
解码和解密方法
php - Why am I getting the error "4020 : Information received from an Invalid IP address." from SagePay?
This is a PHP (Zend Framework 1.11) site, not using an off-the-shelf package. When the request to:
(with a TxType
of PAYMENT
), I get the following response:
I have logged in to the SagePay admin area and added the IP address of the live server to the Valid IPs section and I've made sure it's using the correct SagePay URL to post to and.
An important note is that this issue started this morning, when we changed the SagePay account that payments get sent to, by changing the Vendor
attribute.
Update: This same account (vendor) is used on other accounts with the Form integration method, but the site in question used the Server integration method. Can individual accounts support multiple different payment methods like this, or does one need to activate the other? I don't see any options relating to this in the admin panel.
php - Sagepay 协议 3 模板和语言
我们希望通过其模板和多语言支持来实施 Sagepay 的协议 3。我能找到任何东西给我一个关于你如何使它成为多语言的线索,而且文档也没有说吗?
有人做过吗?
magento - 通过 SagePay 成功完成 Magento 付款后,客户将被重定向到空购物篮页面。为什么?
作为一个团队,我们目前正在调查一个奇怪的事件。noItems.phtml
它似乎并不适用于所有订单,但根据我们添加到页面的日志记录,它正在影响大量客户。
请注意:我并不真正期待答案,因为我认为这是我们必须根据插件和我们的服务器配置(用于负载平衡的三台服务器)自己解决的问题。但是,我正在寻找可能的想法和/或这是否有人以前遇到过。
到目前为止我们所做的,以及我们所知道的:
- 用户在 SagePay iFrame 中输入他们的卡详细信息;
- 用户通过 SagePay 购买商品——下单成功;
- 部分用户被送回成功页面;
- 一些用户没有看到成功页面(打电话确认少数),而是返回到空篮子;
我们仍在调查,但我们发现用户返回到空购物篮页面的方式非常奇怪。我们添加了日志记录noItems.phtml
,我们可以看到一些用户在成功交易后被分配了另一个会话 ID。这似乎是问题所在,但为什么在 SagePay 付款后为用户分配了另一个会话 ID 并不容易理解。
其他人是否遇到过与 SagePay/Magento 类似的问题?如果是这样,您采取了哪些步骤来解决?
amazon-web-services - 如何使用 Sagepay (Direct) 与 AWS Loadbalanced 的集成
我有一个 ASP.NET MVC 应用程序,我们通过 AWS 上的弹性负载均衡器设置它,效果很好。
但是,要通过 Sagepay Direct 集成进行在线支付,我们必须在“主”实例上设置一个弹性 IP。这是因为 Sagepay 只允许来自已知 IP(或我相信的 IP 范围)的请求,据我所知,您永远不会知道负载均衡器向您抛出的实例的 IP。
在你问之前,Sagepay 不允许我添加 A 或 C 记录 :(
我可以忍受这一点,但是随着我的应用程序变得越来越忙,很遗憾我无法对支付系统进行负载平衡并利用云设施(自动缩放等)
关于如何实现这种情况的任何想法?
php - Sagepay 发放付款
我使用 SagePay Direct 延期付款进入 SagePay。准备好后,我希望能够从我的系统中释放这些付款,而不是登录 MySagePay 来完成。
我与 SagePay 支持人员交谈过,他们告诉我报告和管理 API 可以做到这一点,但我找不到任何方法可以指代实际发放付款。
有谁知道这是可能的方法,以及是否有任何用于报告和管理 API 的 PHP 包装器来节省我自己的编写。
提前干杯!