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

crazymonster's avatar

Switch to Braintree and Fatal Error

Hi, there. I'm newbie to Spark and I have a question about it.

First, I tried to change SparkServiceProvider.php Spark::useBraintree()->noCardUpFront()->trialDays(10); But the result is: Fatal error: Class 'Braintree_Configuration' not found

The class is missing. So, what should I do to be installed or kind of? I have Merchant ID and etc credentials from Braintree Sandbox.

0 likes
2 replies
themasterpage's avatar

How would one set this up on a Windows Composer installation where the spark command is not available?

Please or to participate in this conversation.