Jump to content

Payment method on invoice shows modulename vs credit card


Recommended Posts

  • 1 month later...

same question.

currently i am testing with STRIPE moduel, and it shows up "stripe" as a payment method on the invoice.

 

which file should i look into? and modify?

 

i would like to make it to visa, mc, amex, or disc as a payment method.

 

and also,

i would like to put last 4digits number of credit card on the invoice, so that customer can see what they paid the order with.

 

i see in order page in BO, all credit card information show up.

i could grab those infor and put it in invoice template.

 

any suggestion will be appreciated.

 

thank you.

Link to comment
Share on other sites

If you modify the translations for your payment modules you should be able to change the text that is displayed in various places on the site.

 

Go to Localization/Translations, then at the top choose Installed Modules Translations. Choose the flag for the language you want to change. From there find your module and it has all the text for the module that you can translate or change. I'm using the offlinecreditcard module and I was able to change from the module name to Credit Card all over the place just by changing this one field.

 

Also, the offline credit card module doesn't even ask for the credit card type so we have to modify it to get that. But at least replacing the module name in certain places was pretty easy.

 

Hope this helps you.

Edited by toninovak66 (see edit history)
Link to comment
Share on other sites

If you modify the translations for your payment modules you should be able to change the text that is displayed in various places on the site. Go to Localization/Translations, then at the top choose Installed Modules Translations. Choose the flag for the language you want to change. From there find your module and it has all the text for the module that you can translate or change. I'm using the offlinecreditcard module and I was able to change from the module name to Credit Card all over the place just by changing this one field. Also, the offline credit card module doesn't even ask for the credit card type so we have to modify it to get that. But at least replacing the module name in certain places was pretty easy. Hope this helps you.

 

great, it works as described. :)

i found 'Stripe' expression(?) in "module - stripejs" section, and put 'Credit Card' for 'Stripe', then saved.

it works.

 

however, for those who looking for the same question, it's effective for new order or payment. it won't change the orders prior to the change.

 

thank you toninovak66

 

1 down 1 to go.

anyone knows how to grab last 4digits of the credit card?

Edited by proavpool (see edit history)
Link to comment
Share on other sites

You're welcome proavpool. For your answer to the second, I'm not familiar with stripe. I assume you are able to retain the credit card number and see it, which means you can extract it for your invoices. If you are familiar with php and can do some coding and database queries, you should be able to put it on the invoice in whatever format you can. Sorry I can't be of more help than that.

Link to comment
Share on other sites

You're welcome proavpool. For your answer to the second, I'm not familiar with stripe. I assume you are able to retain the credit card number and see it, which means you can extract it for your invoices. If you are familiar with php and can do some coding and database queries, you should be able to put it on the invoice in whatever format you can. Sorry I can't be of more help than that.

 

yes i know for sure, it could be done.

i have a very little skill to utilize the php/html/css..thing, but it's kind of out of my league at the moment. but if someone direct me which file, variation to look, that will save me many days. :)

 

thanks for your time and help anyways.

Link to comment
Share on other sites

  • 4 months later...

Hi

 

I need a more flexible invoice. The payment info shall depend on the payment method:

 

 

EDIT:

This works now:

{if $payment->payment_method == 'Payment method: Rechnungskauf'}
{l s='blabla' pdf='true'}

Payment method: Rechnungskauf ---> is the way I had to call a certain module of mine

but any else like bankwire / 'Bank Wire' or so should do.

 

Edited by B.Köring (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...