Documentation

sale.paysystem.pay.payment

sale.paysystem.pay.payment(
 payment_id,
 pay_system_id
)

Method for order payment using specific payment system (called after processing a response from payment system).

Parameters

Parameter Description Available from version
payment_id Payment ID.
pay_system_id Payment system ID.

Example

var paymentId = prompt("Enter payment ID");
var paySystemId = prompt("Enter payment system ID");

BX24.callMethod('sale.paysystem.pay.payment', {"payment_id": paymentId, "pay_system_id": paySystemId},
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
        {
            console.dir(result.data());
        }
    }
);


© «Bitrix24», 2001-2022
Up