Installed gem payanyway ( https://github.com/ssnikolay/payanyway ) After the payment was successful, the page / success opens, and there Routing Error.
Rails.application.routes.draw do mount Payanyway::Engine => '/payanyway' .... end rake routes
Routes for Payanyway::Engine payanyway_on_success_path GET /success(.:format) payanyway#success payanyway_pay_path GET /pay(.:format) payanyway#pay payanyway_on_fail_path GET /fail(.:format) payanyway#fail payanyway_on_return_path GET /return(.:format) payanyway#return payanyway_in_progress_path GET /in_progress(.:format) payanyway#in_progress payanyway_on_check_path GET /check(.:format) payanyway#check If I insert a link to one of these pages somewhere, I get an error:
undefined local variable or method `payanyway_on_success_path' How to solve this problem and where to look for the error?