Answer the question
In order to leave comments, you need to log in
How to transfer payment status from Bitrix to 1C?
There is an acquiring from Sberbank, after payment, the "Payment system status" table is formed in the payment document:
Status: Y
Status code: 2
Status description: 521324XXXXXX____;CARDHOLDER NAME
Currency: 643
Payment system message: DEPOSITED
Amount: 6515.7800
Date: 04/20/2020 14: 38:26
How to make this data transferred to 1C when uploading a payment? You need a card number, because this information is required to conduct an acquiring operation in 1C.
Answer the question
In order to leave comments, you need to log in
I don't know how to do this properly, can someone tell me? )
But if you get into the code, then to transfer the status, it is enough to add a business sense:
/bitrix/modules/sale/lib/businessvalue.php
Add after line 857 (public static function getProviders() -> 'PAYMENT' => array -> 'FIELDS' => array)
'PS_STATUS_DESCRIPTION' => array('NAME' => Loc::getMessage('BIZVAL_CODE_PAYMENT_PS_STATUS_DESCRIPTION')),
Have you tried adding details in the exchange profile on the side of the site?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question