def payment_sent
      order_number = session[:order_number]
      session[:order_number] = nil
      order = Spree::Order.find_by_number(order_number) || raise(ActiveRecord::RecordNotFound)
      redirect_to spree.order_path(order), :notice => Spree.t(:order_processed_successfully)
    end
def payment_sent
      order_number = session[:order_number]
      session[:order_number] = nil
      order = Spree::Order.find_by_number(order_number) || raise(ActiveRecord::RecordNotFound)
      redirect_to spree.order_path(order), :notice => Spree.t(:order_processed_successfully)
    end
Fires on receipt of payment received window message