Merge pull request #23261 from scmmishra/rzp-api

feat: don't allow guests
This commit is contained in:
Shivam Mishra 2020-09-04 15:19:21 +05:30 committed by GitHub
commit a2655fda8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ def create_member_subscription_order(user_details):
return subscription
@frappe.whitelist(allow_guest=True)
@frappe.whitelist()
def register_member(fullname, email, rzpay_plan_id, subscription_id, pan=None, mobile=None):
plan = get_membership_type(rzpay_plan_id)
if not plan: