Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added payment element check #8

Conversation

jekuaitk
Copy link
Contributor

@jekuaitk jekuaitk commented Dec 6, 2024

Link to ticket

3090

Description

Any submission is currently modified by the hook_webform_submission_insert implementation webformSubmissionInsert. Subsequently, a (failing) payment job is created.

Added check for payment element avoids modifying submissions when no payment element in present. It is basically copied from the other hook implemented -it was probably just missed in the second hook.

@jekuaitk jekuaitk merged commit 6d1d9d8 into develop Dec 6, 2024
6 of 8 checks passed
@jekuaitk jekuaitk deleted the feature/only-generate-payment-job-if-payment-element-exists branch December 6, 2024 14:12
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.

2 participants