@@ 1091-1100 (lines=10) @@ | ||
1088 | * @throws InvalidDataTypeException |
|
1089 | * @throws InvalidInterfaceException |
|
1090 | */ |
|
1091 | public function update_based_on_payments() |
|
1092 | { |
|
1093 | EE_Error::doing_it_wrong( |
|
1094 | __CLASS__ . '::' . __FUNCTION__, |
|
1095 | sprintf( |
|
1096 | __('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
1097 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()' |
|
1098 | ), |
|
1099 | '4.6.0' |
|
1100 | ); |
|
1101 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
1102 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
1103 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment($this); |
@@ 271-280 (lines=10) @@ | ||
268 | * @return boolean |
|
269 | * @throws \EE_Error |
|
270 | */ |
|
271 | public function update_based_on_payments($transaction_obj_or_id, $save_txn = true) |
|
272 | { |
|
273 | EE_Error::doing_it_wrong( |
|
274 | __CLASS__ . '::' . __FUNCTION__, |
|
275 | sprintf(__('This method is deprecated. Please use "%s" instead', 'event_espresso'), |
|
276 | 'EE_Transaction_Processor::update_transaction_and_registrations_after_checkout_or_payment()'), |
|
277 | '4.6.0' |
|
278 | ); |
|
279 | /** @type EE_Transaction_Processor $transaction_processor */ |
|
280 | $transaction_processor = EE_Registry::instance()->load_class('Transaction_Processor'); |
|
281 | ||
282 | return $transaction_processor->update_transaction_and_registrations_after_checkout_or_payment( |
|
283 | $this->ensure_is_obj($transaction_obj_or_id) |