def subscribe_to_user(self, request, username, plan_id):
        subscribee = User.objects.get(username=username)
        plan = Plan.objects.get(id=plan_id)
        customer = self.request.user

        payment = PaymentAdapter.create_payment(plan, customer, subscribee)
        transaction = payment.process()
        subscription = Subscription(plan=plan, customer=customer, subscribee=subscribee, transaction=transaction)
        subscription.save()

        return render(request, self.details_template_name, {'payment': payment, 'subscription': subscription})