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

theantichris's avatar

Spark credit card error info.

I have Spark setup with Braintree on my local development environment. When I go to add a credit card I get a message that says "There was an error processing your request."

Is there a way to get more info on what the error is so I can debug that?

0 likes
4 replies
undrwd's avatar

Not using braintree, but on Stripe, I seem to get occasional errors during testing. Usually it's where if the Name stored for the user doesn't match the name on the card. If I get an error and then have them match it always goes through. Maybe just lucky on the retry though.

I wouldn't expect it's validating name vs name on card that but I haven't dug in to Spark to see.

EventFellows's avatar

Have a look on the dev tools (e.g. on chrome) and see what the exact error details are. There might also be something on the braintree side to see what request they received (at least that exists on stripe so I assume braintree also has something similar.

You might also try Clockwork Chrome extension to get more info.

theantichris's avatar

@undrwd I'm pretty sure the names matched but I'll check that again, thanks!

@EventFellows It is not sending a request to Braintree so it is something inside Spark/Cashier itself. I looked in the log file and there was nothing there.

ignatius56's avatar

trying to subscribe a test user in Spark ... Name is the same as the user, as CC-number I use 4242424242424242 , security 123 the program ist stuck .... after clicking on SUBSCRIBE - is keeps turning in a circel ... any idea, how to fix that. thanks for your help Ignatius

Please or to participate in this conversation.