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

Simplify billingblock in Contribution/Form/Main template #13437

Merged
merged 1 commit into from
Jan 20, 2019

Conversation

mattwire
Copy link
Contributor

Overview

Simplify billingblock in Contribution/Form/Main template

Before

Contribution page includes CRM/Financial/Form/Payment.tpl which includes CRM/Core/BillingBlock.tpl which adds another `

ending up with one nested inside the other. snippet=4 parameter in the template has no effect, it's an URL param to specify a JSON response, but we are not loading via AJAX...

After

We use the CRM/Core/BillingBlockWrapper.tpl like everywhere else that displays a payment screen.

Technical Details

Comments

@eileenmcnaughton @monishdeb @pradpnayak Are one of you able to test this? There should be no difference - I've tested using webform_civicrm, a contribution page with single/multiple payment processors and via a backend credit card contribution form.

@civibot
Copy link

civibot bot commented Jan 11, 2019

(Standard links)

@civibot civibot bot added the master label Jan 11, 2019
@colemanw
Copy link
Member

I'm happy to merge this based on code review. I see no functional difference between before/after but agree this is cleaner.

@colemanw colemanw merged commit d0fe005 into civicrm:master Jan 20, 2019
@mattwire mattwire deleted the ref_simplifybillingblock_template branch March 1, 2019 11:22
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