MM_WPFS_CheckoutPaymentChargeHandler S

Total Complexity 26
Dependencies 12
Dependents 2
Total lines 335
Lines of code 205
Logical lines of code 125
Comment lines 62
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
handle()
A
38 6 75
getInvoiceDataFromCheckoutSession()
S
46 5 41
setMetadataAndDescriptionForPaymentIntent()
S
60 4 12
findOrCreateStripeCustomer()
S
54 3 23
setMetadataAndDescriptionForStripeCustomer()
S
63 4 10
fireAfterCheckoutPaymentAction()
S
56 1 17
fireAfterCheckoutSaveCardAction()
S
60 1 13
setTransactionDataFromContext()
S
67 1 8
getContextDataFromStripeObjects()
S
70 1 6