Tower Plugins

  • Plugins
  • Development
  • Support
    • Account
    • Pre Sales Questions
    • Customer Support
    • Manage Serial Key Usage
    • How To Videos
    • Frequently Asked Questions
  • Testimonials
  • Cart
  • Plugins
  • Development
  • Support
    • Account
    • Pre Sales Questions
    • Customer Support
    • Manage Serial Key Usage
    • How To Videos
    • Frequently Asked Questions
  • Testimonials
  • Cart

Modify start date for a subscription using a field in the form

The following code has been tested with a datepicker field but would work on any field formatted as a date. Place it in your custom plugin or functions.php file.
add_filter('gf_echeck_subscription_pre_create', 'az_change_subscription', 10, 4);

function az_change_subscription($subscription, $submission_data, $feed, $form) {
// change these values to match your form id and field id
$form_id = 22;
$field_id = 10;
if ($form['id'] == $form_id && isset($_POST['input_' . $field_id]) && !empty($_POST['input_' . $field_id])) {
     $subscription->startDate = date('Y-m-d', strtotime(sanitize_text_field($_POST['input_' . $field_id]))); 
}
return $subscription;
}

Do you know if you can setup re-occurring payments using echeck?

Yes, you can set your feed up as a subscription.

How do I setup my form to support both your echeck plugin and another credit card plugin like Gravity Forms Authorize.net?

When setting up your form, you need a way to tell Gravity Forms which feed to process.

This is my recommendation:

  1. Add a Payment Method radio button to your form with two options: Credit Card, eCheck
  2. Enable Conditional Logic in your Credit Card and eCheck fields and set your Credit Card field to be conditional upon the Credit Card choice and eCheck upon the eCheck choice (Advanced Tab on your field)
  3. In your feed settings, enable Conditional Logic and set the condition based upon the customers choice of payment as well
  4. You need to go through this with both the Credit Card and eCheck fields so that only one feed is processed at a time.

I’m setting up my payment feed – what is the “echeck block”” field?”

When you activate the echeck plugin, a new field called Anet eCheck will appear in your Gravity Forms edit page under Pricing Fields. You will add this field to your form to provide a place for customers to enter their check information. Because there are multiple inputs in this field, Gravity Forms will allow you to map the entire field 'block' or each input individually. However, the feed mapping needs you to map the entire field or Full version.

The echeck fields stopping showing

Please make sure the plugin is activated and there are no other Gravity Forms plugins interfering. I've tested my plugin with all the official Gravity Forms payment addons. But there are other third party plugins that don't follow the Gravity Forms API rules and break the flow. Try disabling any third party Gravity Forms plugins and see if the echeck fields reappear. If so, then enable the other plugins one by one until you find the plugin that breaks it. If not, contact me via email and I will help you figure it out or refund your money.

Code: 13 Error: The merchant login ID or password is invalid or the account is inactive.

This is the error from Authorize.net. So we know that you are reaching Authorize.net but there is an issue with the credentials you sent. Please make sure you have entered valid credentials in your Forms>Settings>CIM page. That is the main Settings page under Forms - Not the feed settings under each individual form. (I know - it's confusing. But that is how Gravity Forms is set up and it works great once you're set up. :/) Here is an example from the CIM plugin but they all look similar. CIM Plugin Image

If you're having trouble after entering, please visit Authorize.net support for answers about Transaction Key generation. (FYI Sometimes people inadvertently enter their login information for their A.net account. That will not work. You need an API Login ID and a generated super secret Transaction Key.)

Code: 33 Error

I am getting this error and not sure why....Code: 33 Error: [field name] is required. Answer: This indicates you are requiring a field in your Authorize.net account but it isn't mapped and sent with the transaction. To check this and correct:
  • Login to your Merchant Interface at https://account.authorize.net
  • Click Settings in the main left side menu
  • Click Payment Form
  • Click Form Fields
  • Uncheck the field provided in the Error 33 text. (optional)
  • Click Submit
If you wish to require the field, rather than remove it from your a.net account, then add the field to your gravity form and map it.

My contact information isn’t going to Authorize.net

Make sure you are mapping them in the feed settings and that you have the latest version. There was a bug that was fixed in 1.4.

How can I add a field to the transaction?

There is a hook for that:

$transaction = apply_filters('gf_echeck_transaction_pre_capture', $transaction, $submission_data, $form, $entry);

So an example might look like:

add_filter( 'gf_echeck_transaction_pre_capture', 'set_invoice_number_for_echeck', 10, 1 );
function set_invoice_number_for_echeck( $transaction ) {

    // You might want to do some other sanitizing or even validate it before sending. This is just cleaned by with rgpost.

     $value = rgpost( 'input_2' ); 
     $transaction->setField( 'invoice_num',  $value );

     return $transaction;
}

Plugin Reviews

Kate
Designer

Just tested it and it's all working as intended now! Thanks again for your timely support.

Jon
Designer

I have a happy client and you have a happy customer! 🙂 Thanks for your attention today. I greatly appreciate it.

Shaun
Developer

Thank you for all of your time, it's the quickest I have ever heard from a WP Plugin author!

Tamra
Developer

... this worked great! Thank you!

Aaron
Customer

Thank you for the quick response! This plugin is great!

Tracy
Designer

Thanks very much for prompt reply.

Keith
Chief Marketing Strategist

The CIM for authorize and it turns out it’s idiot simple and works like a charm. Totally awesome! Thanks Amy! You’re someone to know for sure!

Gordon
Developer

You have been a rock star!  I won't hesitate to use or recommend your plugin in the future.

Ogechi
Design Director

Thank you for all your help Ryn! We got it all figured out.

John
Entrepreneur

This did exactly what I need and worked perfectly!

Chelsea
Director of Marketing

Just confirming your help on this was great and we were able to get this set up. This ticket can be closed! Thanks very much,

Andy
Customer

Bought and tested the plugin. Works as claimed. Thank you so much.

Jon
Developer

First off, love the plugin! It works just as it should.

Michelle
Developer

Perfect! Thank you very much. [...] Please close this ticket with my appreciation.

Richard
Developer

And thanks for getting back to us so promptly!

Graciela
Business Owner

Thank you for your great customer service and timely responses!

Owen
Customer

Wow, your help and support is second to none. Very great full.

Steven
Development Director

Thank you again for this amazing plugin 😊

Jennifer
Developer

Thanks for all your help these past two days!

Ellen
Developer

This is a great plugin, it worked right away.

Custom Development Reviews

Down River Equipment
Custom Plugin

Don't ever leave us!

Zenvea Essential Oils
Owner

Consistently excellent service over multiple projects. Highly recommended.

Global Sat Phone
Issue Resolution

Amy did a great job of solving our Opencart/Joomla issues for our site migration. She was quick to fix all the unknown issues that came up.

Lawmart
eCommerce Website

Amy Hill is a wonderfully competent website developer who knew exactly what I needed to update my website with a new look and improved user/admin interface. She also greatly improved the e-commerce functionality of the site to make it faster, smoother and more reliable. Many times she knew what I needed before I even asked for it, and when I did want changes made, she made them quickly and efficiently. She delivered the project on time and within budget, and I have no hesitation to use her services again.

Pro Credit Fix
eCommerce Solution

Excellent job!!!!!!

Live Video CoParenting
Custom Joomla Component

Amy is skilled, intelligent and easy to communicate with. She completed the job to my complete satisfaction. I recommend this contractor highly.

Jely Finger Guitars
eCommerce Website

We are so very grateful for our affiliation with this talented lady.

Golf Squad
eCommerce Solution

Amy was awesome and finished the job with ease and professionalism. She was able to complete a job that several other local freelancers were not able to do … it is a huge relief to our company and I would definitely recommend her!

Freedom Service Dogs
Custom Plugin

Great work  ... I love, love, love it!

client screenshot
A1 Transmission and Gear

Amy Hill is extremely knowledgeable, energetic and dedicated to getting it right, PLUS on top of that she is very easy to work with.  It can be a bit intimidating to work with some computer programmers but with Amy that’s not a problem. Another top notch fact about Amy is how she can be so creative.  By the time I finish with my daily business I don’t have much energy to think hard about my website, all I have to do with Amy is give her a couple broad thoughts and she’s able to see what I’m trying to do and she delivers the product ASAP which lets me to go back to my regular job with a smile on my face.  I highly recommend her services!

Gain Management
Custom Plugin

I want to thank Amy for delivering on every promise, I needed a custom merchant site built to meet my needs and Amy delivered exactly what I requested on time and on budget. She is very responsive and clearly a master of her field. I highly recommend her to prospective clients!

Copyright © 2022 Anvil Zephyr, LLC
  • Support
  • Account
  • Manage Serial Key Usage
  • Terms and Conditions
We use cookies to ensure that we give you the best experience on our website. We have no intention of treating you like anything other than the amazing customer you are!
If you continue to use this site we will assume that you are comfortable with that.
OkRead Policies