feature/wallet-refactor #5
1 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ class PaymentRequest(models.Model):
|
||||||
'application_details_url': ''
|
'application_details_url': ''
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
submit_response = deposit_to_user_wallet_submit(settings.WALLET_RIAL_DEPOSIT, data)
|
submit_response = deposit_to_user_wallet_submit(settings.WALLET_IPG_CREDIT, data)
|
||||||
|
|
||||||
if not submit_response or not submit_response.uuid:
|
if not submit_response or not submit_response.uuid:
|
||||||
logger.error(f"[Deposit Submit] Wallet submission failed | payment_id={self.pk}")
|
logger.error(f"[Deposit Submit] Wallet submission failed | payment_id={self.pk}")
|
||||||
|
|
@ -175,7 +175,7 @@ class PaymentRequest(models.Model):
|
||||||
return to_success
|
return to_success
|
||||||
|
|
||||||
def deposit_verify(self):
|
def deposit_verify(self):
|
||||||
verify_response = deposit_to_user_wallet_verify(settings.WALLET_RIAL_DEPOSIT, self.uuid)
|
verify_response = deposit_to_user_wallet_verify(settings.WALLET_IPG_CREDIT, self.uuid)
|
||||||
|
|
||||||
if not verify_response:
|
if not verify_response:
|
||||||
logger.error(f"[Deposit Verify] Failed to get response from wallet service | payment_id={self.pk}")
|
logger.error(f"[Deposit Verify] Failed to get response from wallet service | payment_id={self.pk}")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue