Commit 3d53a097429911b77ced3327ba3ba3c1fef0cd77
1 parent
eb07a30ad7
Exists in
master
penanganan gagal karena tidak ada stok
Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff
partner-scrappingkisel.js
... | ... | @@ -73,8 +73,12 @@ function topupRequest(task) { |
73 | 73 | if (message == 'Error Parsing') { |
74 | 74 | |
75 | 75 | response_code = '40'; |
76 | + | |
77 | + } else if (message == 'Stock is not available') { | |
78 | + | |
79 | + response_code = '40'; | |
76 | 80 | |
77 | - if (message == 'Undefined error') { | |
81 | + } else if (message == 'Undefined error') { | |
78 | 82 | |
79 | 83 | response_code = '40'; |
80 | 84 |