💰ІБ - оплата

calc %summa=%summa*100

%push_refer=1

%json={
"amount": %summa,
"ccy": 980,
"merchantPaymInfo": {
"reference": "оплата",
"destination": "%sys.timestamp",
"validity": 900},
"redirectUrl": "https://t.me/%sys.bot",
"paymentType": "debit",
"webHookUrl": "https://api.pipe.bot/bot?apikey=b879476de42b0a9a9ed36bf6a73fc44c&id=%sys.uid"
}

%invoiceId=null

%pageUrl=null

%response=null

$SYS.POST

%pageUrl=$.pageUrl %response

%invoiceId=$.invoiceId %response

%mono_pay_start=1

?pageUrl

%cardTitle=%tarif

%cardSubtitle=%productPrice грн.

%payLink=%pageUrl

$SYS.CARDS

ANSWER

BUTTONS

BUTTON

bypass=0

title=%cardTitle

image=%cardImage

subtitle=%cardSubtitle

%text=Выбирайте, что вас интересует 👇

...Я не cмог создать платеж ⚠️

...%response

QUESTION

%json

ANSWER

%response

X-Token: mHmFLBWbx8IA8aUcFhQXorg

BUTTON

title=✅ Оплатить

url=%payLink

type=postback

title=❌ Отмена

type=web_url

Одну минуту - формируем платеж...

%typeOplata=%tarif

%cardTitle=Ретрит Ирины Блонской

%currency=UAH

%cardSubtitle=%tarif - %productPrice грн

%wfp.orderReference=ticket_%sys.timestamp

%wfp.merchantDomainName=https://ishkala.com/

%wfp.buttonCancelTitle=❌ Отменить

map 📃IB - WFP INVOICE

%wfp.cardTitle=%cardTitle

%wfp.productName=%productName

%wfp.language=ua

%wfp.productPrice=%productPrice

%wfp.cardImage=%cardImage

%wfp.secretKey=%bot.wfpsecretkey

%wfp.buttonPayTitle=✅ Оплатить

%wfp.merchantAccount=%bot.wfpmerchantaccount

%wfp.currency=%currency

%wfp.cardSubtitle=%cardSubtitle

%productName=Ретрит Ирины Блонской

%payment=null