From: Coleman Watts Date: Tue, 19 Jan 2016 19:34:10 +0000 (-0500) Subject: CRM-17429 - Disable google checkout payment processors X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4603fb3806be40bb9f822dc423660f9c546d5d03;p=civicrm-core.git CRM-17429 - Disable google checkout payment processors --- 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';