Opensourcepos: Add Visa , Master Cards in payment options Please

Created on 18 Sep 2019  Â·  2Comments  Â·  Source: opensourcepos/opensourcepos

Background information

__IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.__

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • [x] Reporting an issue of an unmodified OSPOS installation
  • [x] Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • [x] Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • [] Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • [] Read the wiki
  • [] Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • [] Aware the installation code is in bintray (see README), and GitHub master is for developers only and therefore not complete nor stable

Installation information

  • OSPOS version is: 3.2.3
  • OSPOS git commit hash is:
  • PHP version is:
  • MySQL or MariaDB version is: Ver 14.14 Distrib 5.7.27
  • OS and version is: 5.7.27 Ubuntu 18.04.1
  • WebServer is: using Digital Ocean
  • Selected language is: English
  • (If applicable) Docker installation:
  • (If applicable) Installation package for the LAMP/LEMP stack is:

Issue / Bug / Question / New Feature

New Feature

Is there a way that we can add specific cards
eg. Master Cards,
Visa Credit Cards

Reason why im asking is when making reports i would like the ability to distinguish between the type of payment made with cards as that is important when we reconcile with the banks.

I somewhat know a bit on how the system works but for the life of me i cannot figure out where exactly that is being taken as the database only has a field for {Sale_Type} but no where in the database you can add the different payment methods.

can one point me to what direction i can manually add the other payment methods? is it feasible to do it ?

Payment Method

Please write your issue here. If a bug, please make sure to provide as much information as possible including configuration settings (e.g. Decimals set, Tax mode), language and steps to reproduce the bug.

Most helpful comment

Amazing thank you so much !


From: odiea notifications@github.com
Sent: Wednesday, September 18, 2019 11:53 AM
To: opensourcepos/opensourcepos opensourcepos@noreply.github.com
Cc: Keron Tzul kerontzul@hotmail.com; Author author@noreply.github.com
Subject: Re: [opensourcepos/opensourcepos] Add Visa , Master Cards in payment options Please (#2542)

Yes there is a way for this to happen. In your language find sales and add the following lines. Try this and see if it works for you.

$lang["sales_mc"] = "Master Card";
$lang["sales_visa"] = "Visa";

Then in application /helpers find locale_helper
Then add the following lines before or after line 250.

$payments[$lang->line('sales_mc')] = $lang->line('sales_mc');
$payments[$lang->line('sales_visa')] = $lang->line('sales_visa');

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/opensourcepos/opensourcepos/issues/2542?email_source=notifications&email_token=AKTCDASFGD7ZSD5SANLBPPLQKJTLJA5CNFSM4IX74MGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7A44FQ#issuecomment-532794902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKTCDASWTDK2U2UHUS3VOL3QKJTLJANCNFSM4IX74MGA.

All 2 comments

Yes there is a way for this to happen. In your language find sales and add the following lines. Try this and see if it works for you.

$lang["sales_mc"] = "Master Card";
$lang["sales_visa"] = "Visa";

Then in application /helpers find locale_helper
Then add the following lines before or after line 250.

$payments[$lang->line('sales_mc')] = $lang->line('sales_mc');
$payments[$lang->line('sales_visa')] = $lang->line('sales_visa');

Amazing thank you so much !


From: odiea notifications@github.com
Sent: Wednesday, September 18, 2019 11:53 AM
To: opensourcepos/opensourcepos opensourcepos@noreply.github.com
Cc: Keron Tzul kerontzul@hotmail.com; Author author@noreply.github.com
Subject: Re: [opensourcepos/opensourcepos] Add Visa , Master Cards in payment options Please (#2542)

Yes there is a way for this to happen. In your language find sales and add the following lines. Try this and see if it works for you.

$lang["sales_mc"] = "Master Card";
$lang["sales_visa"] = "Visa";

Then in application /helpers find locale_helper
Then add the following lines before or after line 250.

$payments[$lang->line('sales_mc')] = $lang->line('sales_mc');
$payments[$lang->line('sales_visa')] = $lang->line('sales_visa');

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/opensourcepos/opensourcepos/issues/2542?email_source=notifications&email_token=AKTCDASFGD7ZSD5SANLBPPLQKJTLJA5CNFSM4IX74MGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7A44FQ#issuecomment-532794902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKTCDASWTDK2U2UHUS3VOL3QKJTLJANCNFSM4IX74MGA.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hemakumar08 picture hemakumar08  Â·  3Comments

odiea picture odiea  Â·  3Comments

asakpke picture asakpke  Â·  4Comments

danersan picture danersan  Â·  4Comments

odiea picture odiea  Â·  5Comments