Seller register form "CSRF Token Mismatch"
-
Hello Webkul,
I have just installed Bagisto 2.4.6 and Marketplace extension 2.4.4
But I faced an error while registering a new seller with the url "seller/register", ending in a "419" error page, debug bar says "CSRF Token Mismatch".
To solve it I added a "@csrf" tag in the view form.
Are you aware of it ? Will it happen on other Marketplace forms ?

Aside from that it can be of help to add in documentation how to "approve" a seller, it has been difficult to find. I' have find how with a screenshot from another ticket.
Best Regards,
Gwenaelle -
Hello Gwenaelle,
Greetings!
Thank you for reaching out and for sharing your findings.
The
@csrftoken is already included in our shop form component located at:packages/Webkul/Shop/src/Resources/views/components/form/index.blade.phpTherefore, there is no need to add
@csrfmanually on pages that use the<x-shop::form>component.Could you please clear your browser cache and try again? If you still encounter the same 419 (CSRF Token Mismatch) error, kindly let us know. We'll investigate it further.
Thank you as well for your suggestion regarding the seller approval documentation. We appreciate your feedback and will consider improving the documentation to make this process easier to find.
Regards,
Kartikey Dubey
Team Bagisto