Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
smartdebit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Extensions
smartdebit
Merge requests
!10
Update CRM/Core/Payment/Smartdebit.php
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Update CRM/Core/Payment/Smartdebit.php
kurund/smartdebit:thank-page-date-fixes
into
master
Overview
4
Commits
1
Pipelines
0
Changes
1
Closed
Kurund Jalmi
requested to merge
kurund/smartdebit:thank-page-date-fixes
into
master
3 years ago
Overview
4
Commits
1
Pipelines
0
Changes
1
Expand
Fix for
#15 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f7130bbe
1 commit,
3 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
CRM/Core/Payment/Smartdebit.php
+
1
−
1
Options
@@ -774,7 +774,7 @@ class CRM_Core_Payment_Smartdebit extends CRM_Core_Payment {
// This allows us to set the contribution to completed if
// "Mark initial contribution as completed" is enabled in smartdebit settings
$contributionParams
=
$this
->
getInitialContributionStatus
([]);
$contributionParams
[
'receive_date'
]
=
$recurParams
[
'start_date'
];
$contributionParams
[
'receive_date'
]
=
CRM_Utils_Date
::
processDate
(
$recurParams
[
'start_date'
]
)
;
$this
->
setPaymentProcessorOrderID
(
CRM_Smartdebit_DateUtils
::
getContributionTransactionId
(
$recurParams
[
'trxn_id'
],
$recurParams
[
'start_date'
]));
if
(
empty
(
$params
[
'payment_instrument_id'
]))
{
Loading