crash_999 Posted January 28, 2021 Share Posted January 28, 2021 Hi, I am having issues to find the name that shows in the invoices for Stripe. In al the places shows as payment/ Payment method: Card via Stripe and I cannot find this translation or the file to change it. Does anyone knows where to find it? Thanks! Link to comment Share on other sites More sharing options...
jetway Posted January 29, 2021 Share Posted January 29, 2021 I would guess that you need to go to Translation, and then you select installed Module Translation and the language you want to translate. If it cannot be found there, it might be in the Module configuration. Link to comment Share on other sites More sharing options...
crash_999 Posted January 29, 2021 Author Share Posted January 29, 2021 2 hours ago, jetway said: I would guess that you need to go to Translation, and then you select installed Module Translation and the language you want to translate. If it cannot be found there, it might be in the Module configuration. Thanks Jetway for your answer. I have tired in Translations and in the Stripe Config but nothing... I even tried looking on several .tpl and on the email templates. In one of the .tpl takes the {method_payment} value from Emails.Body or something like that but I cannot find it "Emails.Body". Link to comment Share on other sites More sharing options...
jetway Posted January 29, 2021 Share Posted January 29, 2021 Which stripe Module do you have installed. For testing purposes i installed the official one, and I changed the text in translation under installed Module Translation. Link to comment Share on other sites More sharing options...
xemin Posted June 5, 2021 Share Posted June 5, 2021 @crash_999 having same issue, did you find any method? to replace the stripe payment module description "Card via Stripe" with something else? Searched on all files using Sublime text option Find in Files and Folders also in Database, its no where. Anyone any idea how to replace it? Link to comment Share on other sites More sharing options...
xemin Posted June 5, 2021 Share Posted June 5, 2021 @crash_999 Just found the solution. Word "Card" is on file : prestashop/modules/stripe_official/stripe_official.php line 172. Second part "via Stripe" is on: prestashop/modules/stripe_official/classes/actions/ValidationOrderActions.php line 316. You may set your description on stripe_official.php and on the second file you can remove the other part and leave it blank. After updating these two files try to make a test order and you will see at order's payment description is your custom name. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now