Commit 6ceba60f5846a5dde0bb9de9318739e55b1ee703

Authored by Adhidarma Hadiwinoto
1 parent d66608f597
Exists in master

hapus last_product ketika gagal transaksi

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

... ... @@ -123,6 +123,8 @@ def handleSms(sms):
123 123  
124 124 if sms.text.find('Maaf, transaksi gagal') >= 0:
125 125 pushTopupStatus(LAST_REQUEST_ID, '40', sms.text)
  126 + createDenyProductFile('ALL');
  127 + PRODUCTS = sate24.removeProduct(PRODUCTS, LAST_PRODUCT)
126 128 return
127 129  
128 130 if sms.text.find('PIN yang Anda masukkan salah. Silahkan ulangi kembali') >= 0: