hps / heartland-gravity-forms-addon

Heartland plugin for Gravity Forms.
https://developer.heartlandpaymentsystems.com/SecureSubmit
GNU General Public License v2.0
2 stars 5 forks source link

Credit Card Form not working on Chrome #77

Open benhager opened 1 year ago

benhager commented 1 year ago

The credit card, expiration, and cvv entry on the form does not work in Chrome or Edge. It seems to be working in Safari without issue. Issue is present on this page: https://farberhds.org/giving/annual-event/giving-general-donation/

Please advise on the issue and when it can be fixed. We are in the middle of an active fundraiser and this is really hurting our campaign.

slogsdon commented 1 year ago

@benhager This is based on how your form is configured to hide the credit card fields when the form is first loaded and how Chrome/Edge handle this. For a short-term fix, you can add this to your theme's CSS:

#HPS_secure_cc iframe {
    min-height: 51px;
}
benhager commented 1 year ago

@slogsdon that does fix my issue!! Thank you very much for the prompt support, we really appreciate it!

I am not very familiar with your plugin, so is there a better way to do what I'm trying to do here? Or is this the best approach?