Credit management

Product number: LenzPlatformCreditManagement

Icon: Self Hosted / Cloud
Icon: Shopware Version (5 / 6)
Kompatibilität: mind. SW 5.x.x

Video
Description
Feature-Request
Installation manual
Changelog
Plugin configuration

Videos to "Credit management"

No Videos here

 

Product information "Credit management"

Do you want to offer vouchers for your customers in your online store? Or do you need a solution for the management of your vouchers? Then our app "Credit management" supports you optimally in the management of the voucher credits.

Purchase a voucher

With the app, your customers can purchase a voucher in a variable amount in your online store. You can set the minimum and/or maximum voucher amount in the app settings beforehand. After the invoice amount has been paid by your customer, an email with the credit code is sent to your customer. At the same time, the voucher is created in the credit management.

When creating the credit, the value retention is automatically activated. This allows your customer to redeem the credit piece by piece and does not have to redeem it completely in one order. Your customer will not only receive the voucher code by e-mail, but it will also be displayed in the customer account under "Credit codes"

If you want the credit to be valid only for 3 years, you can specify this in the app settings. After the 3 years, the voucher will no longer be accepted in the store. So that your customers are always informed how long the credit is valid, you can set the option "Show expires at date in checkout" in the app.

Redeem voucher

With the credit code your customer can now redeem the voucher in your online store.

All transactions related to the credit are visible at a glance in the "Balances" section. For example, if the credit is used for an order, the order number appears in the "Comment" column.

Create voucher manually in admin area

In addition to creating a credit balance when selling via the online store, it is also possible to create and load a credit balance manually.
All settings such as value retention and expiration date can be recorded. The amount of credit can be set variably and provided with a comment. In the admin area it is possible to load a credit as well as to reduce the credit.
Important notes:
  • The credit in our app is considered tax neutral, i.e. no VAT is due for it, neither when purchasing nor when redeeming the credit.
  • The app currently only works with one currency. If you use more than one currency in your store, please contact us.
  • If a refund of the credit/voucher takes place, the credit must be manually invalidated again. This is not done automatically by the app!

Shopify-Modus

A special feature of the "Credit Management" app is the Shopify mode. If you have converted your online shop from Shopify to Shopware, your customers can continue to redeem the previous vouchers in your online shop with the activated Shopify mode.

Normally, when exporting the voucher data from Shopify, only the last 4 digits are displayed for the voucher code. You can enter the existing vouchers and activate the Shopify mode for these vouchers. If a customer now wants to redeem a Shopify voucher, the app checks whether the last 4 digits and the total length match.

If more than one voucher code stored in the credit management can apply, the vouchers without Shopify mode always have priority.

Possible uses of the "Credit management" app

  • voucher
  • debit card
  • prepaid card
Compatibility: min. 6.4.x.x
Shopware Version: Shopware 6
Useable in: Self-Managed

 

Plugin configuration for "Credit management"
Show expires at date in checkout?

If you sell vouchers with a time limit, the expiration date can be displayed to your customer in the store.

Manipulate order entity loading (if no ERP-System connected)

Use this if you have no ERP-System to change the appearance of sums in administration.

Hide Shopare add promotion form:

Activate this option if only the credit field is to be displayed in the shopping cart / off-canvas shopping cart.

Products, where vouchers can be bought

Deposit here your products that you use to offer credits.

Maximum buyable value:

Set the maximum value of your credit that customers can buy.

Expires at: end of third year / deactivated:

Decide if the credits should have a maturity date.

Code length for generation:

Define the length of the credit code.

Add separator between definded amount of characters? active / inactive:

Decide whether the credit code should have separators.

Separator

Define the separator to be used here.

Separator after defindes amount

Define after which number of characters the separators should be included in the code.

Expert settings: Default tax (Please select 0%)
This setting may only be changed if you know exactly what you are doing! The standard tax rate for vouchers is set here.


Installation manual for "Credit management"
  1. Install and activate the app.
  2. Create at least 1 product that will be used to purchase credits.
  3. Assign the product(s) in the app settings.
  4. Check the flow with the trigger "lenz_credit_management.buy_credit_charged" and adjust it if necessary so that the mail is sent to the customers.
  5. Set up the cronjob bin/console lenz-platform-credit-management:charge-buy-credit.

Why do we use a console command instead of a Scheduled Task?
Scheduled tasks are not executed reliably at a certain time. However, we want the vouchers to be sent to the customer as soon as possible, so we use the console command.

 

Changelog for "Credit management"
Version 5.0.0

IMPROVEMENT | Credits can now be assigned to customer and displayed in account.

Version 4.0.0
IMPROVEMENT | Credits can now be assigned to customer and displayed in account.

BUGFIX | Removed foreign key 'fk.lenz_credit_management_credit.order_line_item_id'.

Version 1.1.16

BUGFIX | Shopware 6.5 template adjustments.

Version 1.1.15
TASK | Compatibility with Shopware 6.5.
Requirements:
- The app now requires at least Shopware version 6.5.0.0.
- Manual tasks in mail template "LENZ Creditmanagement: Send credit code": Add "templateData." in front of all variables in Subject, Sender, Text, HTML. Examples:
 - {{ credit.code }} -> {{ templateData.credit.code }}
 - {{ order.orderNumber }} -> {{ templateData.order.orderNumber }}
 - {{ order.orderNumber }} -> {{ templateData.order.orderNumber }}
 - {{ salesChannel.translated.name }} -> {{ templateData.salesChannel.translated.name }}
 - {{ order.orderCustomer.firstName }} -> {{ templateData.order.orderCustomer.firstName }}

- BEFORE UPDATING TO SHOPWARE 6.5.0.0, deactivate the app, then update, then activate.

Version 1.1.14
TASK | Added UTF-8 content type to default voucher document.
IMPROVEMENT | Added route to preview credit document (/lenz-credit-management/buy-credit/test-pdf).
IMPROVEMENT | Added option to set from date for credit generatio
IMPROVEMENT | Optimized credit code import command.
IMPROVEMENT | Improved credit generation process + attachment handling.

TASK | Added limit parameter to command ``lenz-platform-credit-management:charge-buy-credit``.

Version 1.1.13

BUGFIX | Fixed constraint fk.lenz_credit_management_credit.order_line_item_id.

Version 1.1.12

TASK | Compatibility with plugins that do not use EntityRepository.

Version 1.1.11
IMPROVEMENT | Tax rate for credit handling can now be selected.

Notice: Please select the 0 % tax rate in plugin settings after updating to this version!

Version 1.1.10

IMPROVEMENT | Added minimal order value for vouchers.

Version 1.1.9

BUGFIX | Fixed bug in order line edit (order creation).

Version 1.1.8

FEATURE | PDF can now be attached to buy credit mail.

Version 1.1.7

BUGFIX | Fixed bug in order line edit.

Version 1.1.6
BUGFIX | Fix order manipulation on frontend.checkout.finish.order and frontend.checkout.finish.page.

IMPROVEMENT | Added order manipulation to mail templates with OrderEntity.

Version 1.1.5
BUGFIX | Added necessary modifications to checkout register page.
IMPROVEMENT | Improved search for credits in Administration.

TASK | PHP 8.1 compatibility.

Version 1.1.4

BUGFIX | Removed "Add-to-basket"-button in listing.

Version 1.1.3
TASK | Added compatibility to pdp cms layouts.

IMPROVEMENT | Added "lenzcreditmanagementbuycredit" to lineItemOfTypeRule.

Version 1.1.2
IMPROVEMENT | Added button to generate code.
IMPROVEMENT | Added option to hide shopware add promotion form.
BUGFIX | Corrected behavior on order editing.

BUGFIX | Corrected behavior on order editing for buy vouchers.

Version 1.1.1
IMPROVEMENT | Added option to manipulate order loading for better SW document usage.
IMPROVEMENT | Show pay sum on documents.
BUGFIX | Use correct if statement on order manipulation.
BUGFIX | Mail templates were not correctly removed on uninstallation.
IMPROVEMENT | Added url as variable in mail template.

TASK | Clarified plugin config description.

Version 1.1.0

FEATURE | Credit can now be purchased as product by customers.

Version 1.0.2

IMPROVEMENT | Added expire date to credit.

Version 1.0.1
IMPROVEMENT | Added Shopify-Mode.
IMPROVEMENT | Added import command for Shopify coupons.
IMPROVEMENT | Added rule for type "lenzcreditmanagementcredit".
IMPROVEMENT | Added search for code in administration.
TASK | Added translation in administration.
IMPROVEMENT | Added handling for comma in balance value field.
BUGFIX | Uninstall method removes tables now correctly.
TASK | Code is now a required field.
IMPROVEMENT | Added more informative error messages for credit controller.
TASK | Added missing function visibility.
BUGFIX | Prevent ambiguous error message.