Sales > Payment Methods > Braintree
对于2.4.0之前的Adobe Commerce和Magento Open Source版本,建议商家从Braintree安装和配置官方的Commerce Marketplace支付集成扩展以替换核心集成。 从2.4.0开始,该扩展现已包含在核心版本中。
迁移到Commerce 2.4时,商家需要卸载Marketplace (
paypal/module-braintree或gene/module-braintree)上分发的扩展,并更新任何代码自定义设置,以使用PayPal_Braintree命名空间而不是Magento_Braintree。 Commerce的捆绑扩展和Commerce Marketplace上分发的扩展中的配置设置会保留。 使用这些扩展版本进行的付款将正常捕获、失效或退款。如果您要升级到Commerce 2.4.0,并且在之前的2.3.x版本中不使用推荐的Commerce Marketplace扩展,则多地址功能在2.4.0版本的Braintree中不起作用。 当购物者选择_传送到多个地址_时,Braintree付款方式未出现。 之前推荐用于2.3.x的Commerce Marketplace扩展存在此多地址问题。
要访问商店配置设置,请从 Stores 管理员 Settings 侧边栏中选择Configuration>_ > _。
Basic Braintree Settings
Credit Card (Braintree)Sandbox / ProductionAuthorize— 客户信用卡上的资金已授权,但未从帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale(以前版本中的Authorize and Capture) — 客户信用卡上的资金由Braintree授权并捕获,并在您的商店管理员中创建了订单和发票。Sandbox时,将显示此字段。Sandbox时,将显示此字段。Sandbox时,将显示此字段。Production时,将显示此字段。Production时,将显示此字段。Production时,将显示此字段。Yes / NoYes / NoYes / NoAdvanced Braintree Settings
Yes / NoYes时,才阻止在通过管理员下单的订单上将该事务作为Advanced Fraud Tools检查的一部分发送以进行评估。选项:
Yes / NoAdvanced Fraud Protection检查。 将此字段留空将禁用此选项。Yes / NoYes / NoYes / NoCtrl(或Mac上的Command)以选择卡片组合。 选项: American Express / Visa / MasterCard / Discover / JCB / Diners / Maestro InternationalBraintree Webhooks Settings
Yes / NoSETTLED的订单的状态。SETTLEMENT在Braintree中为DECLINED时的订单状态。Country Specific Settings
All Allowed Countries / Specific CountriesCountry— 选择国家/地区。Allowed Card Types — 选择从国家/地区接受通过Braintree付款的每个信用卡。Add— 添加行以允许其他国家/地区的信用卡。Action — 删除国家/地区允许的信用卡记录。ACH through Braintree
通过Braintree进行
Yes / NoYes / NoApple Pay through Braintree
Yes / NoAuthorize— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale — 客户卡上的资金由Braintree授权和捕获,并在您的商店管理员中创建订单和发票。 注意:在2.3.x及更早版本中,此值为Authorize and Capture。Local Payment Methods
Yes / NoLocal PaymentsComplete Checkouthttps://www.domain.com/checkout#payment)。Bancontact / EPS / iDeal / MyBank / P24 / SEPA/ELV Direct DebitGooglePay through Braintree
通过Braintree
Yes / NoYes / NoAuthorize— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale — 客户卡上的资金由Braintree授权和捕获,并在您的商店管理员中创建订单和发票。 注意:在2.3.x及更早版本中,此值为Authorize and Capture。White / BlackVenmo through Braintree
通过Braintree进行
Yes / NoYes / NoAuthorize— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale — 客户卡上的资金由Braintree授权和捕获,并在您的商店管理员中创建订单和发票。 注意:在2.3.x及更早版本中,这是Authorize and Capture。PayPal through Braintree
通过Braintree配置1
Yes / NoYes / No。 当Enable PayPal through Braintree设置为Yes时,此字段可见Yes / No。 当Enable PayPal through Braintree设置为Yes时,此字段可见PayPalYes / NoYes / NoAuthorize— 客户卡上的资金已授权,但未从客户帐户转帐。 在您的商店管理员中创建了订单。 您可以稍后捕捉销售并创建发票。Authorize and Capture - PayPal通过Braintree授权并获取客户卡上的资金,并在您的商店管理员中创建订单和发票。All Allowed Countries / Specific CountriesYes / NoYes / NoYes / NoYes / NoYes / NoStyling
Mini-Cart and Cart Page / Checkout Page / Product PageMini-Cart and Cart Page
此部分中的选项和设置因 Location 字段中的设置而异。
PayPal Button / PayPal Pay Later Button / PayPal Credit ButtonPayPal Button
此部分中的选项和设置因在 PayPal Button Type 字段中选择的按钮类型而异。
Yes / NoPaypal / Checkout / Buy Now / PayBlue / Black / Gold / SilverPill / RectangleMedium / Large / Responsive设置这些选项后,您可以看到PayPal按钮和PayLater消息的预览。 可以使用以下控件来应用设置或重置值:
Pay Later Messaging
Product Page
Text / FlexInline / Primary / Alternative / NoneLeft / Right / TopBlack / White / Monochrome / GrayscaleCart
Text / FlexInline / Primary / Alternative / NoneLeft / Right / TopBlack / White / Monochrome / GrayscaleCheckout
Left / Center / RightBlack / White3d安全验证设置
Yes / NoYes / NoAll Allowed Countries / Specific CountriesDynamic Descriptors
company*myproduct描述符的Company和Product部分的长度可通过以下方式进行分配,组合长度最多为22个字符:
Option 1- Company必须为3个字符/Product最多为18个字符Option 2 - Company必须为7个字符/Product最多为14个字符Option 3- Company必须为12个字符/Product最多为9个字符9999999999 (999) 999-9999 999.999.9999company.com