I have a setup where I have users pay before submitting a listing via front end submission form. They are automatically logged in and registered as a WordPress user.
However, when they try to submit a form it says "Invalid Form Submission". In debug, it says they do not have permission to post or edit. I'm not sure why. I've bypassed cache on the form URLs.
Now I got it to quit with invalid form submission and it's moved on to "You are not allowed to edit this post". I've passed along the correct permissions.
User pays for a listing, gets redirected via URL parameters that pass along their package type (radio field on the MB form) and their email (author). They are auto registered. All this happens, but it still says not allowed to edit post after the save button is clicked.
It looks like you are using some custom code and bypassing the mbfs_key parameter of the form. This is important to make the form work. If you remove your custom code, does the form work properly? If so, I'm afraid that we don't support the customization code; it is beyond our scope of support.
If you want to have the customization service with an extra fee, please contact us here https://metabox.io/contact/
for more details.
I've tried with/without code. Like I said, now I'm at the "You are not allowed to edit this post" and that's without any code. I tried to set permissions, but it hasn't worked. The post comes through on the backend, but the user sees this message. I've tried setting to draft, published, pending review. This occurs whether logged in or out.
Now I'm back to the invalid form submission. I do have custom code to pre-fill a radio field on my CPT. I've tried validating the mbfs key, sanitizing my data, but it doesn't work. Is there any guidance you can provide on how to work with the mbfs parameters? By the way, what are your rates for customization?
The mbfs key is the default one of the frontend form, you don't need to do anything with it. If you want to use the customization service, please contact us here https://metabox.io/contact/ for more details.