card payment
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Origami::BankIntegrationController < ApplicationController #BaseOrigamiController
|
||||
|
||||
|
||||
def settle_trans
|
||||
if(params[:type] == 'request')
|
||||
card_settle_trans = CardSettleTran.new()
|
||||
@@ -35,7 +35,7 @@ class Origami::BankIntegrationController < ApplicationController #BaseOrigamiCon
|
||||
card_settle_trans.save()
|
||||
response = {status: 'success'}
|
||||
end
|
||||
render json: response
|
||||
render json: response
|
||||
end
|
||||
|
||||
def sale_trans
|
||||
@@ -93,7 +93,7 @@ class Origami::BankIntegrationController < ApplicationController #BaseOrigamiCon
|
||||
|
||||
response = {status: 'success'}
|
||||
end
|
||||
render json: response
|
||||
render json: response
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user