fix: minor changes
This commit is contained in:
parent
bc56a59671
commit
ab8a63d6fe
2 changed files with 2 additions and 3 deletions
|
|
@ -84,10 +84,9 @@ def get_paytm_params(payment_details, order_id, paytm_config):
|
|||
return paytm_params
|
||||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
def verify_transaction(**kwargs):
|
||||
def verify_transaction(**paytm_params):
|
||||
'''Verify checksum for received data in the callback and then verify the transaction'''
|
||||
paytm_config = get_paytm_config()
|
||||
paytm_params = frappe._dict(kwargs)
|
||||
is_valid_checksum = False
|
||||
|
||||
paytm_params.pop('cmd', None)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ html, body {
|
|||
<span class='indicator {{ indicator_color or "blue" }}'>
|
||||
{{ title or _("Message") }}</span>
|
||||
</h5>
|
||||
<div class="page-card-body ellipsis">
|
||||
<div class="page-card-body">
|
||||
{% block message_body %}
|
||||
<p>{{ message or "" }}</p>
|
||||
{% if primary_action %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue