diff --git a/.githooks/commit-msg b/.githooks/commit-msg index 3a1276348..b5f79a6af 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -33,17 +33,10 @@ echo commit_regex="^(Merge branch|(feat|fix|chore|refactor|docs|test|style|enhancement):).+" -if git log --show-signature -n 1 | grep -q 'gpg:'; then - if ! echo "$commit_msg" | grep -Ei "$commit_regex" ; then - echo "Aborting commit. Your commit message does not follow the conventional format." - echo "The commit message should begin with one of the following keywords followed by a colon: 'feat', 'fix', 'chore', 'refactor', 'docs', 'test' or 'style'. For example, it should be formatted like this: 'feat: - '" - exit 1 - fi -else - echo "~~~~**** Error: Commit Signature Missing. ****~~~~" - echo "Please make sure to sign your commits. You can sign your commit by using the '-S' option with 'git commit'." - echo "Example: git commit -S -m 'Your commit message'" - echo "Signing commits is crucial for verifying contributions. Consult GitHub's documentation on commit signature verification for guidance: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits" + +if ! echo "$commit_msg" | grep -Ei "$commit_regex" ; then + echo "Aborting commit. Your commit message does not follow the conventional format." + echo "The commit message should begin with one of the following keywords followed by a colon: 'feat', 'fix', 'chore', 'refactor', 'docs', 'test' or 'style'. For example, it should be formatted like this: 'feat: - '" exit 1 fi diff --git a/public/hyperswitch/Gateway/HELCIM.svg b/public/hyperswitch/Gateway/HELCIM.svg new file mode 100644 index 000000000..42781a58b --- /dev/null +++ b/public/hyperswitch/Gateway/HELCIM.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/src/screens/HyperSwitch/Connectors/ConnectorTypes.res b/src/screens/HyperSwitch/Connectors/ConnectorTypes.res index 6fad11800..160af42a5 100644 --- a/src/screens/HyperSwitch/Connectors/ConnectorTypes.res +++ b/src/screens/HyperSwitch/Connectors/ConnectorTypes.res @@ -74,6 +74,7 @@ type connectorName = | GOCARDLESS | VOLT | PROPHETPAY + | HELCIM | UnknownConnector(string) type paymentMethod = diff --git a/src/screens/HyperSwitch/Connectors/ConnectorUtils.res b/src/screens/HyperSwitch/Connectors/ConnectorUtils.res index 8b08ba1b4..e28212c72 100644 --- a/src/screens/HyperSwitch/Connectors/ConnectorUtils.res +++ b/src/screens/HyperSwitch/Connectors/ConnectorUtils.res @@ -167,6 +167,7 @@ let connectorList: array = [ GLOBALPAY, GLOBEPAY, GOCARDLESS, + HELCIM, IATAPAY, KLARNA, MOLLIE, @@ -457,6 +458,10 @@ let prophetpayInfo = { description: "A secure, affordable, and easy-to-use credit card processing platform for any business.", } +let helcimInfo = { + description: "Helcim is the easy and affordable solution for small businesses accepting credit card payments.", +} + let unknownConnectorInfo = { description: "unkown connector", } @@ -517,6 +522,7 @@ let getConnectorNameString = connector => { | VOLT => "volt" | PROPHETPAY => "prophetpay" | BANKOFAMERICA => "bankofamerica" + | HELCIM => "helcim" | UnknownConnector(str) => str } } @@ -573,6 +579,7 @@ let getConnectorNameTypeFromString = connector => { | "volt" => VOLT | "bankofamerica" => BANKOFAMERICA | "prophetpay" => PROPHETPAY + | "helcim" => HELCIM | _ => UnknownConnector("Not known") } } @@ -629,6 +636,7 @@ let getConnectorInfo = (connector: connectorName) => { | VOLT => voltInfo | PROPHETPAY => prophetpayInfo | BANKOFAMERICA => bankOfAmericaInfo + | HELCIM => helcimInfo | UnknownConnector(_) => unknownConnectorInfo } }