Posted: August 17, 2023 at 8:35 am
Hello, We created a third question group for Billing Info: https://snipboard.io/Tz6rYx.jpg That is fine but we noticed that when the user selects credit card for the payment method, the Attendee 1 info is populated. https://snipboard.io/wXrKJU.jpg Is it possible to have the billing info populated here OR just have it blank? Thank you. |
|
Subject should read “Prevent Credit Card Fields from Populating” |
|
Hi there, There’s a filter used for those values:
You can’t easily set the values to be from the registration questions but you can return an empty array to that filter to just have the fields blank. |
|
Thank you very much. I am going to try this! |
|
Hello Tony, I put the following function and filter in my functions.php
I was thinking I should edit this directly in the EE core plugin files which is why I put in functions.php. The attendee’s info is still populating so I did something wrong, ha! Any insight? I appreciate your help. |
|
*I was thinking I shouldn’t edit this directly in the EE core plugin files. |
|
🙂 yep, you need to USE the filter rather than copy it. So you just need to remove the above and use something like this:
|
|
Perfect. Thank you very much! |
|
The support post ‘Prevent Credit Card Fields (First, Last Name, & Email)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.