| Line 5059... |
Line 5059... |
| 5059 |
elif status == "Recharge Under Process" :
|
5059 |
elif status == "Recharge Under Process" :
|
| 5060 |
smsText = "Dear Customer, Your Payment was successful but due to some internal error with the operator's system we are not sure if the recharge was successful. In case your recharge is not processed, we will credit amount to your recharge wallet."
|
5060 |
smsText = "Dear Customer, Your Payment was successful but due to some internal error with the operator's system we are not sure if the recharge was successful. In case your recharge is not processed, we will credit amount to your recharge wallet."
|
| 5061 |
#Dear Customer, Your Payment was successful but due to some internal error with the operator's system we are not sure if the recharge was successful. In case your recharge is not processed, we will credit amount to your recharge wallet.
|
5061 |
#Dear Customer, Your Payment was successful but due to some internal error with the operator's system we are not sure if the recharge was successful. In case your recharge is not processed, we will credit amount to your recharge wallet.
|
| 5062 |
elif status == "Recharge Failed, Amount Refunded" :
|
5062 |
elif status == "Recharge Failed, Amount Refunded" :
|
| 5063 |
smsText = "Dear Customer, It seems operator could not process your recharge request. We are crediting the refund amount to your recharge wallet. You can use wallet amount to recharge again."
|
5063 |
smsText = "Dear Customer, It seems operator could not process your recharge request. We are crediting the refund amount to your recharge wallet. You can use wallet amount to recharge again."
|
| 5064 |
|
5064 |
'''
|
| 5065 |
if smsText is not None and len(smsText)>0:
|
5065 |
if smsText is not None and len(smsText)>0:
|
| 5066 |
try:
|
5066 |
try:
|
| 5067 |
send_transaction_sms(recharge_order.userId, deviceNumber, smsText, SmsType.TRANSACTIONAL)
|
5067 |
send_transaction_sms(recharge_order.userId, deviceNumber, smsText, SmsType.TRANSACTIONAL)
|
| 5068 |
except Exception as e:
|
5068 |
except Exception as e:
|
| 5069 |
print e
|
5069 |
print e
|
| 5070 |
pass
|
5070 |
pass
|
| 5071 |
|
5071 |
'''
|
| 5072 |
|
5072 |
|
| 5073 |
try:
|
5073 |
try:
|
| 5074 |
helper_client = HelperClient().get_client()
|
5074 |
helper_client = HelperClient().get_client()
|
| 5075 |
helper_client.saveUserEmailForSending([email], "", source_name + " - Recharge Order Details", email_header + email_footer, str(recharge_order.id), "RechargeInfo", [], [], 1)
|
5075 |
helper_client.saveUserEmailForSending([email], "", source_name + " - Recharge Order Details", email_header + email_footer, str(recharge_order.id), "RechargeInfo", [], [], 1)
|
| 5076 |
return True
|
5076 |
return True
|