有谁知道如何集成 sagepay inFrame 付款?
我需要使用他们的“inFrame”方法集成 sagepay(我被告知基本上只是他们在 iframe 中的付款形式)。他们的网站很糟糕,而且没有告诉你如何做。我假设我只需要 iframe 的 src 属性的 url,也许我在末尾添加一些 get 变量或类似的东西?但他们却忽略了如何做到这一点!
谢谢
i need to integrate sagepay using their 'inFrame' method (basically just their payment form in an iframe i'm told). Their site is abysmal though and does not tell you how to do it. I'm presuming I just need a url for the src attribute of my iframe that maybe i stick some get variables on the end of or something like that? They neglect to mention anywhere how to do it though!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚创建了一个帐户,并对他们的网站进行了两秒钟的扫描。它似乎是一种他们所谓的“服务器”集成(而不是基于表单)。
这意味着您需要在服务器与其服务之间创建安全连接来处理事务。因此,不仅仅是使用一些参数设置 src 属性;-)
http: //www.sagepay.co.uk/support/find-an-integration-document
I've just created an account and had a two second scan of their site. It appears to be a type of what they call "server" integration (as opposed to form based).
This means you will need to create a secure connection between your server and their services to handle the transactions. So a bit more than setting a src attribute with some params ;-)
http://www.sagepay.co.uk/support/find-an-integration-document
在版本 2.23 上,您使用“服务器”集成,并将 iframe src 设置为发送付款信息请求后 sagepay 返回的“NextURL”。确保将“PROFILE”设置为“LOW”,因为这将删除所有按钮并导致成功/失败 URL 返回到 iframe 父窗口(即服务器上的页面)。
On version 2.23 you use "server" integration and set the iframe src to the "NextURL" returned by sagepay after you have sent the payment information request. Ensure your set "PROFILE" to "LOW" as this will strip out all buttons and cause the success/failure URL to return to the iframes parent window (ie the page on your server).