Class: Spree::Adyen::HppsController

Inherits:
StoreController
  • Object
show all
Defined in:
app/controllers/spree/adyen/hpps_controller.rb

Instance Method Summary collapse

Instance Method Details

#directoryObject



12
13
14
15
16
17
18
19
20
21
# File 'app/controllers/spree/adyen/hpps_controller.rb', line 12

def directory
  @brands = Spree::Adyen::HPP.payment_methods_from_directory(
    @order,
    @payment_method)

  respond_to do |format|
    format.html
    format.json { render json: @brands }
  end
end