Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
aadda614
Unverified
Commit
aadda614
authored
4 years ago
by
Eileen McNaughton
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #18737 from eileenmcnaughton/ppp
financial#152
remove unused parameter
parents
e5c67186
6c1df5dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Core/Payment/PayPalIPN.php
+0
-3
0 additions, 3 deletions
CRM/Core/Payment/PayPalIPN.php
CRM/Core/Payment/PayPalProIPN.php
+1
-4
1 addition, 4 deletions
CRM/Core/Payment/PayPalProIPN.php
with
1 addition
and
7 deletions
CRM/Core/Payment/PayPalIPN.php
+
0
−
3
View file @
aadda614
...
...
@@ -16,8 +16,6 @@
*/
class
CRM_Core_Payment_PayPalIPN
extends
CRM_Core_Payment_BaseIPN
{
public
static
$_paymentProcessor
=
NULL
;
/**
* Input parameters from payment processor. Store these so that
* the code does not need to keep retrieving from the http request
...
...
@@ -329,7 +327,6 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN {
$input
[
'payment_processor_id'
]
=
$paymentProcessorID
;
self
::
$_paymentProcessor
=
&
$objects
[
'paymentProcessor'
];
if
(
$component
==
'contribute'
)
{
if
(
$ids
[
'contributionRecur'
])
{
// check if first contribution is completed, else complete first contribution
...
...
This diff is collapsed.
Click to expand it.
CRM/Core/Payment/PayPalProIPN.php
+
1
−
4
View file @
aadda614
...
...
@@ -16,8 +16,6 @@
*/
class
CRM_Core_Payment_PayPalProIPN
extends
CRM_Core_Payment_BaseIPN
{
public
static
$_paymentProcessor
=
NULL
;
/**
* Input parameters from payment processor. Store these so that
* the code does not need to keep retrieving from the http request
...
...
@@ -107,7 +105,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
// p has been overloaded & could mean contribution page or participant id. Clearly we need an
// alphabet with more letters.
// the mode will always be resolved before the mystery p is reached
if
(
$rpValueArray
[
1
]
==
'contribute'
)
{
if
(
$rpValueArray
[
1
]
==
=
'contribute'
)
{
$mapping
[
'p'
]
=
'contribution_page_id'
;
}
}
...
...
@@ -442,7 +440,6 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr
$input
[
'payment_processor_id'
]
=
$paymentProcessorID
;
self
::
$_paymentProcessor
=
&
$objects
[
'paymentProcessor'
];
//?? how on earth would we not have component be one of these?
// they are the only valid settings & this IPN file can't even be called without one of them
// grepping for this class doesn't find other paths to call this class
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment