PayPal

15 views
Skip to first unread message

Khan

unread,
Aug 31, 2012, 11:23:57 AM8/31/12
to rubyonra...@googlegroups.com
Hi all  i found this link for paypal integration and in the process i got  this error
undefined local variable or method `pay_bill_url'

what does it means


Cheers
Khan

sameena Khan

unread,
Aug 31, 2012, 11:25:10 AM8/31/12
to rubyonra...@googlegroups.com
here is the link http://www.funonrails.com/search?q=paypal&imageField.x=0&imageField.y=0&max-results=10



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/wbpzRsszeKAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Patrick Mulder

unread,
Aug 31, 2012, 11:49:02 AM8/31/12
to rubyonra...@googlegroups.com
The error says that the route is not found.

For debugging, you need to check your routes.
Try:

rake routes | grep pay_bill

Something should show up, since the tutorials says to put this in the
routes file:

match '/billing', :to => 'billing#create', :as => :pay_bill


Maybe rereading:

http://guides.rubyonrails.org/routing.html#adding-more-restful-actions

helps too
Reply all
Reply to author
Forward
0 new messages