def answer
      if request.post?
        if ipn_notify.acknowledge
          LolitaPaypal::Transaction.create_transaction(ipn_notify, payment_from_ipn, request)
        end
        render nothing: true
      else
        if payment_from_ipn
          redirect_to payment_from_ipn.paypal_return_path
        else
          render text: I18n.t('lolita_paypal.wrong_request'), status: 400
        end
      end
    ensure
      LolitaPaypal.logger.info("[#{session_id}][#{payment_from_ipn && payment_from_ipn.id}][answer] #{params}")
    end
def answer
      if request.post?
        if ipn_notify.acknowledge
          LolitaPaypal::Transaction.create_transaction(ipn_notify, payment_from_ipn, request)
        end
        render nothing: true
      else
        if payment_from_ipn
          redirect_to payment_from_ipn.paypal_return_path
        else
          render text: I18n.t('lolita_paypal.wrong_request'), status: 400
        end
      end
    ensure
      LolitaPaypal.logger.info("[#{session_id}][#{payment_from_ipn && payment_from_ipn.id}][answer] #{params}")
    end
process ipn request
 POST is sent from paypal and will create transaction
 GET is a redirect from paypal and will redirect back to return_path