Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10143

Hardcoded String in PaymentGatewayServices#processCaptureResult

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • accounting
    • None

    Description

      // otherwise default to Company and print a big warning about this
      partyIdTo = "Company";
      Debug.logWarning("Using default value of [" + partyIdTo + "] for payTo on invoice [" + invoiceId + "] and orderPaymentPreference ["
      + paymentPreference.getString("orderPaymentPreferenceId") + "]", module);
      

      partyIdTo default value should be final String.

      Attachments

        1. OFBIZ-10143_processCaptureResult_String.patch
          4 kB
          Kyra Pritzel-Hentley
        2. OFBIZ-10143_processCaptureResult_String.patch
          2 kB
          Kyra Pritzel-Hentley

        Activity

          People

            deepak Deepak Dixit
            Kyra Pritzel-Hentley Kyra Pritzel-Hentley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: