SPC_Payment_Method_Stripe D

Total Complexity 155
Dependencies 4
Dependents 0
Total lines 1,259
Lines of code 803
Logical lines of code 383
Comment lines 256
Methods 37
Properties 9

Methods 37

Method Rating Maintainability Complexity Lines of code
setup_payment_intent()
D
26
29 167
init_order()
A
34 11 102
process_refund()
A
38 10 73
create_order()
A
41 11 53
webhooks()
A
45 8 40
stripe_connect_return()
A
51 8 25
options()
S
42 4 57
enqueue_scripts()
S
53 6 21
stripe_disconnect_return()
S
55 5 18
get_transaction_url()
S
61 5 12
checkout_validation()
S
66 5 7
init()
S
50 3 27
stripe_connect_display()
S
57 3 17
get_application_fee_amount()
S
57 3 17
setup()
S
64 4 10
get_order_by_payment_intent()
S
58 2 17
get_fields()
S
59 2 16
get_account_id()
S
76 3 3
mode()
S
70 3 6
get_secret_key()
S
76 3 3
get_publishable_key()
S
76 3 3
init_setup()
S
69 3 7
admin_order_tab_content_stripe()
S
59 2 13
order_actions_options()
S
57 1 26
order_notify()
S
71 2 6
order_actions()
S
67 2 7
admin_order_tab()
S
70 2 6
is_allowed()
S
68 2 7
create_order_status()
S
71 2 6
get_mode()
S
80 1 3
get_webhook_url()
S
65 1 10
get_transaction_id()
S
80 1 3
get_payment_intent_id()
S
82 1 3
get_application_fee_percent()
S
79 1 3
set_stripe_customer_id()
S
80 1 3
get_client_secret()
S
82 1 3
get_stripe_customer_id()
S
81 1 3