Skip to content
Snippets Groups Projects
Commit 5322a364 authored by mattwire's avatar mattwire
Browse files

Fix Undefined index when getting webhook secret

parent 8ab1f2b0
Branches
Tags
No related merge requests found
......@@ -83,7 +83,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
* @return string
*/
public function getWebhookSecret(): string {
return trim($this->_paymentProcessor['signature']);
return trim($this->_paymentProcessor['signature'] ?? '');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment