CRM-17429 - Disable google checkout payment processors
authorColeman Watts <coleman@civicrm.org>
Tue, 19 Jan 2016 19:34:10 +0000 (14:34 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 19 Jan 2016 19:46:55 +0000 (14:46 -0500)
CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl

index 2a9397cc1a1ded6f4ce95e3d0bab1a1b1f919e38..9f51e0679a0bd66cca217c311ac4aad8dc57adcf 100644 (file)
@@ -2,3 +2,7 @@
 
 -- CRM-17552
 UPDATE civicrm_membership_block cmb JOIN civicrm_price_set_entity cpse ON cmb.entity_table = cpse.entity_table AND cmb.entity_id = cpse.entity_id JOIN civicrm_price_set cps ON cpse.price_set_id = cps.id SET cmb.is_required = 1 WHERE cmb.entity_table = 'civicrm_contribution_page' AND cps.is_quick_config = 0;
+
+-- CRM-17429 - Old contributions may be using this payment processor type, so we'll disable rather than delete it for existing installs:
+UPDATE civicrm_payment_processor_type SET is_active = 0 WHERE name = 'Google_Checkout';
+UPDATE civicrm_payment_processor pp, civicrm_payment_processor_type ppt SET pp.is_active = 0 WHERE pp.payment_processor_type_id = ppt.id AND ppt.name = 'Google_Checkout';