Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • NetiNextOrderAmountHandler NetiNextOrderAmountHandler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • shopware6
  • labs
  • NetiNextOrderAmountHandlerNetiNextOrderAmountHandler
  • Merge requests
  • !1

Merged
Created Dec 08, 2020 by Tommy Meier@tmeierMaintainer2 of 4 tasks completed2/4 tasks

#35542 - Initial release

  • Overview 4
  • Commits 3
  • Changes 19

1. Why is this change necessary?

It's the first release.

2. What does this change do, exactly?

It creates a new payment which is forced to use when the cart price is zero.

3. Describe each step to reproduce the issue or behavior.

  1. Due a compatibility issue you need to edit the following file regarding the following diff.
    Class: \Shopware\Core\Checkout\Order\SalesChannel\SetPaymentOrderRoute
- 11. use Shopware\Core\Checkout\Payment\SalesChannel\PaymentMethodRoute;
+ 11. use Shopware\Core\Checkout\Payment\SalesChannel\AbstractPaymentMethodRoute;
- 53.         PaymentMethodRoute $paymentRoute,
+ 53.         AbstractPaymentMethodRoute $paymentRoute,
  1. Install the plugin
  2. Make sure the new payment "Free" is assigned to your sales channel
  3. Enable the plugin in the plugin configuration for the wanted sales channel
  4. Go to the storefront
  5. Put products in the cart until it's price is zero (e.g. with coupons)
  6. The payment "Free" should be automatically selected if the price is zero

4. Please link to the relevant issues (if any).

https://redmine.netinventors.de/issues/35542

5. Checklist

  • I have updated the plugin version and changelog
  • I can confirm the code style fits our requirements
  • I can confirm that no debug output is generated anywhere
  • I have changed the required NetiFoundation-version to the latest available version

6. Release Notes

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 35542-initial-release