Sagepay iframe 集成 - 账单地址
我正在考虑为我的网站使用 iframe(低调)Sagepay 集成。我对此有几个问题:
- 是否可以在 iframe 中不显示帐单地址字段?
- 是否可以在支付页面自行操纵交易金额?例如,如果该值是 100 英镑,并且通过 iframe 外部的选择下拉框,我通过 javascript 向该值添加另外 2.00 英镑,如何将此值传递给 iframe?
I am considering using the iframe (low profile) Sagepay integration for my site. I have a few questions regarding it:
- Is it possible to NOT have the billing address fields show up in the iframe?
- Is it possible to manipulate the transaction value on the payment page it self? SO for example, if the value was £100, and via a select dropdown box outside the iframe,I add another £2.00 to the value via javascript, how do I pass this value to the iframe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关于第一点:-您可以在 iframe 页面之前设置帐单地址页面。您可以选择自定义 Low Profile 页面(包括“NoAddress”选项),以便付款页面的外观和风格与您自己的页面相似地点。
要进行编辑,您需要下载自定义模板并执行以下操作
此包中的默认模板提供地址字段,购物者可以在付款页面上编辑这些地址字段。如果您希望限制这一点,您还可以选择将地址设置为只读,甚至在付款页面上根本不显示地址。
Card_Details.xslt 和 Card_Details_Low.xslt 文件分别为 XSLT_AddReadOnly 和 XSLT_NoAddress 目录中的只读和无地址支付页面提供。默认 XSLT 目录包含带有地址字段的默认文件,购物者可以修改这些文件。如果您希望使用地址只读模板或没有地址的模板,只需从 XSLT_AddReadOnly 或 XSLT_NoAddress 目录复制相关文件并粘贴到 XSLT 目录中即可。
注意:请确保仅将 Card_Details.xslt 和 Card_Details_Low.xslt 文件的一份副本返回给客户服务团队,以确保不会混淆您希望上传的模板。
Regarding the first point:-You can have the billing address page before iframe page.You have the option of customising the Low Profile pages, (including ‘NoAddress’ options) so that the look and feel of the payment pages is similar to your own site.
For editing you need to download customtemplate and do the following things
The default templates within this pack offer address fields which can be edited by the shopper while they are on the payment page. Should you wish to restrict this, you also have the option of setting the address to read-only or even show no address on the payment page at all.
Card_Details.xslt and Card_Details_Low.xslt files are provided for read-only and no address payment pages within the XSLT_AddReadOnly and XSLT_NoAddress directories respectively. The default XSLT directory contains the default files with address fields which can be modified by the shopper. If you wish to use address read-only templates or templates with no address simply copy the relevant files from the XSLT_AddReadOnly or XSLT_NoAddress directory and paste into the XSLT directory.
Note: Please ensure only one copy of the Card_Details.xslt and Card_Details_Low.xslt files are returned to the customer service team to ensure there is no confusion over which templates you wish to have uploaded.