Support

Home Forums Event Espresso Premium Accepting payments from US/Canada (mandatory State & Zip fields in form ) in GBP

Accepting payments from US/Canada (mandatory State & Zip fields in form ) in GBP

Posted: November 22, 2017 at 8:02 am

Viewing 12 reply threads


BridgeTraining

November 22, 2017 at 8:02 am

I am currently using version 4.9.43.p of event espresso.

Our company is based in the UK, however the only advertised courses we have at the moment are taking place in Canada. As such, we changed our country setting to Canada so that our tickets would show in Canadian dollars.

When customers check out and select UK as the country when paying by card (through Authorize.net), they have no problem.

When customers select Canada as their country when paying by card (through Authorize.net), they get an error “Bill To State/Province is required. (Reason Code: 33)”.

The State/Province field does not appear on this form, and I cannot work out where to switch it on. I was able to find the form for Personal Information in EE, where I ticked “State” and included it on the first stage of the form. However at the next page, where card details are entered, the state field does not appear. Nor can I find it on the “Payment Methods” form in EE (there’s a “County” field currently unticked but no field for State/Province).

I saw on another thread that error 33 may occur when you have State marked as “required” on your form settings in your Authorize.net account. I checked our Authorize.net account and spoke to an operator there, who said that is not the case for us (the box was not checked). I also tried switching it on in case it changed visible options somewhere in the EE backend, but this was not the case. So I turned it back off again.

She clarified that our merchant account was only set up to receive GBP (the country we registered in), which is fine – we can charge our Canadian customers in GBP instead of CAD. I can change our country back to the UK for future purchases. However, the issue is: Since our customers live in Canada, their billing addresses will be in Canada, therefore the “State” field will apply to them as mandatory in order to complete payment.

Please see this article on the Authorize.net requirements for accepting payments from the US or Canada (error 325 at their end).

The Authorize.net operator also advised that in this case, the missing “state” field on the form was an EE issue, not a payment gateway issue.


TL;DR:
How do I get the “State/Province” field to appear on the card payment section of the form as mandatory?


Tony

  • Support Staff

November 22, 2017 at 8:43 am

I am currently using version 4.9.43.p of event espresso.

The latest version is currently 4.9.52.p, can you update and confirm if you have the same issue?

The State/Province field does not appear on this form, and I cannot work out where to switch it on. I was able to find the form for Personal Information in EE, where I ticked “State” and included it on the first stage of the form. However at the next page, where card details are entered, the state field does not appear. Nor can I find it on the “Payment Methods” form in EE (there’s a “County” field currently unticked but no field for State/Province).

The registration questions are different from the billing information form so adding questions to the reg questions doesn’t change the billing forms (this is intentional for a few reasons, one of which being that different payment methods require different fields).

However, you should have a ‘state’ field you can enable on the Auth.net AIM payment method setting mentioned above, it should look like this – http://take.ms/ztt5T

If you don’t see that can you post a screenshot of the payment method settings so I can see what your looking at, please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


BridgeTraining

November 22, 2017 at 9:33 am

Hi Tony,
Here’s what I currently see. I will update to the newest version of EE and revert.
Cheers


Tony

  • Support Staff

November 22, 2017 at 9:37 am

The state field has been renamed to County for the UK – http://take.ms/0sqcM

Remove the checkbox from the top section and enable it on the bottom.


BridgeTraining

November 22, 2017 at 10:18 am

Hi Tony.

I’ll note that removing the checkbox from the top section and enabling it on the bottom, then clicking “Update Authorize.net Payment Settings” actually cleared all of the settings on that page, so if anyone else wants to try; take a screenshot first so you don’t have to refill all the fields from scratch!

After enabling the tickbox, all is working – however without a Canadian card myself there is no way to tell if it actually works.

I entered my own (UK) card details and selected Canada as the country and New Brunswick as the state. The first time I had a UK post code and the error message said there was a mismatch (to be expected because the Authorize.net article suggested that their system searches the state/province + first two characters of the postcode.

The second time I updated this information to include a New Brunswick zipcode. Obviously the given billing address doesn’t match my actual UK billing address, and I got an “AVS” error about a billing mismatch (disappeared before I could screenshot). The recipient email got a declined notification, the admin got a “Suspicious transaction” email from Authorize.net, yet my card notification told me the transaction had gone through.

Can I assume that the system now works, since I am getting a different error to the one about the state/province field?

Thank you!


BridgeTraining

November 22, 2017 at 10:19 am

Note: upon checking my bank card I can see the transaction amount was refunded/not released from pending on my card.


Tony

  • Support Staff

November 22, 2017 at 10:34 am

It sounds like its working to me.

Something to note is Canadian users may not understand ‘County’ to represent states, are you running a custom function to translate ‘State’?


BridgeTraining

November 22, 2017 at 10:39 am

No I am not – would you be able to advise how I might be able to do this?


Tony

  • Support Staff

November 22, 2017 at 10:40 am

Your site is already using ‘County’ in place of state, how did you set that up?


BridgeTraining

November 22, 2017 at 10:42 am

Hi Tony,
I’m not sure; the site was originally set up by someone else, I am now tasked with maintaining it! Any ideas how I can change it back? Thanks


Tony

  • Support Staff

November 22, 2017 at 10:48 am

Hmm, ok.

I’m guessing your site is just using the EE translation for it then.

Download this file – http://take.ms/SLLTL

Place that in /wp-content/uploads/espresso/languages/

Does the county field then show ‘State’?


BridgeTraining

November 22, 2017 at 10:54 am

Yes!! Brilliant – thank you. It now says “State” instead of “County”.


Tony

  • Support Staff

November 23, 2017 at 1:55 am

Great!

A quick explanation of what that file is so you know, we have translation files available for EE here: https://translate.eventespresso.com/projects/event-espresso-4/

You site is set to English (UK) so your locale is en_GB

That translation file is available here:

https://translate.eventespresso.com/projects/event-espresso-4/en-gb/event-espresso-en_gb/

The translation for state is shown here:

https://translate.eventespresso.com/projects/event-espresso-4/en-gb/event-espresso-en_gb/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=8269&filters%5Btranslation_id%5D=67863

All I have donw is download the PO file from our project above, removed that translation and generated a .MO file using POEdit (which is the file above). Placing that translation in the location mentioned tells EE to load that version rather than the defult one.

You can read more about how to translate EE using the PO/MO files here:

https://eventespresso.com/wiki/how-to-translate-event-espresso/

Viewing 12 reply threads

The support post ‘Accepting payments from US/Canada (mandatory State & Zip fields in form ) in GBP’ 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