```ruby
module Spree::Conekta
  class PaymentsController < Spree::StoreController
    ssl_required
    skip_before_filter :verify_authenticity_token, only: :create

    def show
      @order = Spree::Order.find_by_number(params[:id])
      @order_details = @order.last_payment_details.params
    end

    def create
      PaymentNotificationHandler.new(params).perform_action if params['type'] == 'charge.paid'
      render nothing: true
    end
  end
end
```

Add OrderHelpers for FIX error in show the payments for missing order_just_completed? method
user
```ruby
module Spree::Conekta
  class PaymentsController < Spree::StoreController
    helper Spree::OrdersHelper
    ssl_required
    skip_before_filter :verify_authenticity_token, only: :create

    def show
      @order = Spree::Order.find_by_number(params[:id])
      @order_details = @order.last_payment_details.params
    end

    def create
      PaymentNotificationHandler.new(params).perform_action if params['type'] == 'charge.paid'
      render nothing: true
    end
  end
end
```
assistant