Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added possibility to define Paysera application routes via environment variables #27

Merged
merged 14 commits into from
Nov 25, 2024
Merged
13 changes: 13 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PAY_URL=https://bank.paysera.com/pay/
PAYSERA_PAY_URL=https://bank.paysera.com/pay/
XML_URL=https://www.paysera.com/new/api/paymentMethods/

PRODUCTION_PUBLIC_KEY=https://www.paysera.com/download/public.key
PRODUCTION_PAYMENT=https://bank.paysera.com/pay/
PRODUCTION_PAYMENT_METHOD_LIST=https://www.paysera.com/new/api/paymentMethods/
PRODUCTION_SMS_ANSWER=https://bank.paysera.com/psms/respond/

SANDBOX_PUBLIC_KEY=https://sandbox.paysera.com/download/public.key
SANDBOX_PAYMENT=https://sandbox.paysera.com/pay/
SANDBOX_PAYMENT_METHOD_LIST=https://sandbox.paysera.com/new/api/paymentMethods/
SANDBOX_SMS_ANSWER=https://sandbox.paysera.com/psms/respond/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
coverage
.bash_history
.php-cs-fixer.cache
/src/.env
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Version history
===============
Version 3.1.0 - 2024-06-27

* added possibility to define Paysera routes in environment variables

Version 3.0.0 - 2024-04-30

* increased minimal PHP version to 7.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ PHP 7.4 standards and code style like `strict_types`, type hints etc
Testing
=======

$ bash runt_tests.sh
$ bash run_tests.sh
Loading