SPC_Payment_Method_Stripe D

Total Complexity 132
Dependencies 7
Dependents 0
Total lines 900
Lines of code 672
Logical lines of code 341
Comment lines 68
Methods 36
Properties 9

Methods 36

Method Rating Maintainability Complexity Lines of code
payment_return_listener()
A
38 14 68
setup_payment_intent()
A
36 12 92
init_order()
A
37 11 79
webhooks()
A
47 8 37
stripe_connect_return()
A
51 8 25
stripe_disconnect_return()
S
49 7 29
process_refund()
S
46 6 39
options()
S
45 4 44
enqueue_scripts()
S
54 5 20
get_transaction_url()
S
61 5 12
setup()
S
61 4 11
stripe_connect_display()
S
57 3 17
get_application_fee_amount()
S
57 3 17
checkout_validation()
S
67 4 7
init()
S
49 2 28
get_order_by_payment_intent()
S
58 2 17
get_fields()
S
59 2 16
mode()
S
70 3 6
get_account_id()
S
76 3 3
get_secret_key()
S
76 3 3
get_publishable_key()
S
76 3 3
admin_order_tab_content_stripe()
S
59 2 13
order_actions_options()
S
57 1 26
admin_order_tab()
S
70 2 6
order_notify()
S
71 2 6
order_actions()
S
68 2 7
init_setup()
S
70 2 7
get_client_secret()
S
82 1 3
get_webhook_url()
S
65 1 10
get_mode()
S
80 1 3
get_transaction_id()
S
80 1 3
get_payment_intent_id()
S
82 1 3
get_application_fee_percent()
S
79 1 3
is_active()
S
80 1 3
get_stripe_customer_id()
S
81 1 3
set_stripe_customer_id()
S
80 1 3