Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jandemsar's avatar

[Spark + Braintree] Charing Users per Team not working - Cashier problem

Hello.

Does anyone have any idea how to fix this?

I tried to setup Braintree the way it would charge users per team but it is not working.

I am using out-of-the-box installation.

I get the following error:

Call to undefined method Laravel\Cashier\SubscriptionBuilder::quantity()

I checked the vendor/laravel/cashier-braintree/src/SubscriptionBuilder file and there is indeed no quantity method.

Is there any quick fix for that? Like creating one subscription, but changing the price (and keeping quantity as 1, since Braintree integration does not support it?)

0 likes
0 replies

Please or to participate in this conversation.