E::ts('The %1 (%2) Payment Processor does not have a webhook configured. This is only required for recurring contributions. You can review from your Stripe account, under Developers > Webhooks. The webhook URL is: %3',[
1=>$pp['name'],
2=>$pp['id'],
3=>$webhook_path,
]),
E::ts('Stripe - Webhook'),
\Psr\Log\LogLevel::INFO,
'fa-money'
);
continue;
}
$found_wh=FALSE;
foreach($webhooks->dataas$wh){
if($wh->url==$webhook_path){
$found_wh=TRUE;
}
}
if($found_wh){
$messages[]=newCRM_Utils_Check_Message(
'stripe_webhook',
E::ts('The %1 (%2) Payment Processor has a webhook configured (%3).',[
1=>$pp['name'],
2=>$pp['id'],
3=>$webhook_path,
]),
E::ts('Stripe - Webhook'),
\Psr\Log\LogLevel::INFO,
'fa-money'
);
}
else{
$messages[]=newCRM_Utils_Check_Message(
'stripe_webhook',
E::ts('The %1 (%2) Payment Processor does not have a webhook configured. This is only required for recurring contributions. You can review from your Stripe account, under Developers > Webhooks. The webhook URL is: %3',[