WC_Razorpay C

Total Complexity 101
Dependencies 6
Dependents 1
Total lines 1,093
Lines of code 712
Logical lines of code 290
Comment lines 131
Methods 36
Properties 9

Methods 36

Method Rating Maintainability Complexity Lines of code
autoEnableWebhook()
A
37 13 85
createOrGetRazorpayOrderId()
A
48 8 37
updateOrder()
A
48 7 34
check_razorpay_response()
S
45 6 44
init_form_fields()
S
37 3 85
process_refund()
S
49 4 31
verifyOrderAmount()
S
50 4 29
getErrorMessage()
S
53 4 23
hostCheckoutScripts()
S
52 4 22
add_notice()
S
56 4 20
process_payment()
S
51 3 29
generateOrderForm()
S
51 3 29
getRazorpayPaymentParams()
S
59 3 15
getOrderCreationData()
S
58 3 14
enqueueCheckoutScripts()
S
57 2 20
getCustomerInfo()
S
56 2 19
createRazorpayOrderId()
S
57 2 18
webhookAPI()
S
58 2 16
initHooks()
S
58 2 16
generate_razorpay_form()
S
59 2 15
getDefaultCheckoutArguments()
S
51 1 26
getOrderCurrency()
S
69 2 7
getCustomOrdercreationMessage()
S
67 2 8
__construct()
S
65 2 10
getOrderKey()
S
67 2 8
verifySignature()
S
62 1 11
handleErrorCase()
S
72 1 5
redirectUser()
S
74 1 5
get_description()
S
80 1 3
getRazorpayApiInstance()
S
78 1 3
admin_options()
S
68 1 7
getCheckoutArguments()
S
70 1 6
receipt_page()
S
81 1 3
getOrderSessionKey()
S
80 1 3
getRedirectUrl()
S
78 1 3
getSetting()
S
80 1 3