Trustly/Api/signed.php
public function notificationResponse($request, $success=TRUE) {
		$response = new Trustly_Data_JSONRPCNotificationResponse($request, $success);

		$signature = $this->signMerchantRequest($response);
		if($signature === FALSE) {
			return FALSE;
		}
		$response->setSignature($signature);

		return $response;
	}
public function notificationResponse($request, $success=TRUE) {
		$response = new Trustly_Data_JSONRPCNotificationResponse($request, $success);

		$signature = $this->signMerchantRequest($response);
		if($signature === FALSE) {
			return FALSE;
		}
		$response->setSignature($signature);

		return $response;
	}
public function notificationResponse ( $ request , $ success = TRUE ) { $ response = new Trustly_Data_JSONRPCNotificationResponse ( $ request , $ success ) ; $ signature = $ this -> signMerchantRequest ( $ response ) ; if ( $ signature === FALSE ) { return FALSE ; } $ response -> setSignature ( $ signature ) ; return $ response ; }
Given an object from an incoming notification request build a response
object that can be used to respond to trustly with

@param Trustly_Data_JSONRPCNotificationRequest $request

@param boolean $success Indicator if we should respond with processing
success or failure to the notification.

@return Trustly_Data_JSONRPCNotificationResponse response object.
Given an object from an incoming notification request build a response object that can be used to respond to trustly with