MM_WPFS_CheckoutSubmissionService C

Total Complexity 122
Dependencies 25
Dependents 5
Total lines 866
Lines of code 546
Logical lines of code 281
Comment lines 180
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
findAndProcessSubmissions()
B
37 20 77
processSinglePopupFormSubmit()
A
40 13 56
findPaymentIntentInSubscription()
S
52 6 30
createCheckoutSession()
S
54 5 20
retrieveStripePaymentMethodByPaymentIntent()
S
61 5 14
retrieveStripeSubscriptionByCheckoutSession()
S
54 4 26
updateSubmitEntryWithFailed()
S
57 4 19
retrieveStripePaymentIntentByCheckoutSession()
S
58 4 18
retrieveStripeCustomerByCheckoutSession()
S
57 4 18
updateSubmitEntriesWithInternalError()
S
61 4 14
retrieveStripePaymentMethodBySetupIntent()
S
62 4 13
findSetupIntentInSubscription()
S
62 4 13
retrieveStripeSetupIntentByCheckoutSession()
S
62 4 13
retrieveStripeCustomerByPaymentMethod()
S
62 4 13
deleteSubmitEntriesById()
S
64 4 11
processCheckoutSubmissions()
S
60 3 14
findPaymentIntentInCheckoutSession()
S
63 3 11
findSetupIntentInCheckoutSession()
S
63 3 11
createSubmitEntry()
S
52 2 25
updateSubmitEntryWithCancelled()
S
60 2 15
updateSubmitEntryWithSuccess()
S
62 2 13
updateSubmitEntryWithErrorCount()
S
63 2 12
updateSubmitEntryWithComplete()
S
64 2 11
retrieveCheckoutSession()
S
55 1 23
onActivation()
S
70 2 6
__construct()
S
72 2 5
updateSubmitEntryWithSessionIdToPending()
S
67 1 9
stop()
S
80 1 3
retrieveSubmitEntry()
S
80 1 3
start()
S
80 1 3
onDeactivation()
S
76 1 4
setup()
S
68 1 7
isRunning()
S
81 1 3
hooks()
S
69 1 9
findPopupEntries()
S
74 1 4