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.

Possible to capture credit cards locally?

  1. Is it possible to do everything on the site without sending users to PayPal. I know we will need an SSL certificate and that this is possible with various paypal compatible shopping carts but can we do this with Gravity Forms?

    Posted 11 years ago on Wednesday February 9, 2011 | Permalink
  2. Yes, it's possible although i'm not 100% sure on the guidelines for storing credit card data. You would want to use SSL on your WordPress site which can be done using plugins that handle making sure the site is accessed via SSL and of course installing SSL on your web server.

    In Gravity Forms v1.5 there are hooks in place that would allow you to 1) encrypt form data and 2) decrypt form data when it is displayed. You would have to write custom code to do it, but the hooks are in place to make it possible.

    Posted 11 years ago on Wednesday February 9, 2011 | Permalink
  3. Thank you!

    Would it be possible to do recurring transactions through the gravity forms?

    Posted 11 years ago on Thursday February 10, 2011 | Permalink
  4. Recurring transactions are possible with Gravity Forms and the PayPal Add-On. The PayPal Add-On supports recurring transactions, which are really handled by PayPal. Gravity Forms sets up the recurring transaction with PayPal based on the form submission.

    Posted 11 years ago on Thursday February 10, 2011 | Permalink
  5. If someone writes this code, get in touch! I'd love to be able to do this on my site. I currently take deposits online... and I get a phone call once a month from someone who says, I can't make a deposit, I don't have a paypal account! I'd love to get the information on my site etc..

    I also helped the local fire department with registration for a 5K -- and they had similar questions sent to them. Maybe a couple of us can get together to help underwrite the enhancement?


    Posted 11 years ago on Thursday March 31, 2011 | Permalink
  6. We also have someone interested in this capability. Any success finding a developer for this? Will the Credit Card field coming in a future release help secure credit card information locally? Thanks!

    Posted 10 years ago on Saturday December 17, 2011 | Permalink
  7. As explained here this is already possible. I have not heard of anyone developing this though.

    Also, the credit card data will not be stored locally in the future. It is always handed off to the card processor.

    Posted 10 years ago on Monday December 19, 2011 | Permalink
  8. I meant to ask specifically about storing credit card numbers locally AND securely. i.e. sending half the number over email, half stored on server with an encryption key, etc.

    If anyone comes up with a solution I would be very interested, thanks!

    Posted 10 years ago on Tuesday December 20, 2011 | Permalink
  9. @bozzmedia, here is the latest information from Carl Hancock about what is currently built in to Gravity Forms for credit cards:

    You can currently encrypt and store the credit card information with hooks that are built in to Gravity Forms.

    Posted 10 years ago on Tuesday December 20, 2011 | Permalink
  10. Thanks Chris. So I've added the required hooks to functions.php but I'm not seeing anything pop up in the form editor. Is there further coding required to take advantage of this field in the form editor, or is it all done outside of the editor?

    add_action("gform_enable_credit_card_field", "enable_creditcard");
    function enable_creditcard($is_enabled){
        return true;
    add_filter("gform_creditcard_types", "remove_maestro");
    function remove_maestro($cards){
        unset($cards[5]); //removing Maestro from the list
        return $cards;
    Posted 10 years ago on Wednesday January 4, 2012 | Permalink