N
N
nikegk2017-08-05 14:24:59
1C-Bitrix
nikegk, 2017-08-05 14:24:59

How to select the created custom field when generating an invoice for payment?

Good afternoon.
Faced such a problem: I created an additional field in the "User fields" section for the USER object. In it I store the TIN of the payer's company. Now I want this TIN from this field to be substituted in the invoice for payment. I create a payment system "Account (bill)". In the "PS handler settings" section, opposite the "TIN of the customer company", I select "user", but the drop-down list contains only fields that are created by default in Bitrix for users.
Can you please tell me how to pick up my field?
5c21c25d455a464980be3c02a1901483.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nikegk, 2017-08-28
@nikegk

Did it in a roundabout way.
Created the TIN order property. Hung a handler on the OnSaleComponentOrderOneStepComplete event .
In this handler, I substitute the data from the custom field into the order property.
And in the account settings I select the TIN order property.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question