[wordpress插件] CityPay Paylink WooCommerceCityPay Paylink WooCommerce

wordpress 插件 文章 2020-03-23 23:00 542 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The WooCommerce plugin works by creating a token and redirecting to the

WooCommerce插件通过创建令牌并重定向到
来工作

Paylink form for card holders to enter their card details directly into

持卡人的Paylink表格可直接将其卡详细信息输入

the CityPay secure web application.

CityPay安全Web应用程序。

Once a payment has been completed it

付款完成后,

will attempt to connect via a webhook or postback to your web site.

将尝试通过Webhook连接或回发到您的网站。

安装步骤

Minimum requirements

最低要求

    • PHP version 5.2.4 or greater
    • PHP版本5.2.4或更高版本

    • MySQL version 5.0 or greater
    • MySQL 5.0或更高版本

    • WordPress 4.0 or greater
    • WordPress 4.0或更高版本

    • WooCommerce 3 or greater
    • WooCommerce 3或更高版本

    Automatic installation

    自动安装

    To perform an automatic installation of the CityPay Paylink WooCommerce plugin,

    要执行自动安装CityPay Paylink WooCommerce插件,

    login to your WordPress dashboard, select the Plugins menu and click Add New.

    登录到WordPress仪表板,选择“插件”菜单,然后单击“添加新项”。

    In the search field, type “CityPay” and click Search Plugins.

    在搜索字段中,键入“ CityPay”,然后单击“搜索插件”。

    Once you have

    一旦拥有

    found our payment gateway plugin, it may be installed by clicking Install Now.

    找到了我们的付款网关插件,可以通过单击立即安装进行安装。

    Manual installation

    手动安装

    The perform a manual installation of the CityPay Paylink WooCommerce plugin,

    执行CityPay Paylink WooCommerce插件的手动安装,

    login to your WordPress dashboard, select the Plugins menu and click Add New.

    登录到WordPress仪表板,选择“插件”菜单,然后单击“添加新项”。

    Then select Upload Plugin, browse to the location of the ZIP file containing

    然后选择“上传插件”,浏览至包含
    的ZIP文件的位置

    the plugin (typically named citypay-paylink-woocommerce.zip) and then click

    插件(通常命名为 citypay-paylink-woocommerce.zip ),然后单击

    Install Now.

    立即安装。

    Post installation: the plugin settings form

    安装后:插件设置表格

    Once the plugin has been installed, you may need to activate it by selecting

    一旦安装了插件,您可能需要通过选择
    来激活它

    the Plugins menu, clicking Installed Plugins and then activating the plugin

    插件菜单,单击已安装的插件,然后激活插件

    with the name “CityPay WooCommerce Plugin” by clicking on the link labeled

    通过单击标记为
    的链接,将其命名为“ CityPay WooCommerce插件”

    Activate.

    激活。

    You will need to edit WooCommerce checkout settings by navigating to the

    您需要通过导航到
    来编辑WooCommerce结帐设置

    WooCommerce administration panel, selecting WooCommerce, Settings and then

    WooCommerce管理面板,选择“ WooCommerce”,“设置”,然后选择

    the checkout tab.

    结帐标签。

    If installed correctly, you should see CityPay as a link

    如果安装正确,您应该将CityPay视为链接

    under the Checkout Options.

    在“结帐选项”下。

    The merchant account, the licence key, the transaction currency and other

    商家帐户,许可证密钥,交易货币等

    information relating to the processing of transactions through the CityPay

    有关通过CityPay处理交易的信息

    Paylink hosted form payment gateway may be configured by selecting the

    通过选择
    ,可以配置Paylink托管表格付款网关

    plugin configuration form which is accessed indirectly through the

    插件配置表,可通过
    间接访问

    WooCommerce settings page upon selecting the Checkout tab, and clicking on

    选择“签出”选项卡并单击
    后的WooCommerce设置页面

    the link labeled CityPay which appears in the list of available payment

    可用付款列表中显示的标有CityPay的链接

    methods.

    方法。

    You can include the WooCommerce order identifier in the description sent

    您可以在发送的描述中包含WooCommerce订单标识符

    to CityPay for the purpose of including a customer-friendly reference in

    到CityPay的目的是为了在
    中包含方便客户参考

    the email sent to the customer.

    发送给客户的电子邮件。

    This is

    这是

    achieved by specifying {order_id} as part of the descriptive text appearing

    通过将{order_id}指定为显示的说明文字的一部分来实现

    in the text box labeled Transaction Description.

    在标有“交易说明”的文本框中。

    After the settings for the plugin have been configured, they must be saved

    配置插件设置后,必须将其保存

    by clicking on the button labeled Save Changes before they take effect.

    通过单击“保存更改”按钮,然后使其生效。

    Developer Postback Testing

    开发者回发测试

    The Paylink service cannot send a postback/webhook to your localhost test server

    Paylink服务无法将回发/ webhook发送到本地测试服务器

    to update the order status.

    更新订单状态。

    Therefore token requests fail to be created when

    因此,在
    时无法创建令牌请求

    a localhost or local network address is detected in the postback URL.

    在回发URL中检测到本地主机或本地网络地址。

    To work

    工作

    around this, we recommend using https:/grok.com to create

    为此,我们建议使用 https:/grok.com 来创建

    a secure tunnel to your localhost server.

    到本地主机服务器的安全隧道。

    As your WordPress installation may be

    由于您的WordPress安装可能是

    on localhost, the CityPay settings page allows the addition of a

    在本地主机上,CityPay设置页面允许添加一个

    Postback Site Address (URL) which you can customise with your ngrok address i.e.

    回发站点地址(URL),您可以使用您的ngrok地址(即
    )进行自定义

    https://12345678abc.ngrok.io.

    https://12345678abc.ngrok.io。

    The value should be the host and protocol part of the

    该值应该是
    的主机和协议部分

    URL.

    网址。

    Processing test transactions

    处理测试交易

    To test the operation of an e-commerce solution based on WooCommerce in


    中测试基于WooCommerce的电子商务解决方案的操作

    combination with the CityPay Paylink WooCommerce plugin without processing

    无需处理即可与CityPay Paylink WooCommerce插件结合使用

    transactions that will be settled by the upstream acquirer, the check box

    上游收购方将结算的交易,复选框

    labeled Test Mode appearing on the plugin settings form should be ticked.

    应当在插件设置表单上打上标记为“测试模式”的标记。

    Processing live transactions

    处理实时交易

    To process live transactions for settlement by the upstream acquirer, the

    要处理实时交易以供上游收购方进行结算,

    check box labeled Test Mode referenced in the paragraph above must be

    上段中引用的标有“测试模式”的复选框必须为

    unticked.

    没打勾。

    Enabling logging

    启用日志记录

    The interaction between WordPress, WooCommerce and the CityPay Paylink

    WordPress,WooCommerce和CityPay Paylink之间的交互

    hosted payment form service may be monitored by ticking the check box labeled

    勾选标记为
    的复选框,可以监视托管的付款表格服务

    Debug Log appearing on the plugin settings form.

    调试日志显示在插件设置表单上。

    Log payment events appearing in the resultant log file will help to trace

    出现在结果日志文件中的日志付款事件将有助于跟踪

    any difficulties you may experience accepting payments using the CityPay

    使用CityPay接受付款时可能遇到的任何困难

    Paylink service.

    Paylink服务。

    The location of the log file is provided on the plugin settings form.

    插件设置表中提供了日志文件的位置。

下载地址
https://downloads.wordpress.org/plugin/citypay-payments.2.0.1.zip
-EOF-

AI助手支持GPT4.0