Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var widget = new cp.CloudPayments();
- widget.charge({ // options
- publicId: '',
- description: 'Оплата',
- amount: '', //сумма**
- currency: 'KZT',
- invoiceId: '', //номер заказа
- accountId: '', //плательщик
- },
- function (options) { // success
- //действие при успешном платеже
- },
- function (reason, options) { // fail
- //действие при неуспешном платеже
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement