GithubHelp home page GithubHelp logo

vlasscontreras / gragrid Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.08 MB

Integrates Gravity Forms with SendGrid, allowing form submissions to be automatically sent to your SendGrid contact lists.

Home Page: https://wordpress.org/plugins/gragrid/

PHP 100.00%
wordpress wordpress-plugin sendgrid plugin-screenshot gravity-forms gravityforms gravityforms-addon gravity-forms-addon

gragrid's Introduction

Gragrid: Gravity Forms + SendGrid

GitHub Workflows Version Plugin Version PHP Version WordPress Plugin: Required WP Version WordPress Plugin: Tested WP Version WordPress Plugin: Downloads

Integrates Gravity Forms with SendGrid, allowing form submissions to be automatically sent to your SendGrid contact lists.

Plugin Screenshot Plugin Screenshot Plugin Screenshot

Hooks

apply_filters( 'gragrid_request_args', array $args, string $path )

Filters the remote request arguments used when communicating with the SendGrid API.

Parameters

  • $args (array): Request arguments, includes headers, method, body, etc.
  • $path (string): The specific API endpoint being called.
apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )
  • $contact_params (array): Contact parameters, includes first name, email, custom fields, etc.
  • $entry (array): The form entry that was just created.
  • $form (array): The current form, the origin of the submission.

Inspired by Gravity Form Mailchimp Add-On.

gragrid's People

Contributors

vlasscontreras avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gragrid's Issues

Uncaught Error: Call to a member function get_custom_fields() on null

After the update to Gravity Forms 2.5, some users started to report issues with Gragrid.

How to reproduce

  1. Install Gravity Forms ^2.5
  2. Install Gragrid 2.1 or lower
  3. Set up an API key
  4. Create a form
  5. Attempt to create a SendGrid feed

Exception/Stacktrace

Fatal error: Uncaught Error: Call to a member function get_custom_fields() on null in /wp-content/plugins/gragrid/class-gragrid.php:473 

Stack trace:
#0 /wp-content/plugins/gragrid/class-gragrid.php(220): Gragrid->sengrid_custom_fields_map() 
#1 /wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1579): Gragrid->feed_settings_fields() 
#2 /wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1297): GFFeedAddOn->get_feed_settings_fields() 
#3 /wp-includes/class-wp-hook.php(292): GFFeedAddOn->feed_settings_init('') 
#4 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) 
#5 /wp-includes/plugin.php(484): WP_Hook->do_action(Array) 
#6 /wp-settings.php(560): do_action('init') 
#7 /wp-config.php(96): require_once('/w...') 
#8 /wp-load.php(37): require_once('/w...') 
#9 /wp-admin/admin.php(34): require_once('/var/w in /wp-content/plugins/gragrid/class-gragrid.php on line 473

Initial inspection indicates that the reason might be related to the new Settings API.

List not appearing in drop-down menu

I’m trying to set up a SendGrid feed, but the list I want to connect it to isn’t showing up in the drop-down menu. We have a large number of lists, and it appears the drop-down only displays 100. Is there any way to change this? Thank you!

Original source.

Add hook documentation

There are some hooks in place, add documentation so developers can easily extend this add-on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.