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/