Skip to content

Commit

Permalink
Additional Branding + Docker dev env (#44)
Browse files Browse the repository at this point in the history
* Branding

* Add docker-compose and plugin installation
  • Loading branch information
HMKnapp authored Jul 26, 2021
1 parent 227a890 commit d22f663
Show file tree
Hide file tree
Showing 107 changed files with 2,325 additions and 186 deletions.
16 changes: 16 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PRESTASHOP_VERSION=1.7.7.5
PRESTASHOP_PERSISTENT=
PRESTASHOP_EXPOSED_PORT=8012
PRESTASHOP_NGROK_HOST=
PRESTASHOP_NGROK_TOKEN=
PRESTASHOP_MYSQL_ROOT_PASSWORD=
PRESTASHOP_MYSQL_DATABASE=
PRESTASHOP_EMAIL=
PRESTASHOP_PASSWORD=
PRESTASHOP_COUNTRY=
PRESTASHOP_LANGUAGE=
PRESTASHOP_NAME=
PRESTASHOP_MYSQL_HOST=
PRESTASHOP_MYSQL_ROOT_PASSWORD=
PRESTASHOP_MYSQL_DATABASE=
PRESTASHOP_ENABLE_SSL=
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
*.zip
*.zip
.DS_Store
node_modules/
data/
61 changes: 0 additions & 61 deletions CODE_OF_CONDUCT.md

This file was deleted.

25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
# Wirecard Checkout Seamless plugin for PrestaShop
# QENTA Checkout Seamless plugin for PrestaShop

[![License](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/wirecard/prestashop-wcs/master/LICENSE)
[![License](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/qenta-cee/prestashop-qcs/master/LICENSE)
[![PrestaShop](https://img.shields.io/badge/PrestaShop-v1.7.5.1-green.svg)](https://www.prestashop.com/)
[![PHP v5.6](https://img.shields.io/badge/php-v5.6-yellow.svg)](http://www.php.net)
[![PHP v7](https://img.shields.io/badge/php-v7.0-yellow.svg)](http://www.php.net)
[![PHP v7.1](https://img.shields.io/badge/php-v7.1-yellow.svg)](http://www.php.net)
[![PHP v7.1](https://img.shields.io/badge/php-v7.1-green.svg)](http://www.php.net)


Wirecard Checkout Seamless plugin for PrestaShop.
----

Our [Online Guides](https://guides.wirecard.at/) provide further information on payment methods and additional features. Please observe our [terms of use](https://guides.wirecard.at/shop_plugins:info#terms_of_use) regarding plugins.
[QENTA Checkout Seamless](https://qenta-cee.at/en/payment-solutions/qmore-checkout-seamless/) plugin for PrestaShop.

Our [Online Guides](https://guides.qenta.com/qmore/start/) provide further information on payment methods and additional features. Please observe our [terms of use](https://guides.qenta.com/shop_plugins/info/#TermsOfUse) regarding plugins.

## Installation
Our [Online Guides](https://guides.wirecard.at/shop_plugins:wcs:prestashop:start "Installation details") also provide technical documentation, installation and configuration instructions for the plugin.
Please [Online Guides](https://guides.qenta.com/shop_plugins/qpay/prestashop/installation/ "Installation details") also provide technical documentation, installation and configuration instructions for the plugin.

Make sure to always use the latest release of [QENTA Checkout Seamless for Prestashop](https://github.com/qenta-cee/prestashop-qcs/releases) to benefit from updates and improvements.


## Wirecard Checkout Seamless
Wirecard Checkout Seamless is designed to meet the ambitious demands of merchants offering a wide range of payment methods while at the same time fulfilling PCI DSS compliance. The interface is integrated seamlessly into the online shop and allows a customized configuration of the payment process (cross-selling and up-selling) based on your business.
## QENTA Checkout Seamless
QENTA Checkout Seamless is designed to meet the ambitious demands of merchants offering a wide range of payment methods while at the same time fulfilling PCI DSS compliance. The interface is integrated seamlessly into the online shop and allows a customized configuration of the payment process (cross-selling and up-selling) based on your business.

Wirecard Checkout Seamless offers:
QENTA Checkout Seamless offers:
- National and international payment methods: credit cards, debit cards, online banking payments, mobile payment solutions and alternative payment methods.
- One interface for all payment methods.
- More than 120 currencies.
Expand All @@ -28,7 +32,4 @@ Wirecard Checkout Seamless offers:
- Comprehensive range of effective fraud prevention tools.
- PCI DSS 3 SAQ A or SAQ A-EP compliant.
- Easy to add new payment methods, additional features, languages and currencies, etc.
- Web interface for managing payments (approvals, cancelations, credits, etc.).
- Benefit from Wirecard Bank´s license to conclude credit card acceptance contracts (acquiring) and issue credit cards.
- With Wirecard Collecting only a single contract is required for payouts within various payment methods.
- Support of recurring payments (subscriptions, one-click checkout).
1 change: 1 addition & 0 deletions ci/db/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM mysql:5.7
36 changes: 36 additions & 0 deletions ci/lib/ngrok.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

# Die vorliegende Software ist Eigentum von QENTA Payment CEE GmbH
# und daher vertraulich zu behandeln.
# Jegliche Weitergabe an dritte, in welcher Form auch immer, ist unzulaessig.

# Software & Service Copyright © by
# QENTA Payment CEE GmbH,
# FB-Nr: FN 539960 i, https://www.qenta.com/

# sed because output array is random
function get_ngrok_url() {
curl --fail -s localhost:4040/api/tunnels | jq -r .tunnels\[0\].public_url | sed 's/^http:/https:/'
}

function wait_for_ngrok() {
while [[ -z ${RESPONSE} || ${RESPONSE} == 'null' ]]; do
RESPONSE=$(get_ngrok_url)
sleep 3;
done
}

NGROK_TOKEN=${1}

if [[ -z ${NGROK_TOKEN} ]]; then
echo 'NGROK token missing. Set NGROK_TOKEN env' >&2
exit 1
fi

/workspace/node_modules/ngrok/bin/ngrok authtoken ${NGROK_TOKEN} >&/dev/null
/workspace/node_modules/ngrok/bin/ngrok http 80 >&/dev/null &
wait_for_ngrok
export NGROK_URL=$(get_ngrok_url)
export NGROK_HOST=$(sed 's/^https...//' <<< ${NGROK_URL})

echo ${NGROK_HOST}
51 changes: 51 additions & 0 deletions ci/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
FROM php:7.2-apache

#install curl
RUN apt-get update && apt-get install -y curl git vim wget

# Install mcrypt

# Activate apache mod_rewrite
RUN a2enmod rewrite

# Install mysqli php extension
RUN apt-get update && apt-get install -y \
&& docker-php-ext-install -j$(nproc) mysqli \
&& rm -rf /var/lib/apt/lists/*

# Install zip extension
RUN apt-get update && apt-get install -y \
libzip-dev \
zip \
&& docker-php-ext-install -j$(nproc) zip

# Install PDO MySQL extension
RUN apt-get update \
&& docker-php-ext-install -j$(nproc) pdo pdo_mysql \
&& docker-php-ext-enable pdo_mysql

# Install Intl extension
RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev libpng-dev libjpeg-dev libfreetype6-dev g++ && \
docker-php-ext-configure intl && \
docker-php-ext-install -j$(nproc) intl

# Install gd
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
jq \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd

COPY php.ini /usr/local/etc/php/php.ini

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer

# Install node.js and npm
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
RUN apt-get -y install nodejs
RUN apt-get install -y build-essential

COPY setup.sh /tmp/setup.sh
Loading

0 comments on commit d22f663

Please sign in to comment.