Answer the question
In order to leave comments, you need to log in
Bitrix\Sale\PaySystem\Service how to get extraParams from a private object?
How to get [extraParams":protected] from a private object?
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"]=>
Call to undefined method Bitrix\Sale\PaySystem\Service::getExtraParams() (0)
>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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question