Skip to content

Conversation

rommelfreddy
Copy link
Contributor

Steps to produce error:

  1. select installment als payment method
  2. switch to bank-transfer
  3. switch (back) to direct-debit
  4. switch payment method to installment 0%
  5. make sure that installment 0% is bank-transfer
  6. place order

error: the module tries to create a direct-debit payment.

This is caused byFormPreserverPlugin of Shopware.
It will save all changes into the local storage (during the change of value). If the page got loaded, the values got placed again into the fields.

This PR will prevent outputting the radio-boxes for the payment switch.
Only the available payment-types will have a radio-box.
With this Shopwre can and will not select the radio-box

…lable, shopwre may select this payment type with `FormPreserverPlugin`

see issue for detailed information
@rommelfreddy rommelfreddy force-pushed the task/RATESWSX-312_installment-switch-fix branch from e610f52 to 7a2aa6a Compare September 13, 2024 17:35
@rommelfreddy rommelfreddy merged commit 42529e7 into 7.0 Sep 17, 2024
11 checks passed
@rommelfreddy rommelfreddy deleted the task/RATESWSX-312_installment-switch-fix branch September 17, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant