Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20591

Disabling a payment processor via UI (other than Payment_PayPalImpl) will break live mode

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.20
    • Fix Version/s: 4.7.20
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Confirmed both on client site and local dev instance.

      Steps to reproduce:

      • Configure a payment processor (any which is NOT Payment_PayPalImpl)
      • Inspect values in the civicrm_payment_processor table, confirm that the "live" instance is NOT class_name=Payment_PayPalImpl
      • At civicrm/admin/paymentProcessor?reset=1 click "Disable"
      • Click through confirm screen
      • Inspect values again in civicrm_payment_processor; live processor will have had its class_name change to Payment_PayPalImpl rather than the correct class for that processor
      • Re-enabling the processor will leave the live version now in a broken state

      Other values in that DB table seem to be similarly affected (eg billing_mode will be set to 4).

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: