Skip to content

Commit

Permalink
Merge pull request #17 from bluem-development/1.3.21
Browse files Browse the repository at this point in the history
1.3.21
  • Loading branch information
DaanRijpkema authored Oct 11, 2024
2 parents 0291866 + 8c6265d commit 71a2508
Show file tree
Hide file tree
Showing 24 changed files with 4,833 additions and 4,324 deletions.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ repo-check:
@#svn info $(SVN_URL) > /dev/null 2>&1 || (echo "$(RED)Cannot access SVN repository. Check network or URL.$(NC)" && exit 1)

pre-deployment:
#make run-phpcbf
@echo "$(BLUE)Preparing build directory...$(NC)"
if [ -d "$(BUILD_DIR)" ]; then \
if [ "$(BUILD_DIR)" != "/" ]; then \
Expand All @@ -100,7 +101,7 @@ pre-deployment:
@cd $(BUILD_DIR) && composer install --no-dev --optimize-autoloader --prefer-dist --no-interaction || { echo "$(RED)Composer install failed!$(NC)"; exit 1; }
@cd $(BUILD_DIR) && composer clear-cache
@echo "$(BLUE)Removing unnecessary files from build directory...$(NC)"
@cd $(BUILD_DIR) && rm -rf README.md .git Makefile tools .env.sample .gitignore Dockerfile .env.sample .gitignore docker-compose.yml codeception.yml Dockerfile loadenv.sh Makefile .php-cs-fixer.cache .phpunit.result.cache .travis.yml phpunit.xml psalm.xml
@cd $(BUILD_DIR) && rm -rf README.md .git Makefile tools .env.sample .gitignore Dockerfile .env.sample .gitignore docker-compose.yml codeception.yml Dockerfile loadenv.sh Makefile .php-cs-fixer.cache .phpunit.result.cache .travis.yml phpunit.xml psalm.xml .DS_STORE

add-tag:
@echo "$(BLUE)Copying files to SVN tag directory...$(NC)"
Expand Down Expand Up @@ -157,5 +158,12 @@ clean-up:
copy-to-docker:
make pre-deployment; cp -r build/* ../plugins/bluem/.


run-phpcs:
vendor/bin/phpcs --standard=WordPress ./src bluem-*.php

run-phpcbf:
vendor/bin/phpcbf --standard=WordPress ./src bluem-*.php

#send-email:
# @./loadenv.sh
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ By default, this is disabled as it is quite context specific if the webshop is s
## Important notes when compiling:
- delete `vendor/bluem-development/bluem-php/examples` to be sure as it is not necessary in production.

# InstantMandates (custom integration)
U can use our plug-in to initiate an eMandate transaction directly from, as example, within an App.
# Instant Mandates
You can use our plug-in to initiate an eMandate transaction directly from, as example, within an App.
All u have to do is make a GET request to bluem-woocommerce/mandate_instant_request with the `debtorreference` as query.
Make sure the debtorreference is unique and refers to an customer/user.
Set the return URI within the Bluem plug-in settings.
Expand Down
Loading

0 comments on commit 71a2508

Please sign in to comment.