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

Call completeOrder directly from contribute status update form #17347

Merged
merged 1 commit into from
May 18, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented May 18, 2020

Overview

Minor code simplification

Before

Base IPN class being used to complete order

After

completeOrder called directly - this is intended as transitional with an api call being the end goal. However, it does start to clarify the use of the $transaction variable

Technical Details

We should really call completetransaction but that has been left for later unravelling with the focus here being
to clarify the purpose of the transaction. We don't need to pass a transaction around unless it has DB changes not
yet committed - which is not eally the case here. There is no reason to invoke BaseIPN but more unravelling required...

Comments

We should really call completetransaction but that has been left for later unravelling with the focus here being
to clarify the purpose of the transaction. We don't need to pass a transaction around unless it has DB changes not
yet committed - which is not eally the case here. There is no reason to invoke BaseIPN but more unravelling required...
@civibot
Copy link

civibot bot commented May 18, 2020

(Standard links)

@civibot civibot bot added the master label May 18, 2020
@seamuslee001
Copy link
Contributor

Changes look good to me and tests have passed merging

@seamuslee001 seamuslee001 merged commit b059daf into civicrm:master May 18, 2020
@seamuslee001 seamuslee001 deleted the status branch May 18, 2020 08:31
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