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

[OF#2617] Retrieve needsPayment value from submission #641

Conversation

vaszig
Copy link
Contributor

@vaszig vaszig commented Feb 2, 2024

…ed from submission

The way to show the payment step in the progress indicator and to start
the payment form was through the form. Since we want to have access to
the price rules as well, we had to have access to the submission. So,
the submission is now the one which tells us if a form needs payment.
@vaszig vaszig marked this pull request as draft February 2, 2024 12:30
@vaszig vaszig changed the title [open-formulieren/open-forms#2617] Changed needsPayment to be retriev… [OF#2617] Retrieve needsPayment value from submission Feb 2, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (831dd12) 74.85% compared to head (06b0d37) 74.50%.

Files Patch % Lines
src/components/Form.js 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #641      +/-   ##
==========================================
- Coverage   74.85%   74.50%   -0.36%     
==========================================
  Files         224      224              
  Lines        4542     4542              
  Branches     1211     1212       +1     
==========================================
- Hits         3400     3384      -16     
- Misses       1103     1122      +19     
+ Partials       39       36       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vaszig vaszig marked this pull request as ready for review February 2, 2024 14:26
@sergei-maertens sergei-maertens merged commit 48395f2 into main Feb 8, 2024
17 of 21 checks passed
@sergei-maertens sergei-maertens deleted the of-2617-take-needspayment-from-submission-not-from-form branch February 8, 2024 13:41
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.

Allow payment to be disabled for certain users
2 participants