Documentation

NextPayment

bool
CSaleRecurring::NextPayment(
	int ID
);

Method performs renewal for subscription ID. Non-static method.

Note: this method uses an internal transaction. If you use MySQL and InnoDB and have a previous open transaction, you need to close is until method is connected.

Call parameters

ParameterDescription
ID Entry ID with renewal details.

Returned values

Method returns true on successful renewal or false in case of error.



© «Bitrix24», 2001-2024
Up