HB_Payment_Gateway_Stripe S

Total Complexity 50
Dependencies 11
Dependents 2
Total lines 397
Lines of code 229
Logical lines of code 121
Comment lines 116
Methods 15
Properties 8

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
A
50 15 25
process_checkout()
S
48 5 32
create_payment_intent()
S
50 5 28
stripe_retrieve_payment_intent()
S
51 5 25
add_customer()
S
49 4 31
retrieve_stripe_session()
S
57 3 16
get_url_payment_on_stripe_page()
S
50 1 29
update_payment_intent()
S
60 2 13
is_enable()
S
77 2 3
checkout_on_stripe()
S
77 2 3
instance()
S
71 2 6
init()
S
78 1 3
admin_settings()
S
80 1 3
htb_stripe_publish_key()
S
80 1 3
form()
S
66 1 9