Download the PHP package daanrijpkema/bluem-magento without Composer

On this page you can find all versions of the php package daanrijpkema/bluem-magento. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bluem-magento

Bluem

Bluem-Magento plug-in for Payment, Mandates & iDIN

Bluem is an independent Dutch payment and identity specialist based in Amersfoort and Sofia, which has developed its viamijnbank cloud platform for handling online payments, mandates, identification services, digital signatures and IBAN name checks. Companies send high volumes of payment requests through our software, bills are paid faster, and direct debit mandates are issued digitally.

This Magento2 module is an integration that connects your website to Bluem's eMandate, ePayments and iDIN Identity services.

Concretely, the module delivers:

Support

If you have any questions concerning the module's installation or configuration or feature requests, please contact us at [email protected].

If you have any questions related to your account or your credentials, please refer to your Bluem account manager.

Requirements

License

GNU GPLv3.

Installation:

1: Installing the module files

Recommended way: Install via Composer from your Magento Root:

Notice: This method is still undergoing some configuration changes, so if it does not work at the moment, please install the module manually using the steps in the section mentioned below.

You require authorization keys from Magento's module repository. You can find these in your Magento account. Refer to this help article to find your auth credentials. Here, you can find a guide on how to install and update modules through composer.

Notice: This is the developer repository for the Bluem Magento2 module. Use the code in this repository to get insight and possibly contribute to the development of this module. A subset of this documentation will be available as end-user documentation in the future as well. Only if you are familiar with Magento will you be able to properly install the module from the pure source code.

Manual (Advanced) installation

Magento Marketplace: will be available soon.

2: Enable the module

Check to see if you can see the module in the response of this command:

Enable the module as such:

3: Update your Magento2 installation

This command is vital to ensure the proper instantiation of tables:

Please test your module and its functionality thoroughly, as this module is still in very active development, and significant releases will still follow.

Notice: Run this in production mode or if you notice that the layout of your webshop is broken:

Updating to newer versions

Periodically we will significantly improve this module. Incorporating these brand new updates is easy:

Run:

Then repeat step 2 and 3 from the aforementioned installation.

Configuration of Bluem settings

Go to Stores > Configuration and open the Bluem Tab. Fill in all settings there - appropriate instructions are available on the page and through your account manager.

Detailed instructions per service are stated below:

Payments

This module offers a payment gateway that functions seamlessly inside the checkout flow of your webshop.

Enabling and configuring payments

To enable the payment gateway, go to Stores > Configuration, select Sales > Payment methods. You should see a Bluem ePayment gateway there, which you can Enable. Note: You might have to disable the System setting, the small checkbox to the right, to allow changes to specific settings.

Important: Set your account settings by going to Bluem > Configure Account & Identity and scroll down to verify the complete configuration. You have to fill in your account details such as your SenderID, the Payment brandID and the access token for the Test and or Production environment setting. It is strongly advised to first test all functionality in an isolated test instance of your website and use the Test environment setting of this module.

If end users encounter errors within the Bluem portal viamijnbank.net, this is probably because of an incorrectly configured or not yet activated account within the bank or a problem with your account credentials. Please check if your details are correctly filled in. Refer to your Bluem account manager if you are unsure.

Using payments

Once enabled within your webshop settings, end users can select the Bluem payment method when they check out.

Once the checkout is completed, a payment request is created based on your Bluem settings and account credentials. The flow brings the end-user to the Bluem payment page, which, in turn, directs the user to their bank and consequently back to your webshop with a response. A webhook (described below) transfers additional status information from Bluem to your website after the transaction has been completed or otherwise processed (failed, expired, etc.).

Managing and viewing payments

On the administrator side, navigating to Bluem > Payments will yield an overview of all payment requests thus far, their status, and corresponding orders. The order status will also be automatically updated when users pay. In the payload section of this overview, you can view details of each transaction.

Also refer to the Production viamijnbank.net or Test viamijnbank.net portal. Bluem client can see more in-depth details of each transaction to troubleshoot or investigate your end users' payment habits.

Payments work out of the box for logged-in and guest users. Payments work alongside and independently from identity. An identity can be configured to be required before the Checkout procedure can be completed. Only after this requirement is met, the checkout procedure and subsequent payment methods will be selectable.

Identity

How Identity service Works

This module enables identification during checkout and account verification.

The Identity Requests page consists of an overview of the requests made so far, selectable from the Bluem menu in your website's admin side after activating the module. There is also an explanation of how to start the request procedure on the overview page.

On the Settings page, you can now find several settings around the items Account, Identification and Payments. Mainly elaborated is now account settings and settings for identity. See also the scenarios as they are in the WordPress and WooCommerce plug-in. All these scenarios are available and explained below.

You can indicate in the settings which parts of an IDIN request are requested. CustomerID (an identifier set by the bank) is always requested. All these settings are already in active use and can therefore are present in this version.

Choosing and enabling automatic identity-checking scenario's

Enforce an identity check during checkout by selecting a desired scenario from the Bluem configuration page. Options are:

Or: perform ad-hoc identity requests

  1. Direct the user to the following page in your webshop:
  1. When initiated, the user is redirected to a newly requested transaction, leading them to the Bluem portal for identity verification.

Additionally, you can also refer them directly to this page to initiate a request (if applicable):

  1. Afterwards, the user gets redirected back to the website, and the identification status is shown.
  2. The user can click a button to return to the original page (step 1).

Ensure some products are set to require identity/age verification

Set a new product attribute at the products that require an age check to 1. The key of this product attribute is set in the settings. If unchanged, the default key is agecheck_required. This attribute will be added automatically during install or update.

Important notes on identity verification:

Instructions on how to include the Identify button will follow soon The simplest way to do so is to include a link to the page from step 2 of the above set-up procedure. When unverified users are redirected there, they can follow the procedure right away. If they are already verified, they will be told so and can return to the previous page.

Instructions on how to change the redirect after identification will follow soon. Refer to the Configuration section to enable this functionality.

eMandates

This module offers a mandate gateway that functions seamlessly inside the checkout flow of your webshop.

Enabling and configuring mandates

To enable the mandate gateway, go to Stores > Configuration, select Sales > Payment methods. You should see a Bluem eMandate gateway there, which you can Enable. Note: You might have to disable the System setting, the small checkbox to the right, to allow changes to specific settings.

Important: Set your account settings by going to Bluem > Configure Account & Identity and scroll down to verify the complete configuration. You have to fill in your account details such as your SenderID, the Mandate brandID and the access token for the Test and or Production environment setting. It is strongly advised to first test all functionality in an isolated test instance of your website and use the Test environment setting of this module.

Development environment

To set up a dev-environment, we'll using Docker (docker.io) to run a project with containers to simulate a running Magento 2 instance locally. If you're not familiar with Docker, please read their documentation. To install and run the instance, run the following command from our folder:

'bluem-magento2-dev' is the name of the Docker container, which will be used in the next sections. Usely this is the name of the directory.

Shell access

To access the shell, use the following command:

Magento installation directory

Magento is installed in the following directory (root):

Running Magento commands

To run Magento commands, use the following command:

Clear cache, recompile

To easily clear all cache and recompile after changes on module code, we've created a shell script. This is recommended after Run the following code from 'docker' folder:

'bluem-magento2-dev' is the name of the Docker container.

Magento Coding Standard

Magento uses his Coding Standard to check and verify all codes. Errors needs to be solved before any submission to the Marketplace.

Magento guide: https://developer.adobe.com/commerce/marketplace/guides/sellers/code-sniffer/

To install all required packages using composer, run our script:

This will install all required packages and set them in the configuration of PHP CodeSniffer.

Run the following command to start the scan.

Developer notes

Webhooks (in development)

Webhooks are vital to retrieve information about transactions asynchronously and periodically about order processing, independent of your end-users explicit transaction and request page visit.

Webhooks will be developed shortly and will be present here:

They will function in the environment set in settings (either test or prod). See the Configuration section.

When completed, you can communicate this fact and the above URLs to your Bluem account manager to have the webhook functionality enabled for your account.

Changelog

See also https://github.com/bluem-development/bluem-magento/releases

References

I referred quite often to MagePlaza and the official dev docs.


All versions of bluem-magento with dependencies

PHP Build Version
Package Version
Requires php Version ~5.5.0|~5.6.0|~7.0.0|~7.2|~7.1|~7.3|~7.4|~8.0
bluem-development/bluem-php Version ^2.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package daanrijpkema/bluem-magento contains the following files

Loading the files please wait ....