Conversion-Tracking ohne eigenes Backend, ohne Webhook und ohne Embedded Checkout.
Flow:
Squarespace Landingpage
| const {SES} = require('aws-sdk'); | |
| /** | |
| * Configuration | |
| */ | |
| const configuration = { | |
| localRun: process.env.LOCALSTACK === 'true', | |
| ses: { | |
| region: process.env.SES_REGION, | |
| endpoint: process.env.SES_ENDPOINT, |
| ################### | |
| ## PHP extensions # | |
| ################### | |
| ### install xdebug | |
| RUN apk add --update --no-cache $PHPIZE_DEPS && pecl install xdebug-2.5.0 && docker-php-ext-enable xdebug | |
| ### install mcrypt | |
| RUN apk add --update --no-cache libintl icu icu-dev && docker-php-ext-install intl |
| # <!-- Build comments from file (selfdocumented makefile) --> # | |
| @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | |
| @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | |
| @sed -n 's/^##//p' $< | |
| # <!-- default target --> # | |
| .DEFAULT_GOAL := help | |
| # <!-- catch all target --> # | |
| .DEFAULT: |
| #!/usr/bin/env bash | |
| # check ($PATH) dependencies | |
| dependencies="git docker aws-cli mysql mysql-client mysqladmin" | |
| dependencies_failed=() | |
| for dependency in $dependencies | |
| do | |
| if ! [[ -x "$(command -v $dependency)" ]]; then | |
| dependencies_failed+="$dependency " |
| ##################### | |
| ## map vendor model # | |
| ##################### | |
| # define mappings in config | |
| PaymethodsWirecardBundle: | |
| type: yml | |
| dir: Resources/config/doctrine | |
| prefix: "Wirecard\\PaymentSdk" | |
| is_bundle: true |
| FROM busybox | |
| RUN mkdir /application | |
| COPY . /application | |
| VOLUME /application |