Skip to content

Commit f5db6a8

Browse files
committed
MAGETWO-71966: [2.2.x] Braintree online refund not working for two websites using individual Braintree accounts
- Updated controller URL
1 parent e6f9d80 commit f5db6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Braintree/Block/Payment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getPaymentConfig()
4949
$config = $payment[$this->getCode()];
5050
$config['code'] = $this->getCode();
5151
$config['clientTokenUrl'] = $this->_urlBuilder->getUrl(
52-
ConfigProvider::CODE . '/payment/getClientToken',
52+
'braintree/payment/getClientToken',
5353
['_secure' => true]
5454
);
5555
return json_encode($config, JSON_UNESCAPED_SLASHES);

0 commit comments

Comments
 (0)