Documentation

Update

int
CSalePaySystemAction::Update(
 int ID,
 array arFields
);

The method Update replaces parameters of the specified handler with the new ones.

Parameters

ParameterDescription
ID The pay system handler ID.
arFields Associated array containing new parameters of the pay system handler whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • PAY_SYSTEM_ID - the pay system ID;
  • PERSON_TYPE_ID - the payer type ID;
  • NAME - handler name (default);
  • ACTION_FILE - name of the file containing the pay system script;
  • RESULT_FILE - name of the file containing a script used to retrieve the pay system result;
  • NEW_WINDOW - specifies whether a new window should be opened for this pay system (Y/N).

Returned values

Returns the ID of updated handler or false otherwise.

© «Bitrix24», 2001-2024
Up