<tfoot id='L3KFB'></tfoot>

    • <bdo id='L3KFB'></bdo><ul id='L3KFB'></ul>

    <i id='L3KFB'><tr id='L3KFB'><dt id='L3KFB'><q id='L3KFB'><span id='L3KFB'><b id='L3KFB'><form id='L3KFB'><ins id='L3KFB'></ins><ul id='L3KFB'></ul><sub id='L3KFB'></sub></form><legend id='L3KFB'></legend><bdo id='L3KFB'><pre id='L3KFB'><center id='L3KFB'></center></pre></bdo></b><th id='L3KFB'></th></span></q></dt></tr></i><div id='L3KFB'><tfoot id='L3KFB'></tfoot><dl id='L3KFB'><fieldset id='L3KFB'></fieldset></dl></div>
  • <legend id='L3KFB'><style id='L3KFB'><dir id='L3KFB'><q id='L3KFB'></q></dir></style></legend>

      <small id='L3KFB'></small><noframes id='L3KFB'>

      1. Braintree 自定义贝宝按钮

        Braintree custom paypal button(Braintree 自定义贝宝按钮)
        <tfoot id='clfY8'></tfoot>

          <legend id='clfY8'><style id='clfY8'><dir id='clfY8'><q id='clfY8'></q></dir></style></legend>
            <bdo id='clfY8'></bdo><ul id='clfY8'></ul>

                1. <i id='clfY8'><tr id='clfY8'><dt id='clfY8'><q id='clfY8'><span id='clfY8'><b id='clfY8'><form id='clfY8'><ins id='clfY8'></ins><ul id='clfY8'></ul><sub id='clfY8'></sub></form><legend id='clfY8'></legend><bdo id='clfY8'><pre id='clfY8'><center id='clfY8'></center></pre></bdo></b><th id='clfY8'></th></span></q></dt></tr></i><div id='clfY8'><tfoot id='clfY8'></tfoot><dl id='clfY8'><fieldset id='clfY8'></fieldset></dl></div>

                    <tbody id='clfY8'></tbody>
                2. <small id='clfY8'></small><noframes id='clfY8'>

                  本文介绍了Braintree 自定义贝宝按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想为付款方式创建一个下拉列表.

                  I would like to create a drop-down list for payment methods.

                  例如:

                  <ul>
                    <li id="paypal">paypal</li>
                    <li id="credit_card">credit card</li>
                  </ul>
                  

                  在选择的信用卡上,它会加载信用卡付款所需的所有字段.但是现在我在设置贝宝按钮时遇到了麻烦.我真的不想要一个蓝色按钮.我可以让用户点击 id="paypal" 并启动 paypal 吗?

                  On select credit card, it loads all fields needed for credit card payment. But now I am having trouble setting up a paypal button. I don't really want a blue button. Can I have the user click id="paypal" and launch paypal?

                    braintree.setup(token,"custom",{
                      paypal:{
                        container:"paypal",
                        amount: 10.00,
                        currency: 'USD'
                      }
                    })
                  

                  我可以让它完全自定义吗?我希望贝宝按钮看起来像我的 CSS 列表中的一个项目.

                  Can I make it completely custom looking? I want the paypal button just look like an item in the list with my CSS.

                  推荐答案

                  Braintree 员工在这里.从 2.15.0 开始,我们引入了headless"选项,允许自定义贝宝按钮.

                  Braintree employee here. As of 2.15.0, we introduced a "headless" option that allows a custom PayPal button.

                  这项工作在这些 JS 网址上进行:
                  https://js.braintreegateway.com/js/braintree-2.15.2.js
                  https://js.braintreegateway.com/js/braintree-2.15.2.min.js

                  This work is live at these JS urls:
                  https://js.braintreegateway.com/js/braintree-2.15.2.js
                  https://js.braintreegateway.com/js/braintree-2.15.2.min.js

                  我们创建了一个提供示例代码的小要点.此版本尚未热链接,但我们的文档会在更新时更新.

                  We created a small gist that provides sample code. This version is not yet hotlinked but our docs will be updated when it is.

                  这篇关于Braintree 自定义贝宝按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How do I pass parameters into a PHP script through a webpage?(如何通过网页将参数传递给 PHP 脚本?)
                  PHP - include a php file and also send query parameters(PHP - 包含一个 php 文件并发送查询参数)
                  Where can I read about conditionals done with quot;?quot; and quot;:quot; (colon)?(我在哪里可以阅读有关使用“?完成的条件的信息?和“:(冒号)?)
                  Accessing arrays whitout quoting the key(在不引用键的情况下访问数组)
                  What is the name for the quot;lt;lt;lt;quot; operator?(“lt;lt;lt;的名字是什么?操作员?)
                  default as first option in switch statement?(默认为 switch 语句中的第一个选项?)
                  • <legend id='zcE0Q'><style id='zcE0Q'><dir id='zcE0Q'><q id='zcE0Q'></q></dir></style></legend>
                      <tbody id='zcE0Q'></tbody>
                      <i id='zcE0Q'><tr id='zcE0Q'><dt id='zcE0Q'><q id='zcE0Q'><span id='zcE0Q'><b id='zcE0Q'><form id='zcE0Q'><ins id='zcE0Q'></ins><ul id='zcE0Q'></ul><sub id='zcE0Q'></sub></form><legend id='zcE0Q'></legend><bdo id='zcE0Q'><pre id='zcE0Q'><center id='zcE0Q'></center></pre></bdo></b><th id='zcE0Q'></th></span></q></dt></tr></i><div id='zcE0Q'><tfoot id='zcE0Q'></tfoot><dl id='zcE0Q'><fieldset id='zcE0Q'></fieldset></dl></div>

                      <tfoot id='zcE0Q'></tfoot>
                        <bdo id='zcE0Q'></bdo><ul id='zcE0Q'></ul>
                      • <small id='zcE0Q'></small><noframes id='zcE0Q'>