按比例分配订阅所需的 Cashier Braintree 计划信用折扣

Cashier Braintree plan-credit discount needed for prorateing subscriptions

Laravels 文档提到,如果我想将 Cashier 与 Braintree 一起使用,我需要在 Braintree 中创建计划信用折扣,并且此折扣用于从每年更改为每月以及每月更改为每年。如果我只想提供每月订阅,是否需要创建此折扣?

关于 Cashier Braintree 的 Laravels 文档:

Before using Cashier with Braintree, you will need to define a plan-credit discount in your Braintree control panel. This discount will be used to properly prorate subscriptions that change from yearly to monthly billing, or from monthly to yearly billing.

The discount amount configured in the Braintree control panel can be any value you wish, as Cashier will simply override the defined amount with our own custom amount each time we apply the coupon. This coupon is needed since Braintree does not natively support prorating subscriptions across subscription frequencies.

不,它只是为了交换相同计划的计费频率