<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                在 `%Vendor_Module%/etc` 目錄中的 `config.xml` 文件中為支付方式配置對應的選項,下表包含了支付方式可以配置的默認選項。 你的支付方式可能有更多的依賴項 | 選項 | 描述 | 值類型 | | :--- | :--- | :--- | | `active` | 默認是否開啟 | Boolean | | `debug` | 默認是否開啟 debug 模式, 比如為 request/response 打 log | Boolean | | `debugReplaceKeys` | request/response 中那些字段不會在 log 中展示 | comma separated list | | `can_authorize` | payment method 是否支持 authorization | Boolean | | `can_capture` | whether payment method supports the capture operation | Boolean | | `can_void` | whether payment method supports the void operation | Boolean | | `can_use_checkout` | 支付方式是否在網店前臺的 storefront checkout 可用 | Boolean | | `can_use_internal` | whether payment method is available in Admin order creation | Boolean | | `currency` | 支持的貨幣 | ? | | `is_gateway` | 是否是包含網關的集成 | Boolean | | `merchant_gateway_key` | 加密后的商家憑證 | string | | `model` | [payment method facade](https://devdocs.magento.com/guides/v2.4/payments-integrations/base-integration/facade-configuration.html) used for integration with Sales and Checkout modules | string | | `order_status` | 默認的?[order status](https://glossary.magento.com/order-status) | ? | | `paymentInfoKeys` | transaction request/response fields displayed on payment information block (can be any fields from payment additional information) | list of comma separated values | | `privateInfoKeys` | `privateInfoKeys` fields which should not be displayed in customer payment information block (can be any fields from payment additional information) | ? | | `payment_action` | default action of payment for the payment method (authorize, sale) | `authorize`,`authorize_capture` | | `sort_order` | payment method order position on checkout/system configuration pages | integer | | `title` | default title for a payment method | string | 除了默認選項以外,一個支付方式配置可以包含任何其他自定義配置。 ## 例子 以下是如何配置的例子(Braintree 模塊的 `config.xml` ) ```php <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <payment> <braintree> <model>BraintreeFacade</model> <title>Credit Card (Braintree)</title> <payment_action>authorize</payment_action> <active>0</active> <is_gateway>1</is_gateway> <can_use_checkout>1</can_use_checkout> <can_authorize>1</can_authorize> <can_capture>1</can_capture> <can_capture_partial>1</can_capture_partial> <can_authorize_vault>1</can_authorize_vault> <can_capture_vault>1</can_capture_vault> <can_use_internal>1</can_use_internal> <can_refund_partial_per_invoice>1</can_refund_partial_per_invoice> <can_refund>1</can_refund> <can_void>1</can_void> <can_cancel>1</can_cancel> <can_edit>1</can_edit> <can_review_payment>1</can_review_payment> <can_deny_payment>1</can_deny_payment> <cctypes>AE,VI,MC,DI,JCB,CUP,DN,MI</cctypes> <useccv>1</useccv> <cctypes_braintree_mapper><![CDATA[{"american-express":"AE","discover":"DI","jcb":"JCB","mastercard":"MC","master-card":"MC","visa":"VI","maestro":"MI","diners-club":"DN","unionpay":"CUP"}]]></cctypes_braintree_mapper> <order_status>processing</order_status> <environment>sandbox</environment> <allowspecific>0</allowspecific> <sdk_url><![CDATA[https://js.braintreegateway.com/js/braintree-2.32.0.min.js]]></sdk_url> <public_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" /> <private_key backend_model="Magento\Config\Model\Config\Backend\Encrypted" /> <masked_fields>cvv,number</masked_fields> <privateInfoKeys>avsPostalCodeResponseCode,avsStreetAddressResponseCode,cvvResponseCode,processorAuthorizationCode,processorResponseCode,processorResponseText,liabilityShifted,liabilityShiftPossible,riskDataId,riskDataDecision</privateInfoKeys> <paymentInfoKeys>cc_type,cc_number,avsPostalCodeResponseCode,avsStreetAddressResponseCode,cvvResponseCode,processorAuthorizationCode,processorResponseCode,processorResponseText,liabilityShifted,liabilityShiftPossible,riskDataId,riskDataDecision</paymentInfoKeys> <avs_ems_adapter>Magento\Braintree\Model\AvsEmsCodeMapper</avs_ems_adapter> <cvv_ems_adapter>Magento\Braintree\Model\CvvEmsCodeMapper</cvv_ems_adapter> <group>braintree_group</group> </braintree> </payment> </default> </config> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看