Support

Home Forums Event Espresso Premium Stripe – hide 'State' field

Stripe – hide 'State' field

Posted: September 30, 2014 at 11:40 pm


Alexander Schmidt

September 30, 2014 at 11:40 pm

Hi,

I am considering using the Stripe Payment gateway, since it is now in Beta in my country. However i have an issue – can I hide the State field when paying with Stripe? In Denmark, we don’t use State nor Province when paying normally.

Thank you!


Lorenzo Orlando Caum

  • Support Staff

October 1, 2014 at 11:08 am

Hi Alexander,

Follow these steps:

1) Be sure you are running the latest version of Event Espresso 3.

2) Login to your site with an SFTP or FTP client. FileZilla and Cyberduck are free options.

3) Browse to this location:

wp-content/plugins/event-espresso/gateways/stripe

4) Download a copy of the stripe folder to your computer.

5) Browse to this location:

wp-content/uploads/espresso/gateways

6) Upload the stripe folder that you downloaded to the location above.

7) Open the stripe_vars.php file for editing.

At around line 56, you’ll see the lines of code for the state:

http://cl.ly/image/0i2j2g1t0j18



8) Comment out or remove those lines and save changes.

Let us know if this works.


Lorenzo


Alexander Schmidt

October 2, 2014 at 1:16 am

Hi,

Thank you – i will try it!
Is it possible to use Stripe Checkout? https://stripe.com/docs/checkout
That is beautiful!

Thanks again


Dean

October 2, 2014 at 2:02 am

Hi Alexander,

I can put forward a feature request but I cannot guarantee inclusion. We are currently in the middle of a re-write of the gateways so things may change in the future, but generally we want all the gateways to perform in the same way in case a user is using multiple gateways.

The support post ‘Stripe – hide 'State' field’ 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