Commit Graph

87 Commits

Author SHA1 Message Date
Judith
384f17faee removed/fixed TODO's 2021-09-23 13:58:29 +02:00
Judith
f1d7201e27 Mark BTCPay Invoice as 'Settled' or 'Invalid' from Magento admin 2021-09-23 12:36:46 +02:00
Judith
a3e7b4e38e surround by try catch 2021-09-23 12:35:11 +02:00
Judith
6942597d35 autocancel on expiry 2021-09-23 12:34:44 +02:00
Judith
fb49c80cd9 added function to get store payment methods 2021-09-23 12:34:25 +02:00
Judith
e2e4e31973 1 API key for all magento stores (default scope) 2021-09-22 12:12:59 +02:00
Judith
a10e075114 added magento_store_id ot btcpay_invoices 2021-09-22 10:05:09 +02:00
Judith
9de4dad8c0 removed TODO 2021-09-21 13:50:54 +02:00
Judith
6a79532047 updated UpdateInvoice 2021-09-21 13:50:35 +02:00
Judith
eac7495253 renamed function 2021-09-21 12:54:28 +02:00
Judith
b0a7bcaab5 getBaseUrl in stead of host, scheme and port 2021-09-21 12:52:18 +02:00
Judith
596b5cf338 renamed function 2021-09-21 12:15:59 +02:00
Judith
4149cec380 selectiveStores is false 2021-09-21 12:11:09 +02:00
Judith
0fa2e2f26e selectiveStores false for now 2021-09-21 11:58:39 +02:00
Judith
b7c4bfd0d5 handle incoming webhooks 2021-09-17 14:42:13 +02:00
Judith
9c1f350314 updated statuses 2021-09-15 15:22:49 +02:00
Judith
b67ff46b4a removed statuses here 2021-09-15 15:22:28 +02:00
Judith
23df5ee736 updateInvoices according to status WIP 2021-09-15 15:21:31 +02:00
Judith
d7228998ba added order status for pending payment 2021-09-15 10:06:54 +02:00
Judith
5caf4b1860 add new BTC statuses to states 2021-09-14 16:29:15 +02:00
Judith
b653b5d7a6 check orderId & formatted 2021-09-14 16:28:20 +02:00
Judith
525824f55d use PreciseNumber 2021-09-14 16:27:38 +02:00
Judith
0615abaeff cast to int 2021-09-14 16:27:21 +02:00
Judith
185594803a switched param places 2021-09-14 16:27:05 +02:00
Judith
c753edc1ae added status 'processing' 2021-09-14 16:26:10 +02:00
Judith
8a2ae58479 save invoice in db after created in btcPay 2021-09-14 16:24:19 +02:00
Judith
d7c64ad547 when there are no BTC stores left 2021-09-14 10:03:45 +02:00
Judith
714fa34aef added function getInvoicesByOrderIds 2021-09-13 15:56:02 +02:00
Judith
ded3725236 use client to get Invoice 2021-09-13 13:17:44 +02:00
Judith
61dc39686a use client an used required instances 2021-09-10 16:22:52 +02:00
Judith
c89f08aaaf getAllBtcStores with client and getAllBtcStoresAssociative 2021-09-10 14:28:24 +02:00
Judith
9ae089fd6d format 2021-09-10 12:40:38 +02:00
Judith
b88e165bdb getAllBtcPayStores && checkBtcPayStores 2021-09-10 11:10:01 +02:00
Judith
6ae5a601b8 Model for BTCPay Store select 2021-09-10 11:08:56 +02:00
Judith
c2aff7a090 modified createWebhook, added deleteWebhook 2021-09-09 16:03:28 +02:00
Judith
849e367ac2 renamed functions, remove unused function 2021-09-09 11:47:06 +02:00
Judith
c2793556c3 WIP Webhooks 2021-09-09 11:24:02 +02:00
Judith
fed010b104 create webhook 2021-09-09 10:03:05 +02:00
Judith
71717fc54b get non cached config settings for secret and apiKey 2021-09-07 17:14:45 +02:00
Judith
24b9322d6d added function to get config without cache 2021-09-07 17:14:18 +02:00
Judith
cf35fe0cfc add current magentoStoreId to redirectUrl 2021-09-07 17:13:48 +02:00
Judith
7ae88b6c79 injected requestInterface 2021-09-07 17:13:10 +02:00
Judith
9cd67cd452 get selected store view 2021-09-07 17:12:04 +02:00
Judith
1ddce3a03e get, create, hash webhook secret 2021-09-07 14:35:50 +02:00
Judith
86ba2e1ecc added extra safety 2021-09-07 14:34:59 +02:00
Judith
33cd96ebbb get base url for store 2021-09-07 10:46:21 +02:00
Judith
76fc32d6b3 getReceiveApikeyUrl, use BTCPay Client 2021-09-06 17:20:27 +02:00
Judith
ca106f82de using existing service 2021-09-06 16:40:28 +02:00
Judith
a3f297b74a check if stores !== null 2021-09-03 16:54:55 +02:00
Judith
cabf76a343 added button to get API key 2021-09-03 16:54:34 +02:00