Documentation

sale.paysystem.update

sale.paysystem.update(
   id,
   fiedls
)

This method edits payment system.

Parameters

Method Description Available from version
id Payment system ID
fiedls Set of fields (array type array("field":"value"[, ...])), containing values, describing payment system. Available fields:
  • NAME - name of system
  • PERSON_TYPE_ID - Payer type ID
  • BX_REST_HANDLER - Handler code in the system
  • ACTIVE - Payment system activity flag

Example

var id = prompt("Enter ID");
var name = prompt("Enter name");

BX24.callMethod('sale.paysystem.handler.update', {"id": id, "fields": {NAME : name}},
	function(result)
	{
		if(result.error())
			console.error(result.error());
		else
		{
			console.info("Payment system is updated");
		}
	}
);


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019