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

Fix payment validation for Payment on Confirm #26430

Conversation

larssandergreen
Copy link
Contributor

Before

If using the new Show Payment on Confirm option, there is a PHP Notice shown on dmaster on the second page:
image

validatePaymentInstrument() was also not being called on submitting the payment/confirmation page.

After

No more PHP Notice.
Validation is done on payment/confirmation page if needed.

@civibot
Copy link

civibot bot commented Jun 4, 2023

(Standard links)

@civibot civibot bot added the master label Jun 4, 2023
@larssandergreen larssandergreen changed the title Fix payment validation for payment on confirm Fix payment validation for Payment on Confirm Jun 4, 2023
@mattwire mattwire merged commit 4271c09 into civicrm:master Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants