This commit is contained in:
Nweni
2017-06-11 13:02:03 +06:30
parent 82de95ca22
commit aa8068ad10
3 changed files with 16 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ class Origami::PayparPaymentsController < BaseOrigamiController
saleObj = Sale.find(sale_id)
sale_payment = SalePayment.new
status,msg =sale_payment.process_payment(saleObj, @user, redeem_amount,payment_method)
if status == true
@out = true, "Success!"
else
@@ -19,4 +19,4 @@ class Origami::PayparPaymentsController < BaseOrigamiController
end
end
end
end