Call to undefined method Stripe\Stripe::setAppInfo()
We are switching from Authorize.net to Stripe for our payment processing. During our event registration tests we are encountering a 500 error when we attempt test or live payments. After digging through our php error logs I found this each time we made an attempt. I'm not sure if the issue is related the extension or some other CiviCRM setting. Could someone help point me in the right direction to debug this issue? Thanks!
Here is our setup:
- Stripe Extension v5.3.2
- CiviCRM v5.11
- Wordpress v5.1.1
[02-Apr-2019 14:11:31 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined method Stripe\Stripe::setAppInfo() in /www/wp-content/plugins/files/civicrm/ext/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php:108
Stack trace:
#0 /www/wp-content/plugins/files/civicrm/ext/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php(409): CRM_Core_Payment_Stripe->setAPIParams()
#1 /www/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php(1339): CRM_Core_Payment_Stripe->doPayment(Array, 'event')
#2 /www/wp-content/plugins/civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php(591): CRM_Event_Form_Registration_Confirm->processPayment(Object(CRM_Core_Payment_Stripe), Array)
#3 /www/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(489): CRM_Event_Form_Registration_Confirm->postProcess()
#4 /www/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#5 /www/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Event_Form_Registration in /www/wp-content/plugins/files/civicrm/ext/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php on line 108