diff --git a/birkof/netopia-mobilpay-bundle/1.0/config/netopia_mobilpay/.gitignore b/birkof/netopia-mobilpay-bundle/1.0/config/netopia_mobilpay/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/birkof/netopia-mobilpay-bundle/1.0/config/packages/netopia_mobilpay.yaml b/birkof/netopia-mobilpay-bundle/1.0/config/packages/netopia_mobilpay.yaml new file mode 100644 index 00000000..2ef246b8 --- /dev/null +++ b/birkof/netopia-mobilpay-bundle/1.0/config/packages/netopia_mobilpay.yaml @@ -0,0 +1,6 @@ +netopia_mobilpay: + payment_url: '%env(NETOPIA_MOBILPAY_PAYMENT_URL)%' + public_cert: '%env(NETOPIA_MOBILPAY_PUBLIC_CERT)%' + private_key: '%env(NETOPIA_MOBILPAY_PRIVATE_KEY)%' + signature: '%env(NETOPIA_MOBILPAY_SIGNATURE)%' + diff --git a/birkof/netopia-mobilpay-bundle/1.0/config/routes/netopia_mobilpay.yaml b/birkof/netopia-mobilpay-bundle/1.0/config/routes/netopia_mobilpay.yaml new file mode 100644 index 00000000..ca2b78be --- /dev/null +++ b/birkof/netopia-mobilpay-bundle/1.0/config/routes/netopia_mobilpay.yaml @@ -0,0 +1,16 @@ +netopia_mobilpay_return_url: + path: /netopia-mobilpay/thank-you + methods: GET + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: default + permanent: true + +netopia_mobilpay_confirm_url: + path: /netopia-mobilpay/confirm + methods: POST + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: default + permanent: true + diff --git a/birkof/netopia-mobilpay-bundle/1.0/manifest.json b/birkof/netopia-mobilpay-bundle/1.0/manifest.json new file mode 100644 index 00000000..aac9eeb2 --- /dev/null +++ b/birkof/netopia-mobilpay-bundle/1.0/manifest.json @@ -0,0 +1,20 @@ +{ + "bundles": { + "birkof\\NetopiaMobilPay\\NetopiaMobilPayBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "gitignore": [ + "/%CONFIG_DIR%/netopia_mobilpay/*.key", + "/%CONFIG_DIR%/netopia_mobilpay/*.cer", + "/%CONFIG_DIR%/netopia_mobilpay/*.json" + ], + "env": { + "NETOPIA_MOBILPAY_PAYMENT_URL": "http://sandboxsecure.mobilpay.ro", + "NETOPIA_MOBILPAY_PUBLIC_CERT": "%kernel.project_dir%/%CONFIG_DIR%/netopia_mobilpay/public.cer", + "NETOPIA_MOBILPAY_PRIVATE_KEY": "%kernel.project_dir%/%CONFIG_DIR%/netopia_mobilpay/private.key", + "NETOPIA_MOBILPAY_SIGNATURE": "XXXX-XXXX-XXXX-XXXX-XXXX" + } +} + diff --git a/birkof/netopia-mobilpay-bundle/1.0/post-install.txt b/birkof/netopia-mobilpay-bundle/1.0/post-install.txt new file mode 100644 index 00000000..defe4974 --- /dev/null +++ b/birkof/netopia-mobilpay-bundle/1.0/post-install.txt @@ -0,0 +1,5 @@ + + What's next? + + + * Read the documentation at https://github.com/birkof/netopia-mobilpay-bundle