Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
capo
Stripe
Commits
39056eb5
Commit
39056eb5
authored
Oct 19, 2019
by
mattwire
Browse files
Fix loading of confirm JS on contribution thankyou page
parent
cf4e17a3
Changes
2
Show whitespace changes
Inline
Side-by-side
CRM/Stripe/BAO/StripePaymentintent.php
View file @
39056eb5
...
...
@@ -39,7 +39,7 @@ class CRM_Stripe_BAO_StripePaymentintent extends CRM_Stripe_DAO_StripePaymentint
public
static
function
create
(
$params
)
{
$instance
=
new
self
;
try
{
if
(
$params
[
'id'
])
{
if
(
!
empty
(
$params
[
'id'
])
)
{
$instance
->
id
=
$params
[
'id'
];
}
elseif
(
$params
[
'paymentintent_id'
])
{
...
...
stripe.php
View file @
39056eb5
...
...
@@ -136,7 +136,7 @@ function stripe_civicrm_buildForm($formName, &$form) {
}
switch
(
$formName
)
{
case
'CRM_Contribut
ion
_Form_ThankYou'
:
case
'CRM_Contribut
e
_Form_
Contribution_
ThankYou'
:
case
'CRM_Event_Form_Registration_ThankYou'
:
\
Civi
::
resources
()
->
addScriptFile
(
E
::
LONG_NAME
,
'js/civicrmStripeConfirm.js'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment