Support

Home Forums Event Espresso Premium International Bank Transfer

International Bank Transfer

Posted: December 24, 2013 at 8:47 am

Viewing 6 reply threads


Hannes Schnitzer

December 24, 2013 at 8:47 am

Hi,

we do only accept international bank transfers from our customers. Therefore we need to tell them the IBAN and BIC/SWIFT codes of our bank. Unfortunately, the event espresso bank transfer admin page only allows to enter the account number and name of the bank which are only suited for national bank transfers.

Is there any way to bypass this?

Thank you.

WP 3.8
EE 3.1.36.1.P
New installation, registration page not yet online


Josh

  • Support Staff

December 24, 2013 at 10:38 am

Hi Hannes,

One option would be to add the additional information in the “Payment Instructions” box.

Another option would be to add the additional information or even refactor some of the field labels in the markup located in /wp-content/plugins/event-espresso/gateways/bank/bank_payment_vars.php starting on line 40. If you go this route you can copy over the modified /bank/ folder with its contents to /wp-content/uploads/espresso/gateways and the changes will not get overwritten when you do a software update.


Hannes Schnitzer

December 25, 2013 at 6:05 am

Thanks for your help Josh.
I went for the second option and edited bank/settings.php and bank/bank_payment_vars.php accordingly. It looks all good and the new fields show up on the interface but the values are not stored in database. How can I achieve this?

Thanks.


Josh

  • Support Staff

December 26, 2013 at 10:32 am

You can avoid changing the settings and having to modify the database to create new fields by hardcoding the labels and values directly into /wp-content/plugins/event-espresso/gateways/bank/bank_payment_vars.php


Hannes Schnitzer

December 27, 2013 at 12:59 am

Well, yes of course, but that doesn’t seem like a good long term solution. The international bank account number might change next year and a developer would have to change the code again. Can you please advise which steps would be necessary to have the values stored in database?

Thank you!


Dean

December 27, 2013 at 5:24 am

Hi Hannes,

It depends on how much interaction or ease of use you need.

For example you could add the data to a new table in the database (to avoid being overwritten in error by updates) and then do an SQL query in the gateway file to pull that in.

If you wanted it more user friendly, then you would need to create a plugin to create said database, and create an admin menu to allow easy access to change it, and also still modify the gateway to pull in that data.


Hannes Schnitzer

December 28, 2013 at 1:28 am

Thanks Dean, problem solved.

Viewing 6 reply threads

The support post ‘International Bank Transfer’ 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