Stripe issueshttps://lab.civicrm.org/extensions/stripe/-/issues2023-10-02T14:30:00Zhttps://lab.civicrm.org/extensions/stripe/-/issues/433"Unknown error" if users do not have "CiviCRM: access CiviCRM backend and API"2023-10-02T14:30:00Zyoder"Unknown error" if users do not have "CiviCRM: access CiviCRM backend and API"Once updating to the latest updates users without "CiviCRM: access CiviCRM backend and API" in WordPress Access Control are unable to make credit card transactions. When they click the review order button it pre-auth but then get an erro...Once updating to the latest updates users without "CiviCRM: access CiviCRM backend and API" in WordPress Access Control are unable to make credit card transactions. When they click the review order button it pre-auth but then get an error of "Unknown error". I gave a test users every access control except that and they were not able to do it. As soon as they got the backend API they can process transactions. When the error occurs I can see in Stripe that the /v1/payment_methods API goes though but none of the others so the payment is never captured. When I look in the Civicrm event logs I don't see any logs for this.
When javascript debugging is enabled here is the output
2023-06-14T16:18:30.600Z stripe: StripePaymentintent.Process done (paymentIntent)
2023-06-14T16:18:30.600Z CRM.payment: error: Unknown error
2023-06-14T16:18:30.600Z CRM.payment: Firing Event: crmBillingFormNotValid
When looking at the browsers network tools I can see the POST API it makes when I click review your order button returns a status of 302. The redirect goes the the wp-login.php login page.
Wordpress: 6.2.2
CiviCRM: 5.62.0
Stipe Plugin: 6.8.2https://lab.civicrm.org/extensions/stripe/-/issues/432Support for MOTO Transactions2023-10-02T14:23:43ZTony Maynard-SmithSupport for MOTO TransactionsDoes this Extension support Stripe MOTO (Mail Order Telephone Orders) transactions, and if so is there any particular configuration required?
We are using Stripe for online payments without problems (CiviCRM 5.60, Stripe 6.8.2). If we...Does this Extension support Stripe MOTO (Mail Order Telephone Orders) transactions, and if so is there any particular configuration required?
We are using Stripe for online payments without problems (CiviCRM 5.60, Stripe 6.8.2). If we take a member's card details over the phone and our administrator carries out the transaction on the member's behalf, it frequently pops up with the bank's additional authorisation dialog requesting a one-time authorisation code. This code is then sent to the member with a warning not to tell anyone else about it, which can cause some difficulties.
We applied to Stripe for MOTO transactions to be enabled on our account, which has been done, but the same situation occurs. Stripe Support advises that the fact that this card is a MOTO transaction needs to be reported to Stripe when creating the PaymentIntent object on the API, see [https://stripe.com/docs/payments/payment-intents/moto], and the following clip:
![image](/uploads/130f6158b85025f0911ce75c1c56e1a8/image.png)
Does the Stripe Extension support this, since I can't see any UI mechanism or configuration options that might be relevant.https://lab.civicrm.org/extensions/stripe/-/issues/431Link recurring contribution to existing Stripe subscription type2023-06-07T10:45:23ZramblinollieLink recurring contribution to existing Stripe subscription typeWe have around 10 different membership types set up in Civi and we would like to link these to specific subscription types we have set up in Stripe. Is this possible? Currently it appears that a new Stripe subscription type is set up eve...We have around 10 different membership types set up in Civi and we would like to link these to specific subscription types we have set up in Stripe. Is this possible? Currently it appears that a new Stripe subscription type is set up every time a new member signs up.https://lab.civicrm.org/extensions/stripe/-/issues/430Stripe subscription name is unhelpfully generic2023-06-07T10:41:01ZramblinollieStripe subscription name is unhelpfully genericApologies if this question has been raised before. When a recurring contribution is set up for a new member in CiviCRM via a contribution form, the related Stripe subscription has a generic title (e.g. CiviCRM every 1 year(s) GBP5.00) wh...Apologies if this question has been raised before. When a recurring contribution is set up for a new member in CiviCRM via a contribution form, the related Stripe subscription has a generic title (e.g. CiviCRM every 1 year(s) GBP5.00) which is particularly unhelpful for the member as this is what appears on their invoice, rather than e.g. My Org Name every 1 year(s) GBP5.00https://lab.civicrm.org/extensions/stripe/-/issues/429"Fix webhooks" page suddenly empty2023-05-25T15:52:00Znoah"Fix webhooks" page suddenly emptyThe "fix webhooks" page was loading as expected a week ago on our test site. AFAIK nothing changed between then and now. But now, it's just a title and nothing else:
![Screenshot_2023-05-24_at_10.12.01](/uploads/c4d00c34e4a6bfe2160ef649...The "fix webhooks" page was loading as expected a week ago on our test site. AFAIK nothing changed between then and now. But now, it's just a title and nothing else:
![Screenshot_2023-05-24_at_10.12.01](/uploads/c4d00c34e4a6bfe2160ef649f16e3862/Screenshot_2023-05-24_at_10.12.01.png)
I ran `cv flush`, but no change. Also verified that the Stripe extension is installed and configured.https://lab.civicrm.org/extensions/stripe/-/issues/428webform submit button is non-responsive for zero-dollar contribution amount2023-05-19T05:31:50ZAllenShawwebform submit button is non-responsive for zero-dollar contribution amountVersions:
* Drupal 9
* CiviCRM 5.58.1
* Webform 6.1.3
* Webform CiviCRM 6.2.1
* Stripe 6.8.2
* PaymentShared 1.2.11
Setup: A simple webform (Drupal config export YAML attached as [webform-export.yml](/uploads/ba92781b7ebce9f21a19c99b81d...Versions:
* Drupal 9
* CiviCRM 5.58.1
* Webform 6.1.3
* Webform CiviCRM 6.2.1
* Stripe 6.8.2
* PaymentShared 1.2.11
Setup: A simple webform (Drupal config export YAML attached as [webform-export.yml](/uploads/ba92781b7ebce9f21a19c99b81de7779/webform-export.yml)), with these configs notable:
* One existing contact
* Contribution
* Processor: Stripe
* Amount: a two-option radio button set:
* "zero" for $0.00
* "one" for $1.00
* Two webform pages only. All fields are on the first page; only the "Submit button(s)" action is on the second page.
Repro 1: Proper behavior for $1.00 amount:
1. Open the form and fill all fields as you wish
2. For the Amount field, select "one" for $1.00
3. Click next; observe second/final page appears.
4. Observe Stripe payment block appears; observe total due is $1.00; fill in credit card details and click _Submit_.
5. Observe SweetAlert "please wait" message. Form is submitted. Observe form redirects correctly and displays confirmation message.
6. Find the contribution record in CiviCRM. Observe that it was recorded properly.
Repro 2: Bad behavior for $0.00 amount:
1. Open the form and fill all fields as you wish
2. For the Amount field, select "zero" for $0.00
3. Click next; observe second/final page appears.
4. Observe total due is $0.00; observe Stripe payment block does not appear. Click _Submit_.
5. **Observe no discernable change in the page as a result of the Submit click. (The Submit button appears to be completely non-functional.)**
Technical notes:
* Inspection of JavaScript in browser devtools reveals that the Submit click proceeds as far as [line 605 of js/civicrmStripe.js](https://lab.civicrm.org/extensions/stripe/-/blob/6.8.2/js/civicrmStripe.js#L605). The stack trace shows that the calling function was [line 438 of the same file](https://lab.civicrm.org/extensions/stripe/-/blob/6.8.2/js/civicrmStripe.js#L438).
* Per the JS file, the comment above line 605 says "If we have selected Stripe but amount is 0 we don't submit via Stripe", so this it seems intentional that the Stripe processing should end here; however it's probably not intentional that the entire webform submission ends prematurely as it does.
See also:
* https://lab.civicrm.org/extensions/stripe/-/issues/383 "Webform won't allow user to submit if total is zero"
* This may be the same issue, but that ticket relates to multi-participant event registration and a more complex webform with conditional behaviors.
* #383 suggests a possible work-around by moving one or more fields to one of the pages _before_ the last "submit buttons" page; in my case I've made sure there are no field at all on that last page.
(Joinery internal reference: Asana 1204591534877896)https://lab.civicrm.org/extensions/stripe/-/issues/427Declines show as "unknown error" in Stripe 6.8 on WP2023-10-02T10:42:19ZJonGoldDeclines show as "unknown error" in Stripe 6.8 on WPIf you put in a "decline" test card on WP, e.g. `4000 0000 0000 0002` you'll receive "unknown error". On Drupal you receive "payment declined".
The POST request to the `ProcessPublic` API is returning a 500 from Drupal, but a 200 from W...If you put in a "decline" test card on WP, e.g. `4000 0000 0000 0002` you'll receive "unknown error". On Drupal you receive "payment declined".
The POST request to the `ProcessPublic` API is returning a 500 from Drupal, but a 200 from WP in this scenario.https://lab.civicrm.org/extensions/stripe/-/issues/426Bug: Rounding error is causing pre-authorization amount to be less than final...2024-03-17T22:49:28ZmmyriamBug: Rounding error is causing pre-authorization amount to be less than final amount and Stripe Payment Error_Stripe version 6.7.14_
I was getting the following error on an event registration:
> Stripe Payment Error: This PaymentIntent's amount could not be updated because it has a status of requires_capture. You may only update the amount of..._Stripe version 6.7.14_
I was getting the following error on an event registration:
> Stripe Payment Error: This PaymentIntent's amount could not be updated because it has a status of requires_capture. You may only update the amount of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action.
These were the fees:
![image](/uploads/701dc7fa9bad0bedc49afc5e830e562d/image.png)
I discovered the source of the problem here: https://lab.civicrm.org/extensions/stripe/-/blob/master/js/civicrmStripe.js#L275
* The actual unrounded amount returned by `CRM.payment.getTotalAmount()` was : 200.50 * 1.15 = 230.575
* The pre-authorization amount calculated with `CRM.payment.getTotalAmount().toFixed(2)` was 230.57
**When the final charge was being made for 230.58, it was greater than the pre-authorization amount and it was causing the error above.**
**The solution was to use `((Math.round((CRM.payment.getTotalAmount())*100))/100).toFixed(2)` instead of `CRM.payment.getTotalAmount().toFixed(2)`.**
Console output:
![image](/uploads/dc2c714672e2736bb05520280f5125bd/image.png)
I'm not submitting a patch because I am not familiar enough with the extension and I notice the use of `.toFixed(2)` in several places.
This is where I replaced it:
https://lab.civicrm.org/extensions/stripe/-/blob/master/js/civicrmStripe.js#L275
```
CRM.api3('StripePaymentintent', 'Process', {
amount: CRM.payment.getTotalAmount().toFixed(2), // FIXME
currency: CRM.payment.getCurrency(CRM.vars[script.name].currency),
payment_processor_id: CRM.vars[script.name].id,
description: document.title,
csrfToken: CRM.vars[script.name].csrfToken,
captcha: script.getReCAPTCHAToken()
})
```https://lab.civicrm.org/extensions/stripe/-/issues/425Anonymous users still need "Access AJAX API" permission2024-01-12T00:00:33ZJonGoldAnonymous users still need "Access AJAX API" permissionDespite the recent permission change, there's an additional check that causes "Access AJAX API" to still be necessary.
`CRM_Core_Invoke::runItem()` checks both the [access callback](https://github.com/civicrm/civicrm-core/blob/ae28b883e...Despite the recent permission change, there's an additional check that causes "Access AJAX API" to still be necessary.
`CRM_Core_Invoke::runItem()` checks both the [access callback](https://github.com/civicrm/civicrm-core/blob/ae28b883ebe8575c615519d1f54bb142d38875e4/CRM/Core/Invoke.php#L238) and [page callback](https://github.com/civicrm/civicrm-core/blob/ae28b883ebe8575c615519d1f54bb142d38875e4/CRM/Core/Invoke.php#L319). [Your change](https://lab.civicrm.org/extensions/stripe/-/blob/6.8.2/Civi/Api4/StripePaymentintent.php#L16) only affects the page callback.
I see you're using `stripe_civicrm_alterAPIPermissions()` but that's API3 only - so that code isn't working at all. We need `stripe_civicrm_alterApiRoutePermissions` in this scenario.JonGoldJonGoldhttps://lab.civicrm.org/extensions/stripe/-/issues/424Help Documentation Missing for Payment Processor Settings2023-04-13T13:21:35ZHeneryHHelp Documentation Missing for Payment Processor SettingsI tried to get help on this from the CiviCRM Chat but no responses.
On the Stripe Payment Processor setup page there are two fields for site url and recurring payments url. The "?" doesn't show any hints about what URLs the system is l...I tried to get help on this from the CiviCRM Chat but no responses.
On the Stripe Payment Processor setup page there are two fields for site url and recurring payments url. The "?" doesn't show any hints about what URLs the system is looking for. I could find no documentation online either.
Support request would be assistance here for me, the Issue would be to add a help line to the tooltip "?"https://lab.civicrm.org/extensions/stripe/-/issues/423Adding membership: Property 'contactID' has not been set2023-05-10T21:08:08ZdanultimateAdding membership: Property 'contactID' has not been setTrying to add a membership to a record through the add membership button on the membership tab.
Civi logo spin endlessly
The error log looks like this:
```
Mar 23 11:24:35 [error]
$Fatal Error Details = array:3 [
"message" => "Pro...Trying to add a membership to a record through the add membership button on the membership tab.
Civi logo spin endlessly
The error log looks like this:
```
Mar 23 11:24:35 [error]
$Fatal Error Details = array:3 [
"message" => "Property 'contactID' has not been set."
"code" => null
"exception" => BadMethodCallException {#18355
#message: "Property 'contactID' has not been set."
#code: 0
#file: "/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/Civi/Payment/PropertyBag.php"
#line: 291
trace: {
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/Civi/Payment/PropertyBag.php:291 {
› }
› throw new \BadMethodCallException("Property '$prop' has not been set.");
› }
}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/Civi/Payment/PropertyBag.php:625 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/uploads/civicrm/ext/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php:569 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php:1282 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php:534 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php:527 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php:144 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php:43 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php:203 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php:103 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:352 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:313 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:69 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:36 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/civicrm.php:1179 { …}
/home/customer/www/basics.org.uk/public_html/wp-content/plugins/civicrm/includes/civicrm.basepage.php:355 { …}
/home/customer/www/basics.org.uk/public_html/wp-includes/class-wp-hook.php:303 { …}
/home/customer/www/basics.org.uk/public_html/wp-includes/class-wp-hook.php:327 { …}
/home/customer/www/basics.org.uk/public_html/wp-includes/plugin.php:518 { …}
/home/customer/www/basics.org.uk/public_html/wp-includes/class-wp.php:763 { …}
/home/customer/www/basics.org.uk/public_html/wp-includes/functions.php:1291 { …}
/home/customer/www/basics.org.uk/public_html/wp-blog-header.php:16 { …}
/home/customer/www/basics.org.uk/public_html/index.php:17 { …}
}
}
]
```
- Stripe Payment Processor 6.7.1
- Payment Shared 1.2.2
- CiviCRM 5.42.1.
- Wordpress 5.8.2
- PHP 7.4https://lab.civicrm.org/extensions/stripe/-/issues/422The resource ID cannot be null or whitespace / Stripe Contact update failed: ...2023-04-09T22:19:43Zben_fairlessThe resource ID cannot be null or whitespace / Stripe Contact update failed: Expected one PaymentProcessor but found 0WordPress 6.1, CiviCRM 5.59.3, PHP 7.4, Stripe 6.8.1, Stripe API version 2022-11-15
After upgrading, I am now seeing these errors when attempting to make a payment using the test page:
> Mar 21 02:13:26 [error] Stripe Payment Error: Th...WordPress 6.1, CiviCRM 5.59.3, PHP 7.4, Stripe 6.8.1, Stripe API version 2022-11-15
After upgrading, I am now seeing these errors when attempting to make a payment using the test page:
> Mar 21 02:13:26 [error] Stripe Payment Error: The resource ID cannot be null or whitespace.
>
> Mar 21 02:13:26 [error] Stripe Contact update failed: Expected one PaymentProcessor but found 0
>
> Mar 21 02:13:28 [debug] StripeNo matching contributions for event evt_XXXXXXXXXXXXXX
Payment is taken from the customer and a Pending (Incomplete) transaction is created in CiviCRM.
The only events being sent over from Stripe to CiviCRM are a charge.succeeded and a charge.captured event. Both events appear in the Payment Processor Webhooks page.
Is there something I'm missing here?https://lab.civicrm.org/extensions/stripe/-/issues/421Please help! Uncaught TypeError: CRM.payment is undefined No donations workin...2023-10-02T14:30:16ZHLyle1965Please help! Uncaught TypeError: CRM.payment is undefined No donations working on CiviCRM Contribute page!I am still waiting for help with this issue!!!!I am still waiting for help with this issue!!!!https://lab.civicrm.org/extensions/stripe/-/issues/420Contribution and transactions dates on recurrent intents2023-03-14T11:22:04ZGhost UserContribution and transactions dates on recurrent intents### The problem
We had a problem regarding an automatically recurring payment.
The contribution in CiviCRM was created at **december 20th** but the payment wasn't completed. The next day Stripe tried to complete it, but was unsuccesfull...### The problem
We had a problem regarding an automatically recurring payment.
The contribution in CiviCRM was created at **december 20th** but the payment wasn't completed. The next day Stripe tried to complete it, but was unsuccesfull. Later on tried again and it was also a fail.
During the next 4 days tried to complete it, and it was in the **15th day** that finally was able to do it. But what happened? The contribution was created at december 20th but completed at january 4th and Stripe marked as completed the contribution without checking the date that was completed. So the contribution is shown as completed in december 20th (both contribution and transaction).
![image](/uploads/17fe74fc67f4f0576dda6d2902c6c90f/image.png)
### Expected behavior
The contribution should be updated to completed and keep the initial date, but the created transaction should be put the date in which was completed, as the image below.
![image](/uploads/4d83533a0e8663a5764b19d6522a2ec0/image.png)
* CiviCRM 5.54
* Stripe Payment Processor 6.7.10
* Contribution.Transact alternative API implementation 1.5.1
* Payment Shared 1.2.8https://lab.civicrm.org/extensions/stripe/-/issues/419Missing paymentIntentID CiviCrm Contribution page wordpress2023-09-22T00:39:29ZHLyle1965Missing paymentIntentID CiviCrm Contribution page wordpressdebugging shows errors in https://hungeractionnys.org/wp-content/uploads/civicrm/extend/mjwshared/js/crm.payment.js?r=vSo3uen_US
https://hungeractionnys.org/wp-content/uploads/civicrm/persist/contribute/dyn/civicrmStripe.899cb6b0a7074ab0...debugging shows errors in https://hungeractionnys.org/wp-content/uploads/civicrm/extend/mjwshared/js/crm.payment.js?r=vSo3uen_US
https://hungeractionnys.org/wp-content/uploads/civicrm/persist/contribute/dyn/civicrmStripe.899cb6b0a7074ab0c5543adec726b734.js
and
https://hungeractionnys.org/wp-content/uploads/civicrm/persist/contribute/dyn/crm-l10n.4dab7fa4feebc6879f52a74cd23421d3.js
Uncaught SyntaxError: missing ) after argument list
and
Uncaught TypeError: CRM.payment is undefined
these errors stared last month. Is there a bug in the latest extension update? I have 6.7.14 Stripe Payment Processor on CiviCRM 5.59.1https://lab.civicrm.org/extensions/stripe/-/issues/418This customer has no attached payment source or default payment method. Pleas...2023-03-08T17:42:32ZzskecskesThis customer has no attached payment source or default payment method. Please consider adding a default payment method.Hello!
We have problems with Stripe Subscriptions. One time payments are fine but creating subscriptions falls 9 out of 10 with the following error:
This customer has no attached payment source or default payment method. Please conside...Hello!
We have problems with Stripe Subscriptions. One time payments are fine but creating subscriptions falls 9 out of 10 with the following error:
This customer has no attached payment source or default payment method. Please consider adding a default payment method. For more information, visit https://stripe.com/docs/billing/subscriptions/payment-methods-setting#payment-method-priority.
Stripe dashboard:
400 ERR POST /v1/subscriptions 1:20:27 PM
Response body
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "This customer has no attached payment source or default payment method. Please consider adding a default payment method. For more information, visit https://stripe.com/docs/billing/subscriptions/payment-methods-setting#payment-method-priority.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_FzvhBX6m3D3BiX?t=1676290827",
"type": "invalid_request_error"
}
}
browser console:
2023-03-01T12:52:09.373Z stripe: No available paymentMethods for paymentRequest2023-03-01T12:52:09.373Z stripe: No available paymentMethods for paymentRequest
How could I set the default payment method?
stack:
- Drupal 9.5.2
- CiviCRM 5.57.2
- webform_civicrm 6.2.3
- Stripe Payment Processor 6.7.14
- Contribution.Transact alternative API implementation 1.5.1
- Payment Shared 1.2.11
- Firewall 1.5.8
Thankshttps://lab.civicrm.org/extensions/stripe/-/issues/417Database deadlock leaves transaction in pending state2023-10-02T14:24:08ZaxaakDatabase deadlock leaves transaction in pending stateMany thanks for your work on this extension.
CiviCRM 5.45.6
Payment Shared: Version 1.2.2
Stripe Payment Processor: Version 6.7.1
Variable Recur Payments: Version 1.0
Wordpress 5.9.5
A user successfully pays for a recurring membershi...Many thanks for your work on this extension.
CiviCRM 5.45.6
Payment Shared: Version 1.2.2
Stripe Payment Processor: Version 6.7.1
Variable Recur Payments: Version 1.0
Wordpress 5.9.5
A user successfully pays for a recurring membership, all webhooks fire OK and get a 200 but the contribution remains in Pending state.
ConfigAndLog shows a DB deadlock at the same timestamp followed by an error `[error] MJWIPNTrait call to repeattransaction failed: Expected one Contribution but found 0; params:`.
Log file excerpt:
```
Array
(
[civi.tag] => deprecated
)
Feb 14 21:45:09 [error] $Fatal Error Details = Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => exceptionHandler
)
[code] => -31
[message] => DB Error: deadlock
[mode] => 16
[debug_info] => INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id` , `subject` , `activity_date_time` , `status_id` , `priority_id` , `is_test` ) VALUES ( 137930 , 6 , '£ 52.00 - Online
Contribution: Join the XXX' , 20230214214500 , 2 , 2 , 0 ) [nativecode=1213 ** Deadlock found when trying to get lock; try restarting transaction]
[type] => DB_Error
[user_info] => INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id` , `subject` , `activity_date_time` , `status_id` , `priority_id` , `is_test` ) VALUES ( 137930 , 6 , '£ 52.00 - Online
Contribution: Join the XXX' , 20230214214500 , 2 , 2 , 0 ) [nativecode=1213 ** Deadlock found when trying to get lock; try restarting transaction]
[to_string] => [db_error: message="DB Error: deadlock" code=-31 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id`
, `subject` , `activity_date_time` , `status_id` , `priority_id` , `is_test` ) VALUES ( 137930 , 6 , '£ 52.00 - Online Contribution: Join the XXX' , 20230214214500 , 2 , 2 , 0 ) [nativecode=1213 ** Deadlo
ck found when trying to get lock; try restarting transaction]"]
)
Feb 14 21:45:09 [debug] $backTrace = #0 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(942): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(922): CRM_Core_Error::exceptionHandler(Object(DB_Error))
#2 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/db/DB.php(997): PEAR_Error->__construct("DB Error: deadlock", -31, 16, (Array:2), "INSERT INTO `civicrm_activity` (`sour
ce_record_id` , `activity_type_id` , `su...")
#3 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(575): DB_Error->__construct(-31, 16, (Array:2), "INSERT INTO `civicrm_activity` (`source_
record_id` , `activity_type_id` , `su...")
#4 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(223): PEAR::_raiseError(Object(DB_mysqli), NULL, -31, 16, (Array:2), "INSERT INTO `civicr
m_activity` (`source_record_id` , `activity_type_id` , `su...", "DB_Error", TRUE)
#5 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/db/DB/common.php(1928): PEAR->__call("raiseError", (Array:7))
#6 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/db/DB/mysqli.php(936): DB_common->raiseError(-31, NULL, NULL, "INSERT INTO `civicrm_activity` (`source_record_id` , `act
ivity_type_id` , `su...", "1213 ** Deadlock found when trying to get lock; try restarting transaction")
#7 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/db/DB/mysqli.php(406): DB_mysqli->mysqliRaiseError()
#8 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/vendor/pear/db/DB/common.php(1234): DB_mysqli->simpleQuery("INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id`
, `su...")
#9 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2696): DB_common->query("INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id` , `su...
")
#10 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1245): DB_DataObject->_query("INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id` ,
`su...")
#11 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(656): DB_DataObject->insert()
#12 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Activity/BAO/Activity.php(321): CRM_Core_DAO->save()
#13 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Api4/Generic/Traits/DAOActionTrait.php(163): CRM_Activity_BAO_Activity::create((Array:14))
#14 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Api4/Generic/DAOSaveAction.php(35): Civi\Api4\Generic\DAOSaveAction->writeObjects((Array:1))
#15 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Api4/Provider/ActionObjectProvider.php(68): Civi\Api4\Generic\DAOSaveAction->_run(Object(Civi\Api4\Generic\Result))
#16 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\Api4\Provider\ActionObjectProvider->invoke(Object(Civi\Api4\Generic\DAOSaveAction))
#17 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/Api4/Generic/AbstractAction.php(234): Civi\API\Kernel->runRequest(Object(Civi\Api4\Generic\DAOSaveAction))
#18 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/BAO/Contribution.php(562): Civi\Api4\Generic\AbstractAction->execute()
#19 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/utils.php(1314): CRM_Contribute_BAO_Contribution::create((Array:24), (Array:1))
#20 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/Contribution.php(87): _civicrm_api3_basic_create("CRM_Contribute_BAO_Contribution", (Array:24), "Contribution")
#21 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_contribution_create((Array:24))
#22 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke((Array:8))
#23 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest((Array:8))
#24 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php(132): Civi\API\Kernel->runSafe("Contribution", "create", (Array:12))
#25 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/BAO/Contribution.php(4015): civicrm_api3("Contribution", "create", (Array:12))
#26 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/Contribution.php(687): CRM_Contribute_BAO_Contribution::completeOrder((Array:8), "7381", "137930", NULL)
#27 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/Contribution.php(503): _ipn_process_transaction((Array:9), Object(CRM_Contribute_BAO_Contribution), (Array:8), (Array:11))
#28 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_contribution_completetransaction((Array:9))
#29 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke((Array:8))
#30 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest((Array:8))
#31 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php(132): Civi\API\Kernel->runSafe("contribution", "completetransaction", (Array:9))
#32 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2566): civicrm_api3("contribution", "completetransaction", (Array:9))
#33 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1730): CRM_Contribute_Form_Contribution_Confirm->completeTransaction((Array:4), 137930
)
#34 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(1466): CRM_Contribute_Form_Contribution_Confirm->postProcessMembership((Array:57), "16
7422", Object(CRM_Contribute_Form_Contribution_Confirm), (Array:43), (Array:0), (Array:0), (Array:34), (Array:1), TRUE, NULL, FALSE, "2", (Array:1))
#35 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2524): CRM_Contribute_Form_Contribution_Confirm->processMembership((Array:46), "167422
", (Array:0), (Array:0), (Array:43), (Array:1))
#36 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(2369): CRM_Contribute_Form_Contribution_Confirm->doMembershipProcessing("167422", (Arr
ay:46), (Array:43), (Array:1))
#37 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php(856): CRM_Contribute_Form_Contribution_Confirm->processFormSubmission("167422")
#38 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(565): CRM_Contribute_Form_Contribution_Confirm->postProcess()
#39 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(144): CRM_Core_Form->mainProcess()
#40 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(43): CRM_Core_StateMachine->perform(Object(CRM_Contribute_Form_Contribution_Confirm), "next", "N
ext")
#41 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contribute_Form_Contribution_Confir
m), "next")
#42 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Confirm), "next")
#43 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(353): HTML_QuickForm_Page->handle("next")
#44 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(319): CRM_Core_Controller->run((Array:3), NULL)
#45 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(69): CRM_Core_Invoke::runItem((Array:15))
#46 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(36): CRM_Core_Invoke::_invoke((Array:3))
#47 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm.php(1169): CRM_Core_Invoke::invoke((Array:3))
#48 /home/path/to/wordpress/wp-content/plugins/civicrm/includes/civicrm.basepage.php(366): CiviCRM_For_WordPress->invoke()
#49 /home/path/to/wordpress/wp-includes/class-wp-hook.php(307): CiviCRM_For_WordPress_Basepage->basepage_handler(Object(WP))
#50 /home/path/to/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, (Array:1))
#51 /home/path/to/wordpress/wp-includes/plugin.php(522): WP_Hook->do_action((Array:1))
#52 /home/path/to/wordpress/wp-includes/class-wp.php(771): do_action_ref_array("wp", (Array:1))
#53 /home/path/to/wordpress/wp-includes/functions.php(1310): WP->main("")
#54 /home/path/to/wordpress/wp-blog-header.php(16): wp()
#55 /home/path/to/wordpress/index.php(17): require("/home/path/to/wordpress/wp-blog-header.php")
#56 {main}
Feb 14 21:45:09 [info] Retrying after Database deadlock encountered hit on attempt 1 at query : INSERT INTO `civicrm_activity` (`source_record_id` , `activity_type_id` , `subject` , `activity_date_time` , `stat
us_id` , `priority_id` , `is_test` ) VALUES ( 137930 , 6 , '£ 52.00 - Online Contribution: Join the XXX' , 20230214214500 , 2 , 2 , 0 )
Feb 14 21:45:09 [info] Contribution 137930 updated successfully
Feb 14 21:45:10 [info] Contribution 137930 Receipt sent
Feb 14 21:45:11 [debug] Credit/Debit cardsNo matching contributions for event evt_3MbWJADIWplkgKtP07psenWL
Feb 14 21:45:11 [debug] Credit/Debit cardsNo matching contributions for event evt_1MbWJEDIWplkgKtPbko2MedY
Feb 14 21:45:11 [error] MJWIPNTrait call to repeattransaction failed: Expected one Contribution but found 0; params: Array
(
[contribution_recur_id] => 7381
[contribution_status_id] => 2
[receive_date] => 20230214214504
[order_reference] => in_1MbWJADIWplkgKtP9AevkaXXGS
[trxn_id] => in_1MbWJADIWplkgKtP9AevkaXXGS
[total_amount] => 52
[fee_amount] => 0.93
[is_email_receipt] =>
)
Feb 14 21:45:11 [error] StripeIPN: processWebhookEvent failed. EventID: evt_1MbWJEDIWplkgKtPbko2MedY : MJWIPNTrait call to repeattransaction failed: Expected one Contribution but found 0; params: Array
(
[contribution_recur_id] => 7381
[contribution_status_id] => 2
[receive_date] => 20230214214504
[order_reference] => in_1MbWJADIWplkgKtP9AevkaXXGS
[trxn_id] => in_1MbWJADIWplkgKtP9AevkaXXGS
[total_amount] => 52
[fee_amount] => 0.93
[is_email_receipt] =>
)
#0 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(654): CRM_Core_Payment_StripeIPN->repeatContribution()
#1 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(462): CRM_Core_Payment_StripeIPN->createNextContributionForRecur(
)
#2 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(358): CRM_Core_Payment_StripeIPN->processEventType()
#3 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(320): CRM_Core_Payment_StripeIPN->processWebhookEvent()
#4 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php(1247): CRM_Core_Payment_StripeIPN->onReceiveWebhook()
#5 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Payment.php(1628): CRM_Core_Payment_Stripe->handlePaymentNotification()
#6 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Payment.php(1521): CRM_Core_Payment::handlePaymentMethod()
#7 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(285): CRM_Core_Payment::handleIPN()
#8 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(69): CRM_Core_Invoke::runItem()
#9 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(36): CRM_Core_Invoke::_invoke()
#10 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm.php(1169): CRM_Core_Invoke::invoke()
#11 /home/path/to/wordpress/wp-content/plugins/civicrm/includes/civicrm.basepage.php(366): CiviCRM_For_WordPress->invoke()
#12 /home/path/to/wordpress/wp-includes/class-wp-hook.php(307): CiviCRM_For_WordPress_Basepage->basepage_handler()
#13 /home/path/to/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#14 /home/path/to/wordpress/wp-includes/plugin.php(522): WP_Hook->do_action()
#15 /home/path/to/wordpress/wp-includes/class-wp.php(771): do_action_ref_array()
#16 /home/path/to/wordpress/wp-includes/functions.php(1310): WP->main()
#17 /home/path/to/wordpress/wp-blog-header.php(16): wp()
#18 /home/path/to/wordpress/index.php(17): require('/home/trail_liv...')
#19 {main}
Feb 14 21:50:06 [debug] Credit/Debit cardsNo matching contributions for event evt_1MbWJDDIWplkgKtPDAtEXmXX59
Feb 14 21:50:06 [error] MJWIPNTrait call to repeattransaction failed: Expected one Contribution but found 0; params: Array
(
[contribution_recur_id] => 7381
[contribution_status_id] => 2
[receive_date] => 20230214214504
[order_reference] => in_1MbWJADIWplkgKtP9AevkaXXGS
[trxn_id] => in_1MbWJADIWplkgKtP9AevkaXXGS
[total_amount] => 52
[fee_amount] => 0.93
[is_email_receipt] =>
)
Feb 14 21:50:06 [error] StripeIPN: processWebhookEvent failed. EventID: evt_1MbWJDDIWplkgKtPDAtEXmXX59 : MJWIPNTrait call to repeattransaction failed: Expected one Contribution but found 0; params: Array
(
[contribution_recur_id] => 7381
[contribution_status_id] => 2
[receive_date] => 20230214214504
[order_reference] => in_1MbWJADIWplkgKtP9AevkaXXGS
[trxn_id] => in_1MbWJADIWplkgKtP9AevkaXXGS
[total_amount] => 52
[fee_amount] => 0.93
[is_email_receipt] =>
)
#0 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(654): CRM_Core_Payment_StripeIPN->repeatContribution()
#1 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(430): CRM_Core_Payment_StripeIPN->createNextContributionForRecur(
)
#2 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(358): CRM_Core_Payment_StripeIPN->processEventType()
#3 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/StripeIPN.php(344): CRM_Core_Payment_StripeIPN->processWebhookEvent()
#4 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php(1317): CRM_Core_Payment_StripeIPN->processQueuedWebhookEvent()
#5 /home/path/to/wordpress/wp-content/plugins/files/civicrm/extensions/mjwshared/api/v3/Job/ProcessPaymentprocessorWebhooks.php(98): CRM_Core_Payment_Stripe->processWebhookEvent()
#6 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_process_paymentprocessor_webhooks()
#7 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke()
#8 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest()
#9 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php(22): Civi\API\Kernel->runSafe()
#10 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(131): civicrm_api()
#11 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(63): CRM_Core_JobManager->executeJob()
#12 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/Job.php(118): CRM_Core_JobManager->execute()
#13 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_execute()
#14 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke()
#15 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest()
#16 /home/path/to/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php(22): Civi\API\Kernel->runSafe()
#17 /home/path/to/wordpress/wp-content/plugins/civicrm/wp-cli/civicrm.php(201): civicrm_api()
#18 /home/path/to/wordpress/wp-content/plugins/civicrm/wp-cli/civicrm.php(152): CiviCRM_Command->api()
#19 [internal function]: CiviCRM_Command->__invoke()
#20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
#21 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
#22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
#23 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(399): WP_CLI\Dispatcher\Subcommand->invoke()
#24 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(422): WP_CLI\Runner->run_command()
#25 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1194): WP_CLI\Runner->run_command_and_exit()
#26 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#27 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process()
#28 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#29 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...')
#30 /usr/local/bin/wp(4): include('phar:///usr/loc...')
#31 {main}
```https://lab.civicrm.org/extensions/stripe/-/issues/416"CiviCRM" appearing in Stripe subscription (recurring contribution) product name2023-03-08T14:48:31Zramblinollie"CiviCRM" appearing in Stripe subscription (recurring contribution) product nameIs there any way to control the value assigned to the associated Stripe subscription product when a recurring contribution is created? Rather than a generic "CiviCRM" appearing in the Stripe control panel, customer receipts and invoices,...Is there any way to control the value assigned to the associated Stripe subscription product when a recurring contribution is created? Rather than a generic "CiviCRM" appearing in the Stripe control panel, customer receipts and invoices, we really need the title of the Contribution page or Member Type to appear here as we have a number of different member types, some of which have identical recurring contribution values.
E.g. "CiviCRM every 1 year(s) GBP40.00" is quite unhelpful! Even something generic like "LWA Membership every 1 year(s) GBP40.00" would be much more helpful.https://lab.civicrm.org/extensions/stripe/-/issues/415Drupal 10: Payment Submission fails with a 500 service unavailable2023-10-02T14:25:28ZjitendraDrupal 10: Payment Submission fails with a 500 service unavailableNoticed this while executing Stripe test for Drupal 10.
To replicate -
- Install Stripe extension on Drupal 10
- Configure it on a webform (Also replicates on civi forms)
- Submit the webform with Stripe chosen as the payment processor...Noticed this while executing Stripe test for Drupal 10.
To replicate -
- Install Stripe extension on Drupal 10
- Configure it on a webform (Also replicates on civi forms)
- Submit the webform with Stripe chosen as the payment processor.
![image](/uploads/25f52bf99ff811090d8daca30fa20ad8/image.png)
Log displays the following error -
```
The website encountered an unexpected error. Please try again later.
<em class="placeholder">Error</em>: Class "Symfony\Component\EventDispatcher\Event" not found in <em class="placeholder">include()</em> (line <em class="placeholder">27</em> of <em class="placeholder">sites/default/files/civicrm/ext/com.drastikbydesign.stripe/Civi/Stripe/Event/AuthorizeEvent.php</em>).
<pre class="backtrace">Composer\Autoload\includeFile('/Users/jitendra/www/drupal10/web/sites/default/files/civicrm/ext/com.drastikbydesign.stripe/Civi/Stripe/Event/AuthorizeEvent.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Civi\Stripe\Event\AuthorizeEvent') (Line: 165)
civicrm_api3_stripe_paymentintent_process(Array) (Line: 89)
Civi\API\Provider\MagicFunctionProvider->invoke(Array) (Line: 158)
Civi\API\Kernel->runRequest(Array) (Line: 81)
Civi\API\Kernel->runSafe('StripePaymentintent', 'process', Array) (Line: 22)
civicrm_api('StripePaymentintent', 'process', Array) (Line: 289)
CRM_Utils_REST::process(Array, Array) (Line: 534)
CRM_Utils_REST::ajax() (Line: 285)
CRM_Core_Invoke::runItem(Array) (Line: 69)
CRM_Core_Invoke::_invoke(Array) (Line: 36)
CRM_Core_Invoke::invoke(Array) (Line: 88)
Drupal\civicrm\Civicrm->invoke(Array) (Line: 80)
Drupal\civicrm\Controller\CivicrmController->main(Array, '')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 681)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
</pre>
```
Seems like this is due to `Symfony\Component\EventDispatcher\Event` being replaced by `Symfony\Contracts\EventDispatcher\Event` - https://www.drupal.org/node/3159012
So I think we just need to replace the usage of the above with the following?
use Drupal\Component\EventDispatcher\Event;https://lab.civicrm.org/extensions/stripe/-/issues/414Refund UX - make it clearer if it's connected or not to Stripe2023-02-03T14:30:42ZsamuelsovRefund UX - make it clearer if it's connected or not to StripeThere is 2 ways to refund and it's not clear from a user perspective what is what :
![ksnip_20230201-144002](/uploads/33974ef3ac90d94793dbb8e176ce1ad6/ksnip_20230201-144002.png)
To avoid user mistakes, I think that we should at least hi...There is 2 ways to refund and it's not clear from a user perspective what is what :
![ksnip_20230201-144002](/uploads/33974ef3ac90d94793dbb8e176ce1ad6/ksnip_20230201-144002.png)
To avoid user mistakes, I think that we should at least hide the "Record refund" link if the payment was done using Stripe.
Not sure if it's a Stripe specific problem. I can move it if necessary.