Payment route change

This commit is contained in:
Phyo
2017-06-12 14:22:45 +06:30
parent b0eb92b043
commit c7ff5140d4
3 changed files with 6 additions and 6 deletions

View File

@@ -229,7 +229,7 @@ $( document ).ready(function() {
var card = $('#card').text();
var sale_id = $('#sale_id').text();
$.ajax({type: "POST",
url: "<%= origami_payment_process_path %>",
url: "<%= origami_payment_cash_path %>",
data: "cash="+ cash + "&sale_id=" + sale_id,
success:function(result){
alert("Thank you")