Skip to content

Commit 84d1c12

Browse files
Revert "Add variables to the billing-block so they are updated when switching processors"
This reverts commit b9d5719.
1 parent 8a75cb0 commit 84d1c12

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CRM/Core/Payment/OmnipayMultiProcessor.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,7 @@ public function buildForm(&$form) {
357357
$jsVariables[$clientSideKey] = $this->_paymentProcessor[$key];
358358
}
359359
}
360-
361-
\Civi::resources()->addVars('omnipay', $jsVariables, 'billing-block');
360+
CRM_Core_Resources::singleton()->addVars('omnipay', $jsVariables);
362361
if (is_array($regions)) {
363362
foreach ($regions as $region => $additions) {
364363
foreach ($additions as $addition) {

0 commit comments

Comments
 (0)