MM_WPFS_Customer D

Total Complexity 246
Dependencies 53
Dependents 1
Total lines 2,325
Lines of code 1,623
Logical lines of code 839
Comment lines 311
Methods 61
Properties 6

Methods 61

Method Rating Maintainability Complexity Lines of code
processPaymentIntentCharge()
B
29 16 145
processSubscription()
B
35 19 90
fullstripe_handle_checkout_session()
B
36 18 80
fullstripe_check_coupon()
B
33 14 102
handleIntent()
A
37 11 89
calculatePricing()
A
39 12 60
createOrRetrieveCustomer()
A
42 12 50
fullstripe_inline_payment_charge()
A
41 9 63
processSetupIntent()
A
39 8 68
fullstripe_checkout_payment_charge()
A
42 8 56
processDonationPaymentIntentCharge()
A
42 8 55
fullstripe_checkout_subscription_charge()
A
43 7 54
fullstripe_checkout_donation_charge()
A
43 7 52
fullstripe_inline_subscription_charge()
A
43 7 50
fullstripe_inline_donation_charge()
A
43 7 50
updateSubscriptionTransactionDataPricing()
S
47 4 36
createPaymentIntentForDonation()
S
49 4 31
hooks()
S
42 1 72
determineTaxCountry()
S
62 5 11
createOrRetrievePaymentIntentForDonation()
S
56 4 18
prepareTaxAddress()
S
61 4 13
createCustomerContext()
S
61 4 12
isTaxIdAddedToCustomer()
S
62 4 11
getInvoiceId()
S
70 4 6
getApplicableTaxRates()
S
60 3 14
get_Setup_Intent_Client_Secret()
S
57 2 18
retrieveInvoiceExpanded()
S
60 2 15
updateCustomerBillingAddress()
S
66 3 9
fireAfterInlineSubscriptionAction()
S
55 1 19
fireAfterInlineDonationAction()
S
56 1 17
fireAfterInlinePaymentAction()
S
56 1 17
createSubscriptionContext()
S
67 2 7
paymentIntentSucceeded()
S
75 2 4
setInvoiceDataFromPaymentIntent()
S
65 2 9
fireBeforeInlineSubscriptionAction()
S
58 1 15
generateReturnValueFromTransactionResult()
S
59 1 15
getTaxCountry()
S
68 2 8
getTaxState()
S
68 2 8
paymentIntentRequiresAction()
S
75 2 4
fireBeforeCheckoutSubscriptionAction()
S
59 1 14
fireBeforeInlinePaymentAction()
S
60 1 13
fireAfterInlineSaveCardAction()
S
60 1 13
fireBeforeCheckoutPaymentAction()
S
61 1 12
fireBeforeInlineDonationAction()
S
61 1 12
fireBeforeCheckoutDonationAction()
S
63 1 11
updatePaymentTransactionDataPricing()
S
66 1 8
updateCustomerShippingAddress()
S
75 1 4
createSubscription()
S
78 1 3
fireBeforeInlineSaveCardAction()
S
65 1 9
createOrRetrieveCustomerByFormModel()
S
72 1 5
generateReturnValueFromCheckoutSession()
S
69 1 7
updateCustomerTaxAddress()
S
80 1 3
createPaymentIntentResultActionRequired()
S
65 1 9
setup()
S
63 1 10
fireBeforeCheckoutSaveCardAction()
S
67 1 8
updatePaymentIntentWithMetadataAndWebhookUrl()
S
70 1 6
createPaymentIntentResultSuccess()
S
69 1 7
createPaymentIntentResultFailed()
S
71 1 6
addFormNameToPaymentIntent()
S
81 1 3
modelNeedsPaymentIntent()
S
80 1 3
__construct()
S
77 1 4