MM_WPFS_Customer D

Total Complexity 311
Dependencies 54
Dependents 1
Total lines 2,672
Lines of code 1,956
Logical lines of code 1,041
Comment lines 366
Methods 66
Properties 6

Methods 66

Method Rating Maintainability Complexity Lines of code
processPaymentIntentCharge()
D
25
28 173
processSubscription()
C
34 22 95
fullstripe_handle_checkout_session()
B
36 18 80
fullstripe_check_coupon()
B
32 15 107
fullstripe_confirm_redirect()
B
34 13 96
createOrRetrieveCustomerByFormModel()
A
38 14 72
reCalculatePricing()
A
39 13 61
handleIntent()
A
37 11 89
get_Setup_Intent_Client_Secret()
A
39 10 71
fullstripe_inline_payment_charge()
A
41 9 63
processDonationPaymentIntentCharge()
A
41 9 58
processSetupIntent()
A
39 8 68
fullstripe_save_draft_transaction()
A
42 8 58
fullstripe_checkout_payment_charge()
A
42 8 56
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
createPaymentIntentForDonation()
S
46 6 38
updatePaymentIntentAmount()
S
58 6 15
updateSubscriptionTransactionDataPricing()
S
47 4 36
determineTaxCountry()
S
62 5 11
saveDraftTransaction()
S
51 4 26
createOrRetrievePaymentIntentForDonation()
S
56 4 18
hooks()
S
43 1 60
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
retrieveInvoiceExpanded()
S
60 2 15
updateCustomerBillingAddress()
S
66 3 9
calculatePricing()
S
60 2 14
updatePaymentIntent()
S
60 2 13
fireAfterInlineSubscriptionAction()
S
54 1 20
fireAfterInlinePaymentAction()
S
56 1 18
fireAfterInlineDonationAction()
S
56 1 18
setInvoiceDataFromPaymentIntent()
S
65 2 9
getTaxCountry()
S
68 2 8
getTaxState()
S
68 2 8
updatePaymentIntentWithMetadataAndWebhookUrl()
S
68 2 6
paymentIntentSucceeded()
S
75 2 4
generateReturnValueFromTransactionResult()
S
59 1 15
paymentIntentRequiresAction()
S
75 2 4
fireBeforeInlineSubscriptionAction()
S
58 1 15
createSubscriptionContext()
S
67 2 7
fireAfterInlineSaveCardAction()
S
59 1 14
fireBeforeCheckoutSubscriptionAction()
S
59 1 14
fireBeforeInlinePaymentAction()
S
60 1 13
fireBeforeCheckoutPaymentAction()
S
61 1 12
fireBeforeInlineDonationAction()
S
61 1 12
fireBeforeCheckoutDonationAction()
S
63 1 11
updatePaymentTransactionDataPricing()
S
66 1 8
createPaymentIntentResultActionRequired()
S
65 1 9
createSubscription()
S
78 1 3
fireBeforeInlineSaveCardAction()
S
65 1 9
updateCustomerTaxAddress()
S
80 1 3
updateCustomerShippingAddress()
S
75 1 4
addFormNameToPaymentIntent()
S
81 1 3
createPaymentIntentResultSuccess()
S
69 1 7
createPaymentIntentResultFailed()
S
71 1 6
fireBeforeCheckoutSaveCardAction()
S
67 1 8
modelNeedsPaymentIntent()
S
80 1 3
generateReturnValueFromCheckoutSession()
S
69 1 7
setup()
S
63 1 10
__construct()
S
77 1 4