bookmebus / spree_vpago

Spree extension for traditional redirect off site payment gateway in Cambodia
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

close #138 setup acleda merchant logo template #139

Closed theachoem closed 7 months ago

theachoem commented 7 months ago

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.

image