diff --git a/payments/overrides/payment_webform.py b/payments/overrides/payment_webform.py index 6f56d8b0..3b2d7afa 100644 --- a/payments/overrides/payment_webform.py +++ b/payments/overrides/payment_webform.py @@ -1,7 +1,7 @@ import json import frappe -from frappe.core.doctype.file import remove_file_by_url +from frappe.core.doctype.file.utils import remove_file_by_url from frappe.rate_limiter import rate_limit from frappe.utils import flt from frappe.website.doctype.web_form.web_form import WebForm diff --git a/requirements.txt b/requirements.txt index 6537eed3..189dbaf2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ paytmchecksum~=1.7.0 razorpay~=1.2.0 stripe~=2.56.0 braintree~=4.20.0 +pycryptodome~=3.18.0