MM_WPFS_CheckoutPaymentChargeHandler S

Total Complexity 29
Dependencies 12
Dependents 2
Total lines 346
Lines of code 216
Logical lines of code 133
Comment lines 62
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
handle()
A
37 9 84
getInvoiceDataFromCheckoutSession()
S
46 5 41
setMetadataAndDescriptionForPaymentIntent()
S
60 4 12
findOrCreateStripeCustomer()
S
54 3 23
setMetadataAndDescriptionForStripeCustomer()
S
63 4 10
fireAfterCheckoutPaymentAction()
S
56 1 18
fireAfterCheckoutSaveCardAction()
S
59 1 14
setTransactionDataFromContext()
S
67 1 8
getContextDataFromStripeObjects()
S
70 1 6