Bitrix API

PaymentAvailablesPaySystems

A service for working with linking specific pay systems to payments.

Binding allows you to limit the client to the selected list of pay systems that he can use for payment.

Table of Contents

Methods

clearBindings()  : Result
Clearing bindings
getAvailablePaySystemIdsByPaymentId()  : array<string|int, int>
Pay systems available for payment
setBindings()  : Result
Set available pay systems for payment.

Methods

clearBindings()

Clearing bindings

public static clearBindings(int $paymentId) : Result
Parameters
$paymentId : int
Return values
Result

getAvailablePaySystemIdsByPaymentId()

Pay systems available for payment

public static getAvailablePaySystemIdsByPaymentId(int $paymentId) : array<string|int, int>
Parameters
$paymentId : int
Return values
array<string|int, int>

pay system ids

setBindings()

Set available pay systems for payment.

public static setBindings(int $paymentId, array<string|int, int> $paySystemIds) : Result

Bindings added to this payment earlier will be deleted.

Parameters
$paymentId : int
$paySystemIds : array<string|int, int>

if the array is empty, the bindings will be cleared

Return values
Result

        
On this page

Search results