Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
dekart committed Sep 22, 2009
1 parent 7d74226 commit b462ddb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.markdown
Expand Up @@ -12,13 +12,18 @@ Usage
development:
wallet: "R123456789012"
secret: "mysupersecret123"
production:
wallet: "R098765432109"
secret: "myproductionsecret"

2) Add new action to your payment controller:

class PaymentsController < ApplicationController
# Disable forgery protection for webmoney accepting action
skip_before_filter :verify_authenticity_token, :only => :webmoney_payment

...

def webmoney_payment
@payment = current_user.payments.build(
:currency => webmoney.currency,
Expand Down

0 comments on commit b462ddb

Please sign in to comment.