README.md in moneytree-rails-0.1.5 vs README.md in moneytree-rails-0.1.6
- old
+ new
@@ -93,9 +93,14 @@
end
def website
'https://www.boomtown.com'
end
+
+ # Optional, will be called by Moneytree after authenticating with the PSP
+ def moneytree_oauth_callback
+ puts "Hurray, I just got associated with a Moneytree gateway!"
+ end
end
```
And add `Moneytree::Order` concern to the model that will be the parent for all the transactions. In most cases this
will be an order. This model will keep a balance and you can add multiple payments and refunds to it.