Posted: 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 |
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. |
|
|
Thanks for your help Josh. Thanks. |
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 |
|
|
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! |
|
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. |
|
Thanks Dean, problem solved. |
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.