For ACLEDA merchant logo, initial idea to allow server to override it within path:vpago/payway/acleda_merchant_logo_300x300.png. But it does not always work as it confuses rails between 2 file in gem and server.
Work on development
Does not work on staging
Solution
Move ACLEDA logo placeholder to template/ instead. It will copy to the server when run install. bundle exec rails g spree_vpago:install. Server project will see that file and can override it.
Problem
For ACLEDA merchant logo, initial idea to allow server to override it within path:
vpago/payway/acleda_merchant_logo_300x300.png
. But it does not always work as it confuses rails between 2 file in gem and server.Solution
Move ACLEDA logo placeholder to
template/
instead. It will copy to the server when run install.bundle exec rails g spree_vpago:install
. Server project will see that file and can override it.