update change version v3 for api paymal

This commit is contained in:
Aung Myo
2018-03-13 14:23:23 +06:30
parent df781395c8
commit 9f0bef732e
6 changed files with 20 additions and 19 deletions

View File

@@ -273,7 +273,7 @@ class Origami::DiscountsController < BaseOrigamiController
auth_token:auth_token}.to_json,
:headers => {
'Content-Type' => 'application/json',
'Accept' => 'application/json; version=2'
'Accept' => 'application/json; version=3'
}, :timeout => 10)
rescue HTTParty::Error
response = {"status": false, "message": "Can't open membership server " }