impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
339 stars 191 forks source link

API Enhancement: Populate Custom Meta Fields for Forms & Donations Endpoints #215

Closed DevinWalker closed 9 years ago

DevinWalker commented 9 years ago

Right now when a user creates a custom form field using this article: https://givewp.com/documentation/developers/how-to-create-custom-form-fields/

They are adding custom meta content to the give_payments CPT and often they want that content available in the API. For instance, imagine a form with a custom "Number of Guests" number field. Donors complete the donation and fill out that info where it's stored in payment meta. They then want to use Zapier to feed that content into another app. Right now that data isn't made available dynamically.

@mathetos says Gravity Forms provides a dynamic API in this way. @pippinsplugins is there any reason why EDD/Give doesn't?

pippinsplugins commented 9 years ago

No reason aside from it hasn't been built in EDD.

DevinWalker commented 9 years ago

@pippinsplugins I can submit a PR if you're interested...

pippinsplugins commented 9 years ago

Certainly interested!

On Mon, Aug 31, 2015 at 5:50 PM, Devin Walker notifications@github.com wrote:

@pippinsplugins https://github.com/pippinsplugins I can submit a PR if you're interested...

— Reply to this email directly or view it on GitHub https://github.com/WordImpress/Give/issues/215#issuecomment-136521074.

DevinWalker commented 9 years ago

This was released in 1.2.1