fix: linting issues
This commit is contained in:
parent
d9ce5843e5
commit
cb354685d5
@ -102,16 +102,16 @@ def create_member_subscription_order(user_details):
|
||||
"""Summary
|
||||
|
||||
Args:
|
||||
user_details (TYPE): Description
|
||||
user_details (TYPE): Description
|
||||
|
||||
Returns:
|
||||
Dictionary: Dictionary with subscription details
|
||||
{
|
||||
'subscription_details': {
|
||||
'plan_id': 'plan_EXwyxDYDCj3X4v',
|
||||
'billing_frequency': 24,
|
||||
'customer_notify': 1
|
||||
},
|
||||
Dictionary: Dictionary with subscription details
|
||||
{
|
||||
'subscription_details': {
|
||||
'plan_id': 'plan_EXwyxDYDCj3X4v',
|
||||
'billing_frequency': 24,
|
||||
'customer_notify': 1
|
||||
},
|
||||
'subscription_id': 'sub_EZycCvXFvqnC6p'
|
||||
}
|
||||
"""
|
||||
|
@ -124,18 +124,3 @@ Administrator""".format(get_link_to_form("Error Log", log.name))
|
||||
sendmail_to_system_managers("[Important] [ERPNext] Razorpay membership webhook failed , please check.", content)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -3,10 +3,6 @@
|
||||
|
||||
frappe.ui.form.on('Membership Settings', {
|
||||
refresh: function(frm) {
|
||||
// if (frm.doc.enable_razorpay) {
|
||||
// frm.add_custom_button(__("Fetch Plans from RazorPay"), () => {
|
||||
// frm.trigger("fetch_razorpay_plans")
|
||||
// });
|
||||
// }
|
||||
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user