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

Update comments

parent 4f07025a
No related branches found
No related tags found
No related merge requests found
......@@ -387,6 +387,8 @@ trait CRM_Core_Payment_MJWIPNTrait {
*
* @throws \CRM_Core_Exception
* @throws \Civi\Payment\Exception\PaymentProcessorException
*
* @deprecated Was used in Stripe until 6.11
*/
private function updateContribution($params) {
$this->checkRequiredParams('updateContribution', ['contribution_id'], $params);
......
......@@ -17,7 +17,7 @@ class CRM_Mjwshared_Hook {
/**
* This hook allows modifying recurring contribution parameters
*
* @param string $type The type of webhook - eg. 'stripeipn'
* @param string $type The type of webhook - eg. 'stripe'
* @param object $object The object (eg. CRM_Core_Payment_StripeIPN)
* @param string $code "Code" to identify what was not matched (eg. customer_not_found)
* @param array $result Results returned by hook processing. Depends on the type/code. Eg. for stripe.contribution_not_found return $result['contribution'] = "contribution array from API"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment