giv2giv / do-not-use-neography

RESTful webservice, powered by Neo4J and written in Ruby
1 stars 0 forks source link

Dwolla Merchant Processor #7

Open michaelblinn opened 11 years ago

michaelblinn commented 11 years ago

To save on transaction costs, giv2giv uses dwolla.com for its transaction processing.

Dwolla has an official ruby wrapper for its API at https://github.com/Dwolla/dwolla-ruby

Among other things, it allows for:

This issue entails Dwolla integration for the movement of all funds throughout the entire giv2giv platform.

This functionality is tightly coupled with funds tracking.

michaelblinn commented 11 years ago

See funds_tracking.rb for neo4j-integration functions

danfunk commented 11 years ago

Since we are considering having more than one payment method in the long term (ie PayPal etal) we should work this in such a way as to remain the authority on the data. Don't depend on Dwolla to store all the account information.

michaelblinn commented 11 years ago

See attached pic for easy fund-flow viewing pleasure. Also, see models/donation.rb -- this code addresses the top-left corner of the attached pic that deals with the 'donation' node & relationships only.

screenshot