Как получить из приватного объекта [extraParams":protected]?
object(Bitrix\Sale\PaySystem\Service)#696 (3) {
["handler":"Bitrix\Sale\PaySystem\Service":private]=>
object(Sale\Handlers\PaySystem\sberbank_ecom2Handler)#461 (5) {
["handlerType":protected]=>
string(6) "CUSTOM"
["service":protected]=>
*RECURSION*
["extraParams":protected]=>
array(3) {
["sberbank_result"]=>
array(16) {
["errorCode"]=>
string(1) "0"
["errorMessage"]=>
string(14) "Успешно"
["orderNumber"]=>
string(6) "1128_3"
["orderStatus"]=>
int(0)
["actionCode"]=>
int(-100)
["actionCodeDescription"]=>
string(0) ""
["amount"]=>
int(164710)
["currency"]=>
string(3) "643"
["date"]=>
float(1575010526340)
["orderDescription"]=>
string(0) ""
["merchantOrderParams"]=>
Из документации D7 BaseServiceHandler метод getExtraParams()
https://budagov.ru/dev/doc/class_bitrix_1_1_sale_1...
нет метода ((
Call to undefined method Bitrix\Sale\PaySystem\Service::getExtraParams() (0)
а этот есть getParamsBusValue(Payment $payment = null)
>array(15) {
["SBERBANK_GATE_LOGIN"]=>
string(23) "test-api"
["SBERBANK_GATE_PASSWORD"]=>
string(19) "test"
["SBERBANK_GATE_TEST_MODE"]=>
string(1) "Y"
["SBERBANK_HANDLER_AUTO_REDIRECT"]=>
string(1) "Y"
["SBERBANK_HANDLER_LOGGING"]=>
string(1) "Y"
["SBERBANK_HANDLER_TWO_STAGE"]=>
string(1) "N"
["SBERBANK_HANDLER_SHIPMENT"]=>
string(1) "N"
["SBERBANK_FFD_VERSION"]=>
string(4) "1.05"
["SBERBANK_FFD_PAYMENT_METHOD"]=>
string(1) "4"
["SBERBANK_FFD_PAYMENT_OBJECT"]=>
string(1) "1"
["SBERBANK_OFD_RECIEPT"]=>
string(1) "Y"
["SBERBANK_OFD_TAX_SYSTEM"]=>
NULL
["SBERBANK_ORDER_NUMBER"]=>
string(4) "1128"
["SBERBANK_ORDER_AMOUNT"]=>
float(1647.1)
["SBERBANK_ORDER_DESCRIPTION"]=>
NULL