Support

Home Forums Event Espresso Premium SagePay – Changing required fields

SagePay – Changing required fields

Posted: January 25, 2016 at 9:14 am


Alan Coyne

January 25, 2016 at 9:14 am

Hi,

On SagePay checkout, can we change a field thats required to not required. I want to change Zip/PostCode to not required.

Thanks

Alan


Lorenzo Orlando Caum

  • Support Staff

January 25, 2016 at 10:58 am

Hi Alan,

That field is currently required and does not have a filter to override it.

What fields are optional for payments in the United Kingdom?


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

January 25, 2016 at 12:20 pm

Hello, it appears that there is another filter than can currently handle this. It was located in a different location so I didn’t see it earlier.

Try adding this to your site via a child theme’s functions.php file or a site specific plugin:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/mn_billing_form_zip_optional_for_sagepay.php


Lorenzo


Alan Coyne

January 26, 2016 at 1:51 am

Perfect . Thanks Lorenzo

The support post ‘SagePay – Changing required fields’ 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.

Event Espresso