Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrzakadrian committed Jan 28, 2022
0 parents commit 745b80d
Show file tree
Hide file tree
Showing 105 changed files with 6,575 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
TpayShopwarePayment-master.zip
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1.0.0
- First version of TpayShopwarePayment
2 changes: 2 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1.0.0
- Erste Version der TpayShopwarePayment
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# TpayShopwarePayment

### Tpay Payments integration for [Shopware 6](https://github.com/shopware/platform)


82 changes: 82 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#!/usr/bin/env bash

echo -e "\e[92m######################################################################"
echo -e "\e[92m# #"
echo -e "\e[92m# Start tPay Builder #"
echo -e "\e[92m# #"
echo -e "\e[92m######################################################################"

echo -e "Release"
echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 1 of 7 \e[33mRemove old release\e[39m"
# Remove old release
rm -rf TpayShopwarePayment TpayShopwarePayment-*.zip
echo -e "\e[32mOK"

echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 2 of 7 \e[33mBuild\e[39m"
cd ../../../
./bin/build-storefront.sh
./bin/build-administration.sh
cd custom/plugins/TpayShopwarePayment/
echo -e "\e[32mOK"

echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 3 of 7 \e[33mCopy files\e[39m"
rsync -av --progress . TpayShopwarePayment --exclude TpayShopwarePayment
echo -e "\e[32mOK"


echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 4 of 7 \e[33mGo to directory\e[39m"
cd TpayShopwarePayment
echo -e "\e[32mOK"

echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 5 of 7 \e[33mDeleting unnecessary files\e[39m"
cd ..
( find ./TpayShopwarePayment -type d -name ".git" && find ./TpayShopwarePayment -name ".gitignore" && find ./TpayShopwarePayment -name "yarn.lock" && find ./TpayShopwarePayment -name ".php_cs.dist" && find ./TpayShopwarePayment -name ".gitmodules" && find ./TpayShopwarePayment -name "build.sh" ) | xargs rm -r
cd TpayShopwarePayment/src/Resources
cd ../../../
echo -e "\e[32mOK"


echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 6 of 7 \e[33mCreate ZIP\e[39m"
zip -rq TpayShopwarePayment-master.zip TpayShopwarePayment
echo -e "\e[32mOK"

echo -e "\e[39m "
echo -e "\e[39m======================================================================"
echo -e "\e[39m "
echo -e "Step 7 of 7 \e[33mClear build directory\e[39m"
rm -rf TpayShopwarePayment
echo -e "\e[32mOK"


echo -e "\e[92m######################################################################"
echo -e "\e[92m# #"
echo -e "\e[92m# Build Complete #"
echo -e "\e[92m# #"
echo -e "\e[92m######################################################################"
echo -e "\e[39m "
echo " _____ _ _ ";
echo " / ____| | | | | ";
echo " | | _ __ ___| |__ | | ___ _ __ ";
echo " | | | '__/ _ \ '_ \| |/ _ \ '__|";
echo " | |____| | | __/ | | | | __/ | ";
echo " \_____|_| \___|_| |_|_|\___|_| ";
echo " ";
echo " ";
46 changes: 46 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "tpay/shopware-payment",
"description": "Tpay Payment for Shopware 6",
"type": "shopware-platform-plugin",
"version": "1.0.14",
"license": "MIT",
"authors": [
{
"name": "Tpay Krajowy Integrator Płatności S.A",
"homepage": "https://tpay.com",
"role": "Owner"
},
{
"name": "Jakub Medyński",
"homepage": "https://github.com/jmedynski",
"role": "Developer"
}
],
"require": {
"shopware/core": "^6.4",
"tpay-com/tpay-php": "^2.3",
"whitecube/lingua": "^1.1"
},
"require-dev": {
"roave/security-advisories": "dev-master"
},
"autoload": {
"psr-4": {
"Tpay\\ShopwarePayment\\": "src/"
}
},
"extra": {
"shopware-plugin-class": "Tpay\\ShopwarePayment\\TpayShopwarePayment",
"copyright": "Tpay Krajowy Integrator Płatności S.A",
"label": {
"pl-PL": "Tpay Payment dla Shopware 6",
"en-GB": "Tpay Payment for Shopware 6",
"de-DE": "Tpay Payment für Shopware 6"
},
"description": {
"pl-PL": "Nasz plugin “Tpay for Shopware 6” pozwala na szybką i łatwą integrację popularnego dostawcy płatności internetowych Tpay z Twoim sklepem internetowym, który używany jest już w tysiącach sklepów na całym świecie. Moduł ten oferuje szeroki zakres dostępnych metod płatności w ramach Tpay, które możesz teraz udostępnić swoim klientom na platformie Shopware 6. Obsługiwane są następujące metody płatności: Przelewy bankowe, karty kredytowe, e-transfery, płatności ratalne, płatności mobilne z kodami QR, system BLIK i SMS Premium.",
"en-GB": "Our \"Tpay Payment for Shopware 6\" plugin enables you to quickly and easily integrate the popular online payment provider Tpay into your online store. As part of Tpay, the module offers a wide range of available payment methods, which you can now also offer your Shopware 6 shop customers. The following payment methods are supported: bank transfers, credit cards, e-transfers, installment payments, mobile payments with QR codes, BLIK system and SMS premium.",
"de-DE": "Unser Plugin \"Tpay Payment für Shopware 6\" ermöglicht es Ihnen, den bekannten Online-Zahlungsanbieter Tpay, der bereits weltweit in Tausenden von Shops eingesetzt wird, schnell und einfach in Ihrem Webshop zu integrieren. Das Modul bietet im Rahmen von Tpay ein breites Spektrum an verfügbaren Zahlungsmethoden, die Sie nun Ihren Kunden auch bei Shopware 6 zur Verfügung stellen können. Folgende Zahlungsmethoden werden unterstützt: Banküberweisungen, Kreditkarten, e-Überweisungen, Ratenzahlungen, mobile Zahlungen mit QR-Codes, BLIK-System und SMS Premium."
}
}
}
Loading

0 comments on commit 745b80d

Please sign in to comment.