From 4603fb3806be40bb9f822dc423660f9c546d5d03 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 19 Jan 2016 14:34:10 -0500 Subject: [PATCH] CRM-17429 - Disable google checkout payment processors --- CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl index 2a9397cc1a..9f51e0679a 100644 --- a/CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.7.beta8.mysql.tpl @@ -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'; -- 2.25.1