【问题标题】:How can I customise the worldpay help pages?如何自定义 worldpay 帮助页面?
【发布时间】:2012-03-16 14:26:21
【问题描述】:

世界付费高级定制文档 (here) 解释了如何定制大多数世界付费页面。到目前为止,我已经通过创建和上传自定义 header.html、footer.html 和 stylesheet.css 文件来自定义支付页面、取消页面和支付失败页面。我还必须自定义 resultC.html 和 resultR.html,以便它们包含样式表以及其他文件的页眉和页脚。到目前为止,这一切都相当简单。所有文件都有指定的下载位置,所有文件都被上传到同一个地方。

现在,在我链接到的文档的第 78 页顶部,它显示了如何为 header.html 中的链接定义指向帮助页面的链接。例如,使用以下属性定义安全链接:

header.tabthree=Security
header.tabthreelinkaddress=/global3/brands/worldpay/payment/default/help_security_en.html

链接到那里的地址与文档中给出的地址相同,作为安全性默认帮助页面的位置,因此显然无论我上传多少文件,这都不会链接到自定义版本。

我已尝试上传自定义安全页面(文档中提供了默认链接)并通过更改浏览器地址导航到该页面以尝试找到它 - 这没有奏效。

我尝试链接到“help_security_en.html”而不是“/global3/brands/worldpay/payment/default/help_security_en.html”和其他一些变体。这些都没有奏效。

  • 是否可以自定义这些页面?
  • 我应该将自定义页面上传到哪里?
  • 如何链接到自定义页面?

我想我可以在原始网站上创建帮助页面并从全球支付部分链接到它们,但如果可能的话,我宁愿坚持将所有全球​​支付的东西放在一个地方。

【问题讨论】:

    标签: customization worldpay


    【解决方案1】:

    是的,你可以。

    在此处下载帮助文件:

    https://secure.worldpay.com/global3/brands/worldpay/payment/default/help_en.html https://secure.worldpay.com/global3/brands/worldpay/payment/default/help_faqs_en.html https://secure.worldpay.com/global3/brands/worldpay/payment/default/help_security_en.html

    然后创建一个名为 messages_en.properties 的属性文件并包含以下内容:

    #--------------------------------------------------------------------
    # Default Header
    #--------------------------------------------------------------------
    header.tabone=Help
    header.tabonelinkaddress=/i/<your_id>/help_en.html
    header.tabtwo=FAQs
    header.tabtwolinkaddress=/i/<your_id>/help_faqs_en.html
    header.tabthree=Security
    header.tabthreelinkaddress=/i/<your_id>/help_security_en.html
    

    然后您可以自定义文件并通过文件管理器上传。

    希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-02-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多