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

Make sure we generate backend contact links for customer metadata

parent aa33de77
Branches
Tags
1 merge request!1096.4
......@@ -203,7 +203,7 @@ class CRM_Stripe_Customer {
'email' => CRM_Utils_Array::value('email', $params),
'metadata' => [
'CiviCRM Contact ID' => $params['contact_id'],
'CiviCRM URL' => CRM_Utils_System::url('civicrm/contact/view', "reset=1&cid={$params['contact_id']}", TRUE),
'CiviCRM URL' => CRM_Utils_System::url('civicrm/contact/view', "reset=1&cid={$params['contact_id']}", TRUE, NULL, TRUE, FALSE, TRUE),
'CiviCRM Version' => CRM_Utils_System::version() . ' ' . civicrm_api3('Extension', 'getvalue', ['return' => "version", 'full_name' => E::LONG_NAME]),
],
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment