Y
Y
YoYo72020-04-22 20:30:20
1C-Bitrix
YoYo7, 2020-04-22 20:30:20

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

2 answer(s)
Y
YoYo7, 2020-04-29
@YoYo7

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')),

Here you can add any other fields.
Maybe someone this crutch will be useful.

Y
Yaroslav Alexandrov, 2020-04-23
@alexyarik

Have you tried adding details in the exchange profile on the side of the site?
5ea141395870c819500538.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question