• Resolved pixluser

    (@pixluser)


    Hello,
    I would like to know if forminator can be compatible with metabox(.io) functions. Like the relationship.
    I would like to see my metabox.io relation ships onto my forminator forms for making that :

    I would like to sell the creation of custom post with a forminator form. (with a recurent payment).
    Into this form the user can choose a metabox(.io) relationship.

    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. (but that’s something that can be made manually).

    thanks!

    • This topic was modified 6 months ago by pixluser.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    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)
    Thread Starter pixluser

    (@pixluser)

    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.

    First, thanks for your reply, support is awesome.

    1> So in case of an unsuccessful payment, even if the user send again another form, with the right infos, forminator will not be able to publish the post? that’s correct? (maybe because there is already a post in review mode?)

    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.


    Metabox (.io) can create relationship of multiples custom post together. So having a compatibility with forminator would allow me to let user choose a relationship directly onto the form, allong with the forminator post creation of course.

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @pixluser,

    I hope you are doing well today!

    1> So in case of an unsuccessful payment, even if the user send again another form, with the right infos, forminator will not be able to publish the post? that’s correct? (maybe because there is already a post in review mode?)

    As already explained by Adam, Forminator will not process further in case of an unsuccessful payment and will stop the operation there. Not because of the post situation but because of the payment failure. The form submission will not happen at all due to the unsuccessful payment.

    Metabox (.io) can create relationship of multiples custom post together. So having a compatibility with forminator would allow me to let user choose a relationship directly onto the form, allong with the forminator post creation of course.

    Forminator does not have an integration with Metabox.io as built-in to be able to use its relationships on forms. Forminator has an integration with Zapier, Integrately, Tray.io, Make and Workato for webhooks.
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#webhook
    You can check with Meta Box support team if they have the same integration and use those platforms as a bridge.

    Kind regards,
    Zafer

    Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @pixluser,

    I hope you’re doing great today!

    We haven’t heard from you for some time now, so I’m marking this thread as resolved. Please don’t hesitate to contact us if you still have any questions.

    Best Regards,
    Dmytro

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.