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

Payflow Pro not payflo #12083

Merged
merged 3 commits into from
May 5, 2018
Merged

Conversation

xurizaemon
Copy link
Member

@xurizaemon xurizaemon commented May 4, 2018

Overview

Honestly, I just wanted to correct the typing of "payflo" in one error message (because it refers to a different payment processor). Using the right words / terms ▶️ less confusion for users.

Before

Error message refers to "payflo"

After

Error message refers to "Payflow Pro", the payment processor in question.

Technical Details

  • This changes some error messages to the consistent naming (may be implications for translation).
  • Also some comment cleanups.
  • Also notes that there's a getFoo() function which doesn't seem to return a value, printing instead.

@xurizaemon xurizaemon changed the title Payflow not payflo Payflow Pro not payflo May 4, 2018
@seamuslee001
Copy link
Contributor

Jenkins re test this please

@seamuslee001
Copy link
Contributor

@xurizaemon are you able to squish this into 1 commit and fix the style issue reported by Jenkins?

@xurizaemon
Copy link
Member Author

xurizaemon commented May 4, 2018

Three commits for clarity IMO @seamuslee001 - wanted to separate the docs changes from the functional change. Happy for you to squash on merge if that's your jam, but putting all that docs cleanup in the same commit is less useful history to me.

I don't mind dropping out the "PayFlowPro" => "Payflow Pro" change if you want? Depends if we think it'll really affect people to break translation ... I don't know if the processor is well used and I know we're hoping to remove core processors "one day".

@xurizaemon
Copy link
Member Author

Updated with fixes for the two remaining "You must use "/**" style comments for a function comment" warnings.

@xurizaemon
Copy link
Member Author

xurizaemon commented May 4, 2018

What do you make of that getRecurringTransactionStatus() that doesn't return anything @seamuslee001 @eileenmcnaughton ? Is that potentially something to care about or is it a special use of the get prefix?

Feels like Payflow Pro has been in chat / SE a bit since some recent release. It's not one I've heard mentioned much?

@seamuslee001
Copy link
Contributor

Giving this merge on pass, all the changes relate to either comment blocks or correcting typos in error messages

@seamuslee001
Copy link
Contributor

@xurizaemon I believe its a very small payment processor, i believe there was an issue with a recent DB upgrade that stuffed up the formatting of amount passed to the processor. In regards to this particular piece of code it is an oddball however it doesn't appear to be used at all doing a grep in the core code there are only 1 other reference apart from the function it's self and its commented out

seamus@civicrmdevelopment:~/buildkit/build/47-test/sites/all/modules/civicrm$ grep -ir 'getRecurringTransactionStatus' *
CRM/Core/Payment/PayflowPro.php:  public function getRecurringTransactionStatus($recurringProfileID, $processorID) {
CRM/Core/Payment/PayflowPro.php:    //     c  $trythis =        $this->getRecurringTransactionStatus($recurringProfileID,17);

I'm going to merge this as the changes are straight forward and i don't think the issue of getRecurringTransactionStatus should hold up this PR

@seamuslee001 seamuslee001 merged commit 483ec77 into civicrm:master May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants