Sha256: bec9c98937e33a58332c7d03cca8dc670d2c080ca8b2ceb186cc80223a684574
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
class PayController < ApplicationController def notify Order.find_by_id(params["order_id"]).update_attributes!( transaction_status: params["transaction_status"] ) # must return status 200 render text: "ACK" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritrans-2.3.0 | example/rails/simplepay/app/controllers/pay_controller.rb |
veritrans-2.2.0 | example/rails/simplepay/app/controllers/pay_controller.rb |