Stripe issueshttps://lab.civicrm.org/extensions/stripe/-/issues2023-02-03T14:30:42Zhttps://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.https://lab.civicrm.org/extensions/stripe/-/issues/413Contribution stuck in pending (payment says "Completed"); Stripe.ipn api has ...2023-01-26T21:06:06ZAllenShawContribution stuck in pending (payment says "Completed"); Stripe.ipn api has no effectThis is an intermittent problem that affects some contributions but not all, despite their apparent similarities.
Possibly related or duplicate issues:
- "Contribution status remains pending - line item is completed" https://lab.civicrm...This is an intermittent problem that affects some contributions but not all, despite their apparent similarities.
Possibly related or duplicate issues:
- "Contribution status remains pending - line item is completed" https://lab.civicrm.org/extensions/stripe/-/issues/274
- "Recurring Contribution marked as 'Pending (Incomplete Transaction)'" https://lab.civicrm.org/extensions/stripe/-/issues/308
Details:
This issue is affecting several contributions, some which are payments triggered by Stripe.com on existing subscriptions, others which are one-time contributions.
I present here a single case: a payment triggered by Stripe.com on an existing subscription.
I see that some payments of this type (e.g. one from Jones https://example.org/civicrm/contact/view/contribution?reset=1&id=167309&cid=15251&action=view) have this problem, while others (e.g. one from Smith https://example.org/civicrm/contact/view/contribution?reset=1&id=167315&cid=34975&action=view) do not.
Both contributions have a single payment record (this is normal) but:
- for Jones, the payment record has a status of Completed while the contribution itself still says 'Pending : Incomplete Transaction'.
- for Smit, both the payment and the contribution have a status of Completed.
Both payments are virtually identical:
- Stripe triggered a payment on an existing subscription and notified civicrm via a 'customer.subscription.updated' event.
- The webhook was received by civicrm in a timely fashion (no failures on stripe webhook log, and civicrm log shows the webhook was received immediately).
- Webhook payloads are meaningfully identical (differing only in amount, created date, etc.)
I can provide the webhook payloads for both upon request.
In similar situations (stripe payment processed but civicrm extension stuck in pending), the recommendation has been to replay the webhook for Jones using the Stripe.ipn api, but this has no visible effect on Jones's contribution:
`cv api Stripe.ipn suppressreceipt=1 id=627786`
Anyone have a recommendation?
Otherwise, we could proceed with a deeper debugging process, which is labor-intensive — but at least we have a clear question about a specific case: "Why is the stripe.ipn api not correcting the status on Jones's contribution?"https://lab.civicrm.org/extensions/stripe/-/issues/412Processing Credit Card information fails if user is not logged in2023-01-21T23:01:46ZdwightmartinoProcessing Credit Card information fails if user is not logged inI have an events registration page which is failing once the credit card information is submitted for guests, but not logged in Admins.
Conditions: When the user is logged in (authenticated and Admin), credit card submissions on Verify...I have an events registration page which is failing once the credit card information is submitted for guests, but not logged in Admins.
Conditions: When the user is logged in (authenticated and Admin), credit card submissions on Verify take you to the Review screen successfully. Confirmed event registrations are also successfully showing up in the participants list, and money is collected.
Conditions: When the user is not logged in (guest), credit card submissions fail after hitting verify and authentication is complete, showing the red "Error" notice.
URL: https://icelanddc.com/testing-page-for-event-registration/
All extensions are up to date, and the CiviCRM install is updated as well. Is there any reason why guests cannot register for events without being logged into wordpress? Is there a setting to change this?
I have tested this with all other plugins deactivated, and in different themes. The results are the same.
Some users are also reporting on initial pageload for the payment page the following modal dialog "Could not load payment element - Is there a problem with your network connection".https://lab.civicrm.org/extensions/stripe/-/issues/4113D secure page shows 0 amount to pay2023-07-03T07:37:38ZPradeep Nayakpradpnayak@gmail.com3D secure page shows 0 amount to payAt the 3D secure/auth stage, the dialogue box that Stripe shows gives a £0.00 amount to be charged (rather than the £100 it should). It still charges the £100 correctly.
The £100 payment is successfully recorded in Civi and stripe gat...At the 3D secure/auth stage, the dialogue box that Stripe shows gives a £0.00 amount to be charged (rather than the £100 it should). It still charges the £100 correctly.
The £100 payment is successfully recorded in Civi and stripe gateway but it confuses the user when they see on the 3D secure page with £0 amount and not having clue what amount they will be charged actually.
Note: This happens only for recurring
![Screen_Shot_2023-01-13_at_11.14.57](/uploads/e5f5c7a9a2ba80af77b74e9f69843760/Screen_Shot_2023-01-13_at_11.14.57.png)https://lab.civicrm.org/extensions/stripe/-/issues/410Retrieve customer failure: id vs customer_id confusion2023-01-12T13:57:10Zaydunsaidan.saunders@squiffle.ukRetrieve customer failure: id vs customer_id confusionCreating a payment for a contact with an existing customer id can result in failure because of a confusion between the `id` and `customer_id` fields in the `civicrm_stripe_customer` table.Creating a payment for a contact with an existing customer id can result in failure because of a confusion between the `id` and `customer_id` fields in the `civicrm_stripe_customer` table.https://lab.civicrm.org/extensions/stripe/-/issues/409CiviCRM URL in Stripe Dashboard does not work2023-10-02T14:26:53Zben_fairlessCiviCRM URL in Stripe Dashboard does not workCiviCRM 5.57.0
Stripe Plug-in 6.7.14
API 2022-11-15
When a new customer is created the URL is configured as https://www.example.com/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fview&reset=1&cid=13673
When you clic...CiviCRM 5.57.0
Stripe Plug-in 6.7.14
API 2022-11-15
When a new customer is created the URL is configured as https://www.example.com/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fview&reset=1&cid=13673
When you click on this URL it doesn’t take you to the contact, just to the homepage of CiviCRM.https://lab.civicrm.org/extensions/stripe/-/issues/408Paid multi-participant registration failed with 3D Secure2023-09-15T14:24:23ZdmunioPaid multi-participant registration failed with 3D SecureThis issue (#387) was fixed in version 6.7.9, but it fails when the card asks for 3D Secure validation.
Drupal 7, CiviCRM 5.51.3, Stripe 6.7.14, Payment shared 1.2.10This issue (#387) was fixed in version 6.7.9, but it fails when the card asks for 3D Secure validation.
Drupal 7, CiviCRM 5.51.3, Stripe 6.7.14, Payment shared 1.2.10https://lab.civicrm.org/extensions/stripe/-/issues/407Suggestion: warn if multiple webhooks2023-10-02T14:26:30Zaydunsaidan.saunders@squiffle.ukSuggestion: warn if multiple webhooksA system check warns if the expected webhook is not found but does not warn if unexpected webhooks are found.
On a system I recently looked at, it had 5 webhooks including one to the test processor - caused by changes in hostname, enabl...A system check warns if the expected webhook is not found but does not warn if unexpected webhooks are found.
On a system I recently looked at, it had 5 webhooks including one to the test processor - caused by changes in hostname, enabling clean-urls etc. This caused confusion in the logs and may explain other failures being experienced.
So the suggestion is to add another system check job warning if there webhooks configured other than the expected one. The system check can be hidden on any system that actually wants multiple webhooks.https://lab.civicrm.org/extensions/stripe/-/issues/406Updating subscription in Stripe should edit amount in CiviCRM2022-12-19T17:53:31ZBradley TaylorUpdating subscription in Stripe should edit amount in CiviCRMWe have a client who has edited a number of subscriptions within Stripe, to change the amount to be charged in each instalment. I.e. a subscription was setup at £25, and then changed in Stripe to £50.
Currently there is no way to chang...We have a client who has edited a number of subscriptions within Stripe, to change the amount to be charged in each instalment. I.e. a subscription was setup at £25, and then changed in Stripe to £50.
Currently there is no way to change the subscription amount in the CiviCRM UI, so we are updating the `amount` on the recurring subscription via API4.
Would it be possible to add a webhook listener for subscription change events, to automatically update the amount in CiviCRM?
https://lab.civicrm.org/extensions/stripe/-/issues/14 indicates that this functionality already exists, but I can't see evidence of it in the code. I wonder if the functionality was removed at some point (whether deliberately or by mistake).https://lab.civicrm.org/extensions/stripe/-/issues/405mitigation of card-testing fraud2023-03-20T09:57:25Zhescomitigation of card-testing fraudOne of my clients is seeing their stripe account inundated with what stripe is describing as card testing transactions, which are being rejected as fraudulent. Stripe has asked us to implement a mitigation plan.
I have reviewed the g...One of my clients is seeing their stripe account inundated with what stripe is describing as card testing transactions, which are being rejected as fraudulent. Stripe has asked us to implement a mitigation plan.
I have reviewed the guidance provided by stripe at:
https://stripe.com/docs/disputes/prevention/card-testing
https://stripe.com/docs/disputes/prevention/advanced-fraud-detection
I write to ask what might already be built into the stripe extension which would help our sites comply with this guidance, and if appropriate to make a feature request that future versions of the extension be extended to facilitate compliance with this guidance.
Specifically, I wonder if:
(1) advancedFraudSignals is for some reason being disabled?
(2) what exists to facilitate integration with captcha verification?
(3) how best the conveyance to stripe of the (a) IP address, (b) customer email, (c) customer name, and (d) billing address might be enabled?
(4) if the IP address might be disabled when the connection between the end user and the server is proxied and X-Forwarded-For headers are not enabled?
(5) if some mechanism for rate-limiting interactions with the stripe API might be enabled in the extension's configuration interface?
Any help would be appreciated.
Thanks,
-- Hugh Escohttps://lab.civicrm.org/extensions/stripe/-/issues/404Not able to create new recurring payments after upgrade to 6.7.132023-01-05T13:02:11ZKurund JalmiNot able to create new recurring payments after upgrade to 6.7.13I am trying to create annual recurring of £20.
Errors in the logs:
```
[error] plan_retrieve: Stripe\Exception\InvalidRequestException: No such plan: 'every-1-year-2000-gbp-test'
```
Error displayed on the screen:
```
You passed an e...I am trying to create annual recurring of £20.
Errors in the logs:
```
[error] plan_retrieve: Stripe\Exception\InvalidRequestException: No such plan: 'every-1-year-2000-gbp-test'
```
Error displayed on the screen:
```
You passed an empty string for 'plan'. We assume empty values are an attempt to unset a parameter; however 'plan' cannot be unset. You should remove 'plan' from your request or supply a non-empty value.
```
The problem is with the new plan creation. The code relied on error code for creation of new plan. There was some restructuring to error handling in the recent version that resulted in this regression.Kurund JalmiKurund Jalmihttps://lab.civicrm.org/extensions/stripe/-/issues/403Problem trying to import subscriptions: Mandatory key missing2022-12-12T17:14:35ZUpperholmeProblem trying to import subscriptions: Mandatory key missingHi
I'm trying to use the APIv3 scripts to import customers, subscriptions and charges from the Stripe account (Stripe API version 2020-08-27)
Stripe.importallcustomers appeared to work well. So I then moved on to see if I could import al...Hi
I'm trying to use the APIv3 scripts to import customers, subscriptions and charges from the Stripe account (Stripe API version 2020-08-27)
Stripe.importallcustomers appeared to work well. So I then moved on to see if I could import all of the subscriptions:
`cv api Stripe.importallsubscriptions ppid=1`
produced
`{
"fields": [
"subscription",
"ppid"
],
"error_code": "mandatory_missing",
"entity": "Stripe",
"action": "importallsubscriptions",
"is_error": 1,
"error_message": "Mandatory key(s) missing from params array: subscription, ppid"
}`
suggesting it needs a subscription parameter?
Not sure what to provide?https://lab.civicrm.org/extensions/stripe/-/issues/402Stripe does not appear in list of Payment Processor Types2023-10-02T14:27:23ZcbpqStripe does not appear in list of Payment Processor TypesI am trying to configure Stripe in CiviCRM (using WordPress). I installed it through the extensions page along with MJWShared. However, when I try to create a new Payment Processor, Stripe does not appear in the first drop-down as a Paym...I am trying to configure Stripe in CiviCRM (using WordPress). I installed it through the extensions page along with MJWShared. However, when I try to create a new Payment Processor, Stripe does not appear in the first drop-down as a Payment Processor Type. I checked the database and don't see any entries for Stripe in `civicrm_payment_processor_type`. I tried reinstalling both extensions which did not change anything. Am I doing something wrong? Is it possible that something went wrong during the installation?https://lab.civicrm.org/extensions/stripe/-/issues/401UnknownCurrencyException error for Membership renewal payments2023-01-04T01:16:10ZmattembaUnknownCurrencyException error for Membership renewal paymentsHello,
A subset of our attempted Civi Membership Renewal payments are hitting an error thrown by the Stripe extension, before the card data is sent to Stripe for validation.
- CiviCRM 5.55.1
- Joomla 3.10.11
- Stripe Payment Processor ...Hello,
A subset of our attempted Civi Membership Renewal payments are hitting an error thrown by the Stripe extension, before the card data is sent to Stripe for validation.
- CiviCRM 5.55.1
- Joomla 3.10.11
- Stripe Payment Processor 6.8-dev
Log indicates the error is from the API due to a null currency code being passed by the Stripe extension:
```
Dec 08 09:26:11 [debug] AJAX Error ({error_id}): failed with exception
Array
(
[error_id] => jp0P-krKS-bG4f
[exception] => Brick\Money\Exception\UnknownCurrencyException: "Unknown currency code: "
#0 /home/SITE/public_html/administrator/components/com_civicrm/civicrm/vendor/brick/money/src/ISOCurrencyProvider.php(120): Brick\Money\Exception\UnknownCurrencyException::unknownCurrency(NULL)
```
- Full log attached: [UnknownCurrencyException.txt](/uploads/7e57b482dfd7584464d56150a9335ba5/UnknownCurrencyException.txt)
- I am unable to reproduce the issue but have 6+ reports from users of the same error in the past week.
- Issue is isolated to our Membership enrollment/renewal Contribution page. Other Contribution pages do not experience this error.
- Payments for brand new Memberships from the same Contribution page succeed.
- In the database and frontend config, all Contribution Pages are set to USD and every past Contribution record from our site is in USD.
- All users report USD based banks/cards and all have US based billing addresses.
- Issue is occurring across card types (Visa, MasterCard).
Has anyone else experienced this error? Any help would be appreciated. Thank you!https://lab.civicrm.org/extensions/stripe/-/issues/400Fatal error: Stripe\Exception\InvalidRequestException: "You passed an empty s...2022-12-08T16:18:09ZKurund JalmiFatal error: Stripe\Exception\InvalidRequestException: "You passed an empty string for 'plan'. We assume empty values are an attempt to unset a parameter; however 'plan' cannot be unset. You should remove 'plan' from your request or supply a non-empty val```bash
.../stripe/vendor/stripe/stripe-php/lib/Exception/InvalidRequestException.php(35): Stripe\Exception\ApiErrorException::factory("You passed an empty string for 'plan'. We assume empty values are an attempt ...", 400, "{\n \"error...```bash
.../stripe/vendor/stripe/stripe-php/lib/Exception/InvalidRequestException.php(35): Stripe\Exception\ApiErrorException::factory("You passed an empty string for 'plan'. We assume empty values are an attempt ...", 400, "{\n \"error\": {\n \"code\": \"parameter_invalid_empty\",\n \"doc_url\...", (Array:1), Object(Stripe\Util\CaseInsensitiveArray), "parameter_invalid_empty")
```
I am using latest version of Stripe and supporting extensions.
Note that one time contribution is working as expected. The above error is for recurring contributions.https://lab.civicrm.org/extensions/stripe/-/issues/399Recurring contributions are no longer activated.2022-12-12T20:06:58ZAlexLetiziaRecurring contributions are no longer activated.
Starting from one of the latest updates, recurring contributions are no longer activated (1shot payment works correctly)
E.g. https://sostieni.solidalinelmondo.org/test-no-rec-contr-stripe/
After completing all the fields (here the re...
Starting from one of the latest updates, recurring contributions are no longer activated (1shot payment works correctly)
E.g. https://sostieni.solidalinelmondo.org/test-no-rec-contr-stripe/
After completing all the fields (here the recurrence is forced, but even if it weren't, it doesn't work), whatever the value of the donation, at the time of double authentication the value €0.00 is preloaded and the process does not close.
Running a test with the "internal CiviCRM link" (both in Test and Live mode) we get this error:
> _You passed an empty string for 'plan'. We assume empty values are an attempt to unset a parameter; however 'plan' cannot be unset. You should remove 'plan' from your request or supply a non-empty value._
and the log ad the attached file:
[Stripe_Rec_Contr_issue.txt](/uploads/3f22e7838bfb8c1af422bf4f6437b715/Stripe_Rec_Contr_issue.txt)
- CiviCRM ver. 5.55.2 (also 5.52.3 or 5.53)
- Stripe Payment Processor 6.7.13
- Wordpress 6.1.1
- PHP 7.4.33
- Stripe API version 2022-11-15
- all Stripe "subscription events" (in webhook) are actived
- firewall setting (we are under Cloudflare) as image below
@mattwire - have you an idea?
![Firewall_Settings](/uploads/6a747ed8cd34f6b6bf110d900d316d7c/Firewall_Settings.png)https://lab.civicrm.org/extensions/stripe/-/issues/398paymentIntentID not found. $params: Civi\Payment\PropertyBag Object2023-10-10T06:30:03ZminboripaymentIntentID not found. $params: Civi\Payment\PropertyBag ObjectHi, I'm having exactly the same issue as found in [issue #269](https://lab.civicrm.org/extensions/stripe/-/issues/269)
Log files look identical, except this is for an event registration. Some registrations are successful, some are not....Hi, I'm having exactly the same issue as found in [issue #269](https://lab.civicrm.org/extensions/stripe/-/issues/269)
Log files look identical, except this is for an event registration. Some registrations are successful, some are not. Users are able to come back, try again, and it works.
System details:
-- Joomla 3.10.11
-- CiviCRM 5.55.2
-- mjwshared extension 1.2.10
-- Stripe Payment Processor extension 6.7.13
From the logs:
Dec 03 14:28:27 [debug] paymentIntentID not found. $params: Civi\Payment\PropertyBag Object
(
[props:protected] => Array
(
[default] => Array
(
[qfKey] => CRMEventControllerRegistration1chw1mxs8n1cowccocgsso44w8sgow4gsc840c44kgo8ook4cc_8804
[entryURL] => https://www.DOMAINNAME.org/index.php?option=com_civicrm&task=civicrm/event/register&Itemid=1482
<personal info redacted>
....
Help appreciated!https://lab.civicrm.org/extensions/stripe/-/issues/397Support for API Version 2022-11-152022-12-24T21:46:41Zvakeesan26Support for API Version 2022-11-15Hi
I have created a stripe account recently, and It is having latest API version - **2022-11-15**
I installed latest version of stripe extension and configured. but while making the payment getting the below error.
**Error: Call to ...Hi
I have created a stripe account recently, and It is having latest API version - **2022-11-15**
I installed latest version of stripe extension and configured. but while making the payment getting the below error.
**Error: Call to undefined method Stripe\Exception\InvalidArgumentException::getJsonBody() in CRM_Core_Payment_Stripe::parseStripeException() (line 290 of ____/sites/default/files/civicrm/ext/stripe/CRM/Core/Payment/Stripe.php).**
Is there any idea regarding this @mattwire ?
Thank you6.7https://lab.civicrm.org/extensions/stripe/-/issues/396Update restricted API key permissions required2022-11-23T12:17:40ZJKingsnorthUpdate restricted API key permissions requiredThe documenetation does not accurately reflect which permissions are required in a restricted API key setup: https://docs.civicrm.org/stripe/en/latest/install/#how-to-update-stripe-api-version
The text disagrees with the screenshot, and...The documenetation does not accurately reflect which permissions are required in a restricted API key setup: https://docs.civicrm.org/stripe/en/latest/install/#how-to-update-stripe-api-version
The text disagrees with the screenshot, and the screenshot looks out of date when compared to the Stripe interface. Also, I think the 'paymentIntent' and 'setupIntent' permissions are now required, among others.
I've tried having a look through, but it's quite difficult to tell which permissions are in-use by the extension.
This would be a great extra level of security to implement, if possible.https://lab.civicrm.org/extensions/stripe/-/issues/395slow queries against civicrm_paymentprocessor_webhook (needs indices or garba...2022-12-30T18:51:54ZAllenShawslow queries against civicrm_paymentprocessor_webhook (needs indices or garbage cleanup?)## Summary
I'm seeing two slow queries in mysql for the table civicrm_paymentprocessor_webhook:
```
SELECT `a`.`id` AS `id`, `a`.`payment_processor_id` AS `payment_processor_id`, `a`.`event_id` AS `event_id`, `a`.`trigger` AS `trigger`,...## Summary
I'm seeing two slow queries in mysql for the table civicrm_paymentprocessor_webhook:
```
SELECT `a`.`id` AS `id`, `a`.`payment_processor_id` AS `payment_processor_id`, `a`.`event_id` AS `event_id`, `a`.`trigger` AS `trigger`, `a`.`created_date` AS `created_date`, `a`.`processed_date` AS `processed_date`, `a`.`status` AS `status`, `a`.`identifier` AS `identifier`, `a`.`message` AS `message`, `a`.`data` AS `data` FROM civicrm_paymentprocessor_webhook a WHERE (`a`.`payment_processor_id` = "15") AND (`a`.`processed_date` IS NULL);
SELECT `a`.`id` AS `id`, `a`.`payment_processor_id` AS `payment_processor_id`, `a`.`event_id` AS `event_id`, `a`.`trigger` AS `trigger`, `a`.`created_date` AS `created_date`, `a`.`processed_date` AS `processed_date`, `a`.`status` AS `status`, `a`.`identifier` AS `identifier`, `a`.`message` AS `message`, `a`.`data` AS `data` FROM civicrm_paymentprocessor_webhook a WHERE (`a`.`payment_processor_id` = "15") AND (`a`.`identifier` = "[REDACTED]::") AND (`a`.`processed_date` IS NULL);
```
- This table currently has 226239 rows, and EXPLAIN on both queries reports a large number or ROWS and USING WHERE; (sorry, can't get to the EXPLAIN now because I've added indeces to address performance; see below).
- Large number of rows may be a result of card-testing behavior mentioned in https://chat.civicrm.org/civicrm/pl/97n6d6dpjjgpzj84axptak8mxh
## Impact:
These slow queries were causing very high memory and CPU usage from MySQL, leading to site unresponsiveness or painful slowness in response.
## Mitigating actions taken:
Adding two indeces on this table has resolved the slow-query issue; these queries are now running rapidly, memory and CPU usage have returned to normal, and server is appropriately responsive.
```
ALTER TABLE `civicrm_paymentprocessor_webhook` ADD INDEX `processed_date` (`processed_date`);
ALTER TABLE `civicrm_paymentprocessor_webhook` ADD INDEX `identifier` (`identifier`);
```
## Questions:
* Should this table be the subject of garbage cleanup to prevent its growing to a large size?
* If so, is such cleanup already in place, or may it be done manually without negative consequences, or is a patch welcome for such automated cleanup?