search account no,security code check,find order,payment create
This commit is contained in:
@@ -222,7 +222,7 @@ class SalePayment < ApplicationRecord
|
||||
account_no: account_no, amount: amount}.to_json,
|
||||
:headers => {
|
||||
'Content-Type' => 'application/json',
|
||||
'Accept' => 'application/json; version=3'
|
||||
'Accept' => 'application/json; version=4'
|
||||
}, :timeout => 10
|
||||
)
|
||||
rescue Errno::ECONNREFUSED
|
||||
@@ -336,7 +336,7 @@ class SalePayment < ApplicationRecord
|
||||
:body => params,
|
||||
:headers => {
|
||||
'Content-Type' => 'application/json',
|
||||
'Accept' => 'application/json; version=3'
|
||||
'Accept' => 'application/json; version=4'
|
||||
},
|
||||
:timeout => 10
|
||||
)
|
||||
@@ -1043,7 +1043,6 @@ class SalePayment < ApplicationRecord
|
||||
.group("sale_payments.sale_payment_id")
|
||||
return query
|
||||
end
|
||||
|
||||
private
|
||||
def generate_custom_id
|
||||
if self.sale_payment_id.nil?
|
||||
|
||||
Reference in New Issue
Block a user