Download the PHP package billie/shopware6-payment-module without Composer
On this page you can find all versions of the php package billie/shopware6-payment-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download billie/shopware6-payment-module
More information about billie/shopware6-payment-module
Files in billie/shopware6-payment-module
Package shopware6-payment-module
Short Description Billie payment for Shopware 6
License MIT
Informations about the package shopware6-payment-module
Integration of an ERP/WaWi
If you do not use the Shopware default invoice documents, you need to inform the Billie module about the invoice number form the ERP/WaWi.
Please do NOT modify any data via direct SQL commands!
The following code snippet will show you how you can modify the Billie data correctly. You should create a custom plugin for this, or integrate it into the adaptor of your WaWi/ERP system.
Preparation
You should inject the entity repository via DI of Symfony. The name of the service is called
billie_order_data.repository
and will be an instance
of \Shopware\Core\Framework\DataAbstractionLayer\EntityRepository
You can also get it via the container (not the recommended):
Fetch Billie order data by order id
If you do only have the entity id of the order, you need to use the repository to find the billie data by the order id.
Fetch Billie order data from loaded order entity
If you already have an instance of an order entity, you can get the order data simply by the getExtension
-method.
Update Billie order data
If you need to modify the Billie data, you should do this with the entity repository and the upsert
-method.
All versions of shopware6-payment-module with dependencies
shopware/core Version ~6.6.0
billie/api-php-sdk Version ^3.1