Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stripe
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
Container registry
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
Stripe
Commits
31381750
Commit
31381750
authored
10 years ago
by
Eran
Browse files
Options
Downloads
Patches
Plain Diff
Add form name for backend membership renewals
parent
e2662216
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
stripe.php
+2
-1
2 additions, 1 deletion
stripe.php
with
2 additions
and
1 deletion
stripe.php
+
2
−
1
View file @
31381750
...
...
@@ -176,7 +176,8 @@ function stripe_civicrm_buildForm($formName, &$form) {
$backendForms
=
array
(
'CRM_Contribute_Form_Contribution'
,
'CRM_Event_Form_Participant'
,
'CRM_Member_Form_Membership'
'CRM_Member_Form_Membership'
,
'CRM_Member_Form_MembershipRenewal'
);
if
(
in_array
(
$formName
,
$backendForms
)
&&
!
empty
(
$form
->
_processors
))
{
if
(
!
isset
(
$form
->
_elementIndex
[
'stripe_token'
]))
{
...
...
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