Jump to content

Edit History

shapwill

shapwill


Improved the module (added translation support) since my original post.

I've managed to successfully create a clone of the ps_wirepayment module for Prestashop 1.7 (running 1.7.6.5) using Ed Eichman's blog post noted earlier in this thread.  I've tested it and it seems to work fine; I was able to use it to display different bank account info depending on the client's chosen currency.

To install, first use phpmyadmin to edit the psbb_configuration table:

– Add PS_OS_BANKWIRE2 (I used value 99) to the configuration table, imitating PS_OS_BANKWIRE

– Also add values to the tables order_state and order_state_lang imitating bankwire, using the same id_order_state value as PS_OS_BANKWIRE2 (99 in my case).

– Install the attached module .zip using the BO modules installer. Configure and you'll find it under the name "Wire Transfer" in the Modules listing and Payment Preferences menu.

With much added effort, I was able to add the translations for this module to the BO; you'll find them under "Installed Modules Translations" –> "Wire Transfer".  *BUT* I could not figure out how to add the title of the payment method (what is shown to the customer at checkout) to the translation database, so you'll have to modify it by hand by editing ps_wiretransfer.php, line 197. For example, I wanted mine to state the currency of the bank account used:

     ->setCallToActionText($this->trans('Bank Transfer in EUR', array(), 'Modules.Wiretransfer.Shop'))

If anyone can make this text translatable, please let us know!

Enjoy!

 

ps_wiretransfer.zip

shapwill

shapwill


Improved the module (added translation support) since my original post.

I've managed to successfully create a clone of the ps_wirepayment module for Prestashop 1.7 (running 1.7.6.5) using Ed Eichman's blog post noted earlier in this thread.  I've tested it and it seems to work fine; I was able to use it to display different bank account info depending on the client's chosen currency.

To install, first use phpmyadmin to edit the psbb_configuration table:

– Add PS_OS_BANKWIRE2 (I used value 99) to the configuration table, imitating PS_OS_BANKWIRE

– Also add values to the tables order_state and order_state_lang imitating bankwire, using the same id_order_state value as PS_OS_BANKWIRE2 (99 in my case).

– Install the attached module .zip using the BO modules installer. Configure and you'll find it under the name "Wire Transfer" in the Modules listing and Payment Preferences menu.

With much added effort, I was able to add the translations for this module to the BO; you'll find them under "Installed Modules Translations" –> "Wire Transfer".

Enjoy!

 

 

ps_wiretransfer.zip

shapwill

shapwill


Improved the module (added translation support) since my original post.

I've managed to successfully create a clone of the ps_wirepayment module for Prestashop 1.7 (running 1.7.6.5) using Ed Eichman's blog post noted earlier in this thread.  I've tested it and it seems to work fine; I was able to use it to display different bank account info depending on the client's chosen currency.

To install, first use phpmyadmin to edit the psbb_configuration table:

– Add PS_OS_BANKWIRE2 (I used value 99) to the configuration table, imitating PS_OS_BANKWIRE

– Also add values to the tables order_state and order_state_lang imitating bankwire, using the same id_order_state value as PS_OS_BANKWIRE2 (99 in my case).

– Install the attached module .zip using the BO modules installer. Configure and you'll find it under the name "Wire Transfer" in the Modules listing and Payment Preferences menu.

With much added effort, I was able to add the translations for this module to the BO; you'll find them under "Installed Modules Translations" –> "Wire Transfer".

Enjoy!

 

ps_wiretransfer.zip

shapwill

shapwill

I've managed to successfully create a clone of the ps_wirepayment module for Prestashop 1.7 (running 1.7.6.5) using Ed Eichman's blog post noted earlier in this thread. I haven't figured out how to add multilingual support (it's only showing English text) but it works, and I was able to use it to issue different bank info depending on the client's chosen currency.

To install, first use phpmyadmin to edit the psbb_configuration table:

– Add PS_OS_BANKWIRE2 (I used value 99) to the configuration table, imitating PS_OS_BANKWIRE

– Also add values to the tables order_state and order_state_lang imitating bankwire, using the same id_order_state value as PS_OS_BANKWIRE2 (99 in my case).

– Install the attached module .zip using the BO modules installer. Configure and you'll find it under the name "Wire Transfer" in the Modules listing and Payment Preferences menu.

If anyone figures out how to add this to the translation BO, please add it to this thread!

Enjoy!

ps_wiretransfer.zip

×
×
  • Create New...