Support

Account

Home Forums General Issues Add payment to acf_form

Helping

Add payment to acf_form

  • I was wondering if anyone has succesfully added a payment gateway (such as stripe, paypal or any other major payment gateway) to acf_form. What I want is to be able to take payment if anyone is creating a post with acf_form.

    If not, do anyone has any idea where I would start?

  • Hi @adser

    I have not heard of anyone doing that. But you could create this yourself.
    Think of ACF as “simply a GUI for meta” and acf_form as a way to create new posts with this meta.

    So in your case I guess you would have created a CPT you call “orders” or something. Whenever a post is created or saved in WordPress there are some hooks being called. You could use these to set everything up for a payment gateway. Then if you need to redirect the user straight to your own custom payment page after submission you can use the “return” parameter of acf_form to send them there.

    https://www.advancedcustomfields.com/resources/acf_form/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.