+ initReferralSystem();
+ addPointsThroughReferralSystem('mailid_payback', $data['sender'], $payment);
+
+ // Add payment points
+ $content['points'] = $payment;
+
+ // Load template
+ loadTemplate('mailid_points_failed', FALSE, $content);
+ } else {
+ // Add payment points (again)
+ $content['points'] = $payment;