PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Credit Card field in 1.6

  1. I've seen a lot of talk about the new credit card field that is in 1.6 and so I went and enabled it on my form. However, it doesn't seem like the values from the credit card field pass through the way I was trying do it. Also, it seems by the time it gets to the $entry object in gforms_after_submission it is already encrypted. I couldn't find this documented anywhere yet, or in the forums.

    Do you mind filling me in on the field? Or should I just wait till it's developed more? I'm looking to extend the freshbooks add on to do recurring invoices rather than just regular ones.

    Thanks for the help.

    Posted 10 years ago on Friday November 11, 2011 | Permalink
  2. For security purposes, we don't store most of the information in the credit card field. The security code and the expiration date are completely dropped, and only the last four digits of the card number make it into the entry. What this means is that to get data from the credit card field, you must use the $_POST variable. All credit card fields will be available in the $_POST variable when accessed within the Gravity Forms submission hooks (i.e. gform_validation or gform_after_submission).

    Posted 10 years ago on Friday November 11, 2011 | Permalink
  3. Not sure why I didn't think to use that. That helps and makes a lot of sense.


    Posted 10 years ago on Saturday November 12, 2011 | Permalink

This topic has been resolved and has been closed to new replies.