Hi Oliver,
Can you show us your <form>? Perhaps the action or method is not set? It will default to GET if the method is not specified.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a Spark installation and also use Passport.
First, the register page was empty and I found out, that I needed to enter Stripe credentials to get this working. Now I can see the register form, but when I click submit, I get redirected to the register form and the data is just passed as GET parameters. Nothing else happens.
I don't get any errors, even when I don't fill in anything. So there is obviously something missing here, but I can't figure out what it is.
My SparkServiceProvider boot method looks like this:
Spark::collectEuropeanVat('AT');
Spark::useStripe()->noCardUpFront()->trialDays(10);
Spark::freePlan()
->features([
'First', 'Second', 'Third'
]);
Spark::plan('Basic', 'provider-id-1')
->price(10)
->features([
'First', 'Second', 'Third'
]);
In the register form I only have fields for name, email address and password (+ confirm password). I'm not quite sure which other information can be helpful to solve this, please let me know.
Any ideas how I can solve this?
Oliver
I finally found out why this happened: when I registered the Vue components for Passport I accidentially copied
var app = new Vue({
mixins: [require('spark')]
});
So it was in the app.js twice. When I removed it once, everything worked as expected
Please or to participate in this conversation.