I am using Stripe on a webform that registers for an event and takes a payment. When someone fills the form, it seems to complete the registration and take the payment, but then gives a fatal error to the end user:
Error: entity_id is not a valid integer
In the watchdog log I see the following:
Warning: implode(): Invalid arguments passed in CRM_Core_BAO_CustomGroup::postProcess() (line 1494 of /path/modules/civicrm/CRM/Core/BAO/CustomGroup.php).
Notice: Undefined index: qfKey in CRM_Core_Payment_Stripe->processPaymentIntent() (line 689 of /path/files/civicrm/ext/stripe/CRM/Core/Payment/Stripe.php).
I am using the latest release (6.2.2).
Edited
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Unfortunately no funding at the moment -- but I will be doing some debugging and see if I can figure anything helpful.
I've reverted this one from a Webform to a standard event registration page for now, and there's still something strange happening -- inconsistently it fails for people one or more times but then eventually seems to go through. I've had some reports of this error message to the end user:
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
Could not find valid value for id
That id error could correlate to the problem described above (entity_id) perhaps?
The failures seem to create "Uncaptured Payments" within the Stripe account (with no customer associated with it, nor a description of the payment), followed shortly by successful payments with the same card (now associated with a customer and with a CiviCRM-generated description such as "Online Event Registration: Event Title (etc)") -- if the end user tried the payment again. Most of these seem to be 1:1 correlations between failed payments and successful payments, but for one of them there were four failures before success.
larynchanged title from Webform registration and payment succeed but then give fatal error to Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay)
changed title from Webform registration and payment succeed but then give fatal error to Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay)
larynchanged title from Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) to Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2
changed title from Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) to Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2
I think I have this same issue. I'm on a Joomla system, using the default CiviCRM registration form.
We've had 28 online registrations. Of these:
-- 20 payments/registrations have gone through successfully (appeared in Stripe correctly coded, and in CiviCRM correctly registered)
-- 7 have generated "Could not find valid value for id" errors and created "Uncaptured payments" in Stripe that have no customer data associated with them. No registration created in CiviCRM.
-- 1 has generated "Could not find valid value for id" error, payment went through just with credit card data (no customer data!) and no registration.
I do have some funding available if you could give me an idea of your requirements.
Renaming this issue because I'm seeing this on regular contribution forms, too (Uncaptured payments in Stripe account, followed by a successful payment shortly afterwards from the same card).
larynchanged title from Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2 to Online payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2
changed title from Event registration and payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2 to Online payment issues (some succeed but then give fatal error, some "Uncaptured Payments", some go through okay) v6.2.2
Notice: Undefined index: qfKey in CRM_Core_Payment_Stripe->processPaymentIntent() (line 774 of /var/www/ignatianinstitute.org/sites/default/files/civicrm/extensions/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php).
Notice: Undefined variable: CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromContributionPage in CRM_Contribute_BAO_Contribution->loadRelatedObjects() (line 2803 of /var/www/ignatianinstitute.org/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).
CiviCRM_API3_Exception: entity_id is not a valid integer in civicrm_api3() (line 133 of /var/www/ignatianinstitute.org/sites/all/modules/civicrm/api/api.php).
Funding available to track this down. Peace - Anthony
From what I can tell, the stripe portion works although I still get some eNotices about https://issues.civicrm.org/jira/browse/CRM-16923 - not sure why it so hard for it to figure out the payment processor as we only have Stripe on this site. Just to be clear, making the event a paid event got rid of any fatal errors, now it just appears that I am receiving notices.