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