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

Follow up fix on paypal redirect #18534

Merged
merged 1 commit into from
Sep 22, 2020
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 20, 2020

Overview

Turns out we did some function renaming & missed a spot before merging #18525 - this fixes

Before

Paypal std broken

After

works & has a a test that would have picked it up

Technical Details

As an aside I fixed Paypal to call CRM_Core_Config::singleton()->userSystem->prePostRedirect()
directly rather than via system. I'm tempted to take the System function back out
again - I don't think it offers a better one-liner

Comments

@civibot
Copy link

civibot bot commented Sep 20, 2020

(Standard links)

@@ -1919,8 +1919,7 @@ public static function sendResponse(\Psr\Http\Message\ResponseInterface $respons
* Perform any necessary actions prior to redirecting via POST.
*/
public static function prePostRedirect() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we ditch this function?

Turns out we did some function renaming & missed a spot before merge.

As an aside I fixed Paypal to call CRM_Core_Config::singleton()->userSystem->prePostRedirect()
directly rather than via system. I'm tempted to take the System function back out
again - I don't think it offers a better one-liner
@eileenmcnaughton
Copy link
Contributor Author

test this please

@seamuslee001
Copy link
Contributor

Looks fine to me

@seamuslee001 seamuslee001 merged commit 9920a68 into civicrm:5.30 Sep 22, 2020
@seamuslee001 seamuslee001 deleted the 5.30 branch September 22, 2020 02:35
@eileenmcnaughton
Copy link
Contributor Author

thanks @seamuslee001

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.

2 participants