[wordpress插件] AffiniPay WordPressAffiniPay WordPress

wordpress 插件 文章 2020-02-11 06:00 571 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Make Credit Card or eCheck payments using the AffiniPay Payment Gateway from any page on your website.

使用AffiniPay付款网关从网站上的任何页面进行信用卡或eCheck付款。

Usage

用法

    1. Activate the AffiniPay WordPress Plugin
    2. 激活AffiniPay WordPress插件

    3. Enter your merchant secret key on the plugin settings page (Settings -> AffiniPay Payments) in WordPress admin.
    4. 在WordPress管理员的插件设置页面(设置-> AffiniPay付款)中输入您的商家密钥。

    5. Select a merchant account from the “Account” dropdown
    6. 从“帐户”下拉列表中选择一个商家帐户

    7. Select a charge type from the “Charge Type” dropdown (Credit Card for credit card payments, eCheck for bank payments).

    8. 从“收费类型”下拉菜单中选择一种收费类型(信用卡用于信用卡付款,电子支票用于银行付款)。

      If your account has not been setup for eCheck payments

      如果尚未为eCheck付款设置您的帐户

      contact AffiniPay customer service.

    9. 联系AffiniPay客户服务。

    10. Copy the affinipay-payment shortcode that is generated below the “Charge Type” dropdown to any page or post within your website.

    11. 将在“收费类型”下拉列表下方生成的affinipay-pay短代码复制到您网站内的任何页面或帖子。

      [affinipay-payment type=creditcard account=pM_hSdsc39DcXSabO8TBFs-g]

    12. [affinipay-pay type =信用卡帐户= pM_hSdsc39DcXSabO8TBFs-g]

    Short Code Options & Usage Examples

    短代码选项和用法示例

    [affinipay-payment] this shortcode can be used in the content editor on any page from your website to display

    [affinipay-payment] 此短代码可以在您网站上任何页面的内容编辑器中使用,以显示

    a payment form that will include all fields configured in your accounts payment policy by default.

    付款表单,默认情况下将包括您的帐户付款策略中配置的所有字段。

    If you need to further customize your payment form the following attributes are available

    如果您需要进一步自定义付款方式,则可以使用以下属性

    Option
      

    选项
      

    Default Value
      

    默认值
      

    Valid Values
      

    有效值
      

    Comments

    评论

    Required
      

    必需
      


      


      


      


      

    amount
      

    数量
      

    0
      

    0
      

    ( integer )
      

    (整数)
      

    The amount of the transaction (optional if amount_field is used)

    交易金额(如果使用amount_field,则为可选)

    amount_field
      

    amount_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the amount field on the payment form (optional if amount is used)

    在付款表单上显示金额字段(如果使用金额,则为可选)

    type
      

    类型
      

    creditcard
      

    信用卡
      

    ( creditcard / echeck )
      

    (信用卡/电子支票)
      

    The charge type, creditcard for Credit Card payments, or echeck for bank payments

    收费类型,信用卡(用于信用卡付款)或电子支票(用于银行付款)

    Payment Form Fields
      

    付款表单字段
      


      


      


      


      

    customer_fields
      

    customer_fields
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display all of the customer related fields on the payment form (a ‘yes’ here overrides ‘no’ values on individual fields)

    在付款表单上显示所有与客户相关的字段(此处的“是”会覆盖各个字段的“否”值)

    reference_field
      

    reference_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the payment reference field useful for the customer to enter an invoice number for example.

    显示付款参考字段,该字段对于客户输入发票编号很有用。

    customer_email_field
      

    customer_email_field
      

    yes
      

    是的
      

    ( yes / no )
      

    (是/否)
      

    Display the customer email field, this is the email address that your customer receipt will be sent.

    显示客户电子邮件字段,这是将发送客户收据的电子邮件地址。

    customer_name_field
      

    customer_name_field
      

    yes
      

    是的
      

    ( yes / no )
      

    (是/否)
      

    Display the customer name field on the payment form

    在付款表单上显示客户名称字段

    customer_address_field
      

    customer_address_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer address field on the payment form

    在付款表单上显示客户地址字段

    customer_address2_field
      

    customer_address2_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer address2 field on the payment form

    在付款表单上显示客户地址2字段

    customer_city_field
      

    customer_city_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer city field on the payment form

    在付款表单上显示“客户城市”字段

    customer_state_field
      

    customer_state_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer state field on the payment form

    在付款表单上显示客户状态字段

    customer_postalcode_field
      

    customer_postalcode_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer postal code field on the payment form

    在付款表单上显示客户邮政编码字段

    customer_phone_field
      

    customer_phone_field
      

    no
      


      

    ( yes / no )
      

    (是/否)
      

    Display the customer phone field on the payment form

    在付款表单上显示客户电话字段

    Titles & Labels
      

    标题和标签
      


      


      


      


      

    title
      

    标题
      

    Make a Payment
      

    付款
      

    ( Any alphanumeric )
      

    (任何字母数字)
      

    The title to display on the page

    在页面上显示的标题

    button_text
      

    button_text
      

    Submit Payment
      

    提交付款
      

    ( Any alphanumeric )
      

    (任何字母数字)
      

    The text of the payment form submit button

    付款表单提交按钮的文字

    Recurring Charges
      

    经常性收费
      


      


      


      


      

    recurs
      

    重复发生
      

    no
      


      

    WEEKLY,MONTHLY,YEARLY
      

    每周,每月,每年
      

    The frequency that the recurring charge will occur

    重复收费的发生频率

    recurring_interval
      

    recurring_interval
      

    1
      

    1
      

    ( integer )
      

    (整数)
      

    The next time a transaction should occur.

    下次应进行交易。

    For example: A value of 3 would create a charge that recurs every 3 (weeks, months, years)

    例如:值3会产生每3(周,月,年)重复发生的费用

    recurring_description
      

    recurring_description
      

    null
      

    null
      

    (Any Alphanumeric)
      

    (任何字母数字)
      

    A custom description for the recurring charge

    经常性费用的自定义说明

    Usage Examples

    用法示例

    Simple Payment form with specified amount
        

    指定金额的简单付款表格
        

    [affinipay-payment type=creditcard amount=19.95]

    [affinipay-pay type =信用卡数量= 19.95]

    Display all customer fields with a set amount of $19.95
        

    显示所有金额为$ 19.95的客户字段
        

    [affinipay-payment type=echeck amount=19.95 customer_fields=yes]

    [affinipay-pay type = echeck amount = 19.95 customer_fields = yes]

    Display amount field Donation pages can allow users to enter a custom amount.
        

    显示金额字段捐赠页面可以允许用户输入自定义金额。
        

    [affinipay-payment]

    [affinipay-payment]

    Recurring Charges

    经常性收费

    Recurring charge of $100.00 once a month
        

    每月一次100.00美元的经常性费用
        

    [affinipay-payment type=creditcard amount=100.00 recurs=MONTHLY]

    [affinipay-pay type =信用卡金额= 100.00重复次数= MONTHLY]

    Recurring charge of $250.00 every three months
        

    每三个月$ 250.00的经常性费用
        

    [affinipay-payment type=creditcard amount=250.00 recurs=MONTHLY recurring_interval=3]

    [affinipay-付款类型=信用卡金额= 250.00重复次数= MONTHLY recurring_interval = 3]

    Available Action Hooks

    可用的动作挂钩

    Hook
      

    挂钩
      

    Description

    说明

    affinipay_charge_success
      

    affinipay_charge_success
      

    Called when a new charge has successfully completed.

    成功完成新费用后调用。

    The charge is passed as an argument to this callback

    费用作为参数传递给此回调

    affinipay_charge_error
      

    affinipay_charge_error
      

    Called when a charge fails.

    充电失败时调用。

    An exception is passed as an argument to the callback

    异常作为参数传递给回调

    Available Filter Hooks

    可用的过滤器挂钩

    Filter
      

    过滤器
      

    Description / Use Case

    说明/用例

    affinipay_before_payment_form
      

    affinipay_before_payment_form
      

    Add content before the payment form is rendered

    在呈现付款表格之前添加内容

    affinipay_after_payment_form
      

    affinipay_after_payment_form
      

    Add custom content after the payment form

    在付款表格后添加自定义内容

    affinipay_before_render_customer_fields
      

    affinipay_before_render_customer_fields
      

    Add custom content before the customer fields are rendered

    在呈现客户字段之前添加自定义内容

    affinipay_after_render_customer_fields
      

    affinipay_after_render_customer_fields
      

    Add content after the customer fields on the payment form

    在付款表单上的客户字段之后添加内容

    affinipay_before_render_amount_field
      

    affinipay_before_render_amount_field
      

    Add content before the amount field

    在金额字段前添加内容

    affinipay_after_render_amount_field
      

    affinipay_after_render_amount_field
      

    Add content after the amount field

    在金额字段后添加内容

    affinipay_before_render_reference_field
      

    affinipay_before_render_reference_field
      

    Add content before the payment reference field

    在付款参考字段之前添加内容

    affinipay_after_render_reference_field
      

    affinipay_after_render_reference_field
      

    Add custom content after the payment reference field

    在付款参考字段后添加自定义内容

    affinipay_before_render_email_field
      

    affinipay_before_render_email_field
      

    Add custom content before the email field

    在电子邮件字段之前添加自定义内容

    affinipay_after_render_email_field
      

    affinipay_after_render_email_field
      

    Add custom content after the email field

    在电子邮件字段后添加自定义内容

    affinipay_before_render_name_field
      

    affinipay_before_render_name_field
      

    Add custom content before the customer name field

    在客户名称字段之前添加自定义内容

    affinipay_after_render_name_field
      

    affinipay_after_render_name_field
      

    Add custom content after the customer name field

    在客户名称字段后添加自定义内容

    affinipay_before_render_address_field
      

    affinipay_before_render_address_field
      

    Add custom content before the address field

    在地址字段之前添加自定义内容

    affinipay_after_render_address_field
      

    affinipay_after_render_address_field
      

    Add custom content after the address field

    在地址字段后添加自定义内容

    affinipay_before_render_address2_field
      

    affinipay_before_render_address2_field
      

    Add custom content before the address2 field

    在address2字段之前添加自定义内容

    affinipay_after_render_address2_field
      

    affinipay_after_render_address2_field
      

    Add custom content after the address2 field

    在address2字段后添加自定义内容

    affinipay_before_render_city_field
      

    affinipay_before_render_city_field
      

    Add custom content before the city field

    在城市字段之前添加自定义内容

    affinipay_after_render_city_field
      

    affinipay_after_render_city_field
      

    Add custom content after the city field

    在城市字段后添加自定义内容

    affinipay_before_render_state_field
      

    affinipay_before_render_state_field
      

    Add custom content before the state field

    在状态字段前添加自定义内容

    affinipay_after_render_state_field
      

    affinipay_after_render_state_field
      

    Add custom content after the state field

    在状态字段后添加自定义内容

    affinipay_before_postalcode_field
      

    affinipay_before_postalcode_field
      

    Add custom content before the postal code field

    在邮政编码字段之前添加自定义内容

    affinipay_after_postalcode_field
      

    affinipay_after_postalcode_field
      

    Add custom content after the postal code field

    在邮政编码字段后添加自定义内容

    affinipay_before_render_phone_field
      

    affinipay_before_render_phone_field
      

    Add custom content before the phone field

    在电话字段前添加自定义内容

    affinipay_after_render_phone_field
      

    affinipay_after_render_phone_field
      

    Add custom content after the phone field

    在电话字段后添加自定义内容

    affinipay_before_render_payment_fields
      

    affinipay_before_render_payment_fields
      

    Add custom content before the credit card field

    在信用卡字段前添加自定义内容

    affinipay_after_render_payment_fields
      

    affinipay_after_render_payment_fields
      

    Add custom content after the credit card fields

    在信用卡字段后添加自定义内容

下载地址

https://downloads.wordpress.org/plugin/affinipay-payment-gateway.1.0.4.zip

https://downloads.wordpress.org/plugin/affinipay-payment-gateway.1.0.4.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Advanced Custom Fields – Code Area Field高级自定义字段-代码区字段
[wordpress插件] Canonical SEO Content Syndication WordPress PluginCanonical SEO Content Syndication WordPress插件
[wordpress插件] Advanced Custom Fields Code Snippets高级自定义字段代码段
[wordpress插件] Category Reverse Order类别逆序
[wordpress插件] Clear Fields清除字段
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8016
问题? 7254
如何快速搭建抽奖助手小程序(无需代码知识) 5037
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5991
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5509
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5205
如何解决渲染层网络错误Failed to load media? 16560
小程序找号找回 释放昵称? 2425
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2505
删除部分微信用户个人数据的通知,怎么删除? 5545