Sales > Payment Methods > Braintree
对于2.4.0之前的Adobe Commerce和Magento Open Source版本,建议商家从Commerce Marketplace安装和配置官方Braintree支付集成扩展以替换核心集成。 从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
/ Production
Authorize
— 客户信用卡上的资金已授权,但未从帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale
(以前版本中的Authorize and Capture
) — 客户信用卡上的资金由Braintree授权和捕获,并在您的商店管理员中创建了订单和发票。Sandbox
时,将显示此字段。Sandbox
时,将显示此字段。Sandbox
时,将显示此字段。Production
时,将显示此字段。Production
时,将显示此字段。Production
时,将显示此字段。Yes
/ No
Yes
/ No
Yes
/ No
Advanced Braintree Settings
Yes
/ No
Yes
时,才阻止在通过管理员下单的订单上将该事务作为Advanced Fraud Tools检查的一部分发送以进行评估。选项:
Yes
/ No
Advanced Fraud Protection
检查。 将此字段留空将禁用此选项。Yes
/ No
Yes
/ No
Yes
/ No
Ctrl
(或Mac上的Command
)以选择卡片组合。 选项: American Express
/ Visa
/ MasterCard
/ Discover
/ JCB
/ Diners
/ Maestro International
Braintree Webhooks Settings
Yes
/ No
SETTLED
时的订单状态。SETTLEMENT
在Braintree中为DECLINED
的订单的状态。Country Specific Settings
All Allowed Countries
/ Specific Countries
Country
— 选择国家/地区。Allowed Card Types
— 选择从国家/地区接受为通过Braintree付款的每个信用卡。Add
— 添加行以允许其他国家/地区的信用卡。Action
— 删除国家/地区允许的信用卡记录。ACH through Braintree
Yes
/ No
Yes
/ No
Apple Pay through Braintree
Yes
/ No
Authorize
— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale
— 客户卡上的资金由Braintree授权并捕获,并在您的商店管理员中创建订单和发票。 注意: 在2.3.x及更早版本中,此值为Authorize and Capture
。Local Payment Methods
Yes
/ No
Local Payments
Complete Checkout
https://www.domain.com/checkout#payment
)。Bancontact
/ EPS
/ giropay
/ iDeal
/ Klarna Pay Now
/ SOFORT
/ MyBank
/ P24
/ SEPA/ELV Direct Debit
(尚未支持)GooglePay through Braintree
通过Braintree
Yes
/ No
Yes
/ No
Authorize
— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale
— 客户卡上的资金由Braintree授权并捕获,并在您的商店管理员中创建订单和发票。 注意: 在2.3.x及更早版本中,此值为Authorize and Capture
。White
/ Black
Venmo through Braintree
Yes
/ No
Yes
/ No
Authorize
— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Intent Sale
— 客户卡上的资金由Braintree授权并捕获,并在您的商店管理员中创建订单和发票。 注意: 在2.3.x及更早版本中,这是 Authorize and Capture。PayPal through Braintree
通过Braintree
Yes
/ No
Yes
/ No
。 当Enable PayPal through Braintree
设置为Yes
时,此字段可见Yes
/ No
。 当Enable PayPal through Braintree
设置为Yes
时,此字段可见PayPal
Yes
/ No
Yes
/ No
Authorize
— 客户卡上的资金已授权,但未从客户帐户转帐。 将在您的商店管理员中创建订单。 您可以稍后捕获销售并创建发票。Authorize and Capture
- PayPal通过Braintree授权并获取客户卡上的资金,并在您的商店管理员中创建订单和发票。All Allowed Countries
/ Specific Countries
Yes
/ No
Yes
/ No
Styling
Mini-Cart and Cart Page
/ Checkout Page
/ Product Page
Mini-Cart and Cart Page
此部分中的选项和设置因 Location 字段中的设置而异。
PayPal Button
/ PayPal Pay Later Button
/ PayPal Credit Button
PayPal Button
此部分中的选项和设置因在 PayPal Button Type 字段中选择的按钮类型而异。
Yes
/ No
Paypal
/ Checkout
/ Buy Now
/ Pay
Blue
/ Black
/ Gold
/ Silver
Pill
/ Rectangle
Medium
/ Large
/ Responsive
PayLater Messaging
Text
/ Flex
Inline
/ Primary
/ Alternative
/ None
Left
/ Right
/ Top
Black
/ White
/ Monochrome
/ Grayscale
设置这些选项后,您可以看到PayPal按钮和PayLater消息的预览。 可以使用以下控件来应用设置或重置值:
3d安全验证设置
Yes
/ No
Yes
/ No
All Allowed Countries
/ Specific Countries
Dynamic Descriptors
company*myproduct
描述符的公司和产品部分的长度可以通过以下方式进行分配,组合长度最多为22个字符:
Option 1
— 公司必须是3个字符/产品最多可以是18个字符Option 2
— 公司必须是7个字符/产品最多可以是14个字符Option 3
— 公司必须是12个字符/产品最多可以是9个字符9999999999
(999) 999-9999
999.999.9999
company.com