Commit 76889f7ac5e855ccd6ea051bc9f48050ea1c7ce4

Authored by Adhidarma Hadiwinoto
1 parent 866d1d2c16
Exists in master

bugfix refnum f

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

partner-masterpulsa-voucher.js
... ... @@ -115,7 +115,7 @@ function parsePaymentResponse(message) {
115 115 function rehashRefnum(refnum) {
116 116 var hashed = refnum;
117 117 try {
118   - hashed = hashed.replace(/A/g, '1').replace(/B/g, '2').replace(/C/g, '3').replace(/D/g, '4').replace(/E/g, '5').replace('/F/g', '6');
  118 + hashed = hashed.replace(/A/g, '1').replace(/B/g, '2').replace(/C/g, '3').replace(/D/g, '4').replace(/E/g, '5').replace(/F/g, '6');
119 119 hashed = hashed.substring(0, 15);
120 120 }
121 121 catch(err) {