Commit Graph

103 Commits

Author SHA1 Message Date
ndeet
4d161f87f1
Merge pull request #28 from ndeet/fix247
Fix getConfigWithoutCache() causing infinite re-generation of webhook secret
2025-03-21 21:34:56 +01:00
ndeet
edaad8e67c Fix instantiation of config collection, would return always null and cause infinite re-generation of webhook secret. 2025-03-20 21:58:10 +01:00
cryptoteun
aeaff44264 Changed order status once btc payment is settled to processing instead of completed. 2025-02-28 14:04:17 +01:00
ndeet
fdeefa67a5 Mark overpaid orders still as settled otherwise it stays in default status. 2023-08-23 13:46:34 +02:00
Wouter Samaey
86b24c0a0e
Merge pull request #17 from ndeet/btcpay-store-selection
Make sure the user needs to select store.
2023-06-22 11:35:48 +02:00
ndeet
0e5f73f26d Fix empty BTCPay URL detection. 2023-06-22 11:30:52 +02:00
ndeet
4c340ee466 Make sure the user needs to select store. 2023-06-22 11:24:21 +02:00
ndeet
3e09dad128 Fix bug creating new webhook on each order; fix other btcpay library changes. 2023-06-14 19:31:39 +02:00
Wouter Samaey
2356aa3750 Fixed bug in URL, missing slash 2023-05-11 09:52:29 +02:00
Wouter Samaey
8f6c275f15 Fixed another type issue 2023-04-04 13:26:51 +02:00
Wouter Samaey
4964db0276 Fixed type error 2023-04-04 10:55:30 +02:00
Wouter Samaey
615fd2c594 Compat with Greenfield PHP lib 2.0 2023-03-09 09:51:29 +01:00
Judith
6bef4f4c5e remove slash from btcpayServer and add one 2022-02-28 13:54:31 +01:00
Daniel Krahofer
fd06d6c905
Update BTCPayService.php
remove comments because code is self explanatory now
2021-12-13 11:20:33 +01:00
Daniel Krahofer
36004b47b8
Update BTCPayService.php 2021-12-13 11:16:36 +01:00
Daniel Krahofer
bf9250ae95
Update BTCPayService.php
as mentioned in issue #5
2021-12-13 10:41:18 +01:00
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