Hi @pixluser
I hope you’re well today and thank you for your question.
Let me break that down into smaller pieces (and respond a bit out of order):
1. “I would like to sell the creation of custom post with a forminator form. (with a recurent payment).”
Forminator does support post creation so you basically just need to put a “postdata” field on the form and configure it.
You can add Stripe field to the same form and, having Stripe Subscription Add-on enabled, you are also able to set it to create subscriptions (so recurring payment).
Since payment button replaces submit button, payment would be necessary for the post to be created.
Note though: this will only work with Stripe (not PayPal) and it requires Stripe Subscriptions Add-on to be active (note: this is a Pro feature only, I’m afraid).
2. “option : The thing that’ll be awesome too : once the reccurent payment isn’t done by my client, the post will be put into automatically into a review mode or something like that instead of published. “
Forminator does not manage and/or monitor subscription/recurring payments after they are made and it does not manage posts. All it can do is grab the payment (or rather – tell Stripe to grab it or set subscription) and create the post. It ends there.
So the basic “flow” would be
a) in case of successful payment:
user fills in the form -> clicks to submit/pay -> payment is made and subscription is created -> Stripe confirms it -> form is submitted -> post is created
b) in case of unsuccessful payment:
user fills in the form -> clicks to submit/pay -> payment doesn’t work for some reason -> Stripe informs that payment failed -> form issues error -> post is not created.
This is where it stops. User can submit form again of course (e.g. using different payment details) but Forminator won’t do anything else.
It will not create post but in “review” mode if payment failed and it will not change post status in future if one of next recurring payments fails.
This would require an entirely different solution, much more complex and created for different purposes. One of the popular “membership/access management” type plugins may be a way to go here but you’d need to review their features by yourself to make sure.
3. “I would like to see my metabox.io relation ships onto my forminator forms (…) Into this form the user can choose a metabox(.io) relationship.”
I left it for the end as this one is a bit confusing for me. I’m not sure what exactly do you mean here by the “relationships onto form” and and “choosing metabxo relationships”.
In general, Forminator doesn’t have any direct integration with this but it can create posts of custom post type (provided that this custom post type already is registered on site) and it can put raw data into custom fields.
But I’m really not sure what exactly do you have in mind. Would you mind explaining a bit more how this “metabox compatibility” and such form should work? An example simple use case scenario would be helpful too.
Best regards,
Adam
-
This reply was modified 6 months ago by Williams - WPMU DEV Support. Reason: adjusted/clarified information about Subscription Add-on (as it's a Pro only)