Ajax for field_gift_type breaks payment step

Created on 29 May 2024, 5 months ago
Updated 31 May 2024, 5 months ago

Problem/Motivation

During testing of the module I found a strange issue, when ajax for dontation type (one time or recurring) breakes getAvailableSteps function.
Payment step disappears and user cant make payment and going directly to the Complete step.

Steps to reproduce

1. Build donation flow
2. go to /donate
3. Select recurring type of donation
4. Set billing info
5. Click Donate and get successful complete message without payment step.

Proposed resolution

I've temporary disabled #ajax array for the field but want to understand the source of the problem
Part of the code that causes problem: https://git.drupalcode.org/project/commerce_donation_flow/-/blob/1.0.x/s...

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine anpolimus Kyiv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024