thirtybees / custompayments

Custom payment methods
Academic Free License v3.0
4 stars 8 forks source link

Module payment #7

Closed croquete1 closed 1 year ago

croquete1 commented 1 year ago

it would be awesome if when we create another payment method, it resumes like it does on Bankwire... imagem imagem

getdatakick commented 1 year ago

I guess you are talking about custompayments module?

croquete1 commented 1 year ago

yess

I was looking and I see there is some type of code and %value% or something... but when selecting other method, the button for finalize payment is different

getdatakick commented 1 year ago

There is placeholder %total% that you can use in custom payment description. It will be replaced with actual amount.

Not sure what you mean by "button for finalize payment is different"

croquete1 commented 1 year ago

this is by bankwire module: imagem

this is by other method of payment here in Portugal, it´s MBway: imagem

getdatakick commented 1 year ago

This is theme issue, not a module one.

Your theme probably contains custom override for bankwire module templates, but does not include override for custompayment module template, so the default module template is used:

https://github.com/thirtybees/custompayments/blob/master/views/templates/front/payment_execution.tpl

You should override this template for your theme, and adjust it to your needs.

getdatakick commented 1 year ago

I have created enhancement request for niara theme thirtybees/niara#62 but that will not help you if you are using different theme

croquete1 commented 1 year ago

im using Niara theme imagem

thanks for all the help