Skip to content
nov matake edited this page Sep 1, 2011 · 2 revisions

Credits

Receive Payment

See Sample Canvas App.
https://apps.facebook.com/fbgraphsample/ (Canvas App)
https://github.com/nov/fb_graph_sample (Source Code)

Refund

app = FbGraph::Application.new(APP_ID, :secret => APP_SECRET)
order = FbGraph::Order.new(ORDER_ID)
order.refund!(:access_token => app.access_token)
Clone this wiki locally