Changeset 3195116
- Timestamp:
- 11/22/2024 05:16:55 PM (16 months ago)
- Location:
- btcpay-greenfield-for-woocommerce
- Files:
-
- 20 edited
- 1 copied
-
tags/2.7.1 (copied) (copied from btcpay-greenfield-for-woocommerce/trunk)
-
tags/2.7.1/btcpay-greenfield-for-woocommerce.php (modified) (2 diffs)
-
tags/2.7.1/languages/btcpay-greenfield-for-woocommerce.pot (modified) (2 diffs)
-
tags/2.7.1/readme.txt (modified) (2 diffs)
-
tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/examples/get_invoice.php (modified) (1 diff)
-
tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/Invoice.php (modified) (2 diffs)
-
tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/PullPayment.php (modified) (2 diffs)
-
tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/InvoicePaymentMethod.php (modified) (2 diffs)
-
tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/StorePaymentMethodCollection.php (modified) (1 diff)
-
tags/2.7.1/vendor/composer/installed.json (modified) (3 diffs)
-
tags/2.7.1/vendor/composer/installed.php (modified) (1 diff)
-
trunk/btcpay-greenfield-for-woocommerce.php (modified) (2 diffs)
-
trunk/languages/btcpay-greenfield-for-woocommerce.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/btcpayserver/btcpayserver-greenfield-php/examples/get_invoice.php (modified) (1 diff)
-
trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/Invoice.php (modified) (2 diffs)
-
trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/PullPayment.php (modified) (2 diffs)
-
trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/InvoicePaymentMethod.php (modified) (2 diffs)
-
trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/StorePaymentMethodCollection.php (modified) (1 diff)
-
trunk/vendor/composer/installed.json (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
btcpay-greenfield-for-woocommerce/tags/2.7.1/btcpay-greenfield-for-woocommerce.php
r3151490 r3195116 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2.7. 010 * Version: 2.7.1 11 11 * Requires PHP: 8.0 12 * Tested up to: 6. 612 * Tested up to: 6.7 13 13 * Requires at least: 6.2 14 14 * WC requires at least: 7.0 15 * WC tested up to: 9. 315 * WC tested up to: 9.4 16 16 */ 17 17 … … 27 27 defined( 'ABSPATH' ) || exit(); 28 28 29 define( 'BTCPAYSERVER_VERSION', '2.7. 0' );29 define( 'BTCPAYSERVER_VERSION', '2.7.1' ); 30 30 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 31 31 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); -
btcpay-greenfield-for-woocommerce/tags/2.7.1/languages/btcpay-greenfield-for-woocommerce.pot
r3151490 r3195116 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7. 0\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.1\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024- 09-13T17:17:15+00:00\n"12 "POT-Creation-Date: 2024-11-22T17:16:34+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" -
btcpay-greenfield-for-woocommerce/tags/2.7.1/readme.txt
r3151490 r3195116 6 6 Tested up to: 6.6 7 7 Requires PHP: 8.0 8 Stable tag: 2.7. 08 Stable tag: 2.7.1 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 115 115 116 116 117 = 2.7.0 = 118 * IMPORTANT: If you use the "Separate Payment gateways" feature, when you upgrade your BTCPay Server to version 2.0.0 or newer, you will need to reconfigure your payment gateways in WooCommerce. This is due to the new way of handling and naming payment methods in BTCPay Server. 119 * Feature: Add option to notify customers on refund order notes. 120 * Feature: BTCPay Server 2.0.0 compatibility. 121 * Fixes see changelog. 117 = 2.7.1 = 118 * Fix: Update PHP library to v2.8.1 to fix a compatibility issue with refunds on BTCPay 2.0 119 120 == Changelog == 121 = 2.7.1 :: 2024-11-22 = 122 * Fix: Update PHP library to v2.8.1 to fix a compatibility issue with refunds on BTCPay 2.0 122 123 123 124 == Changelog == -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/examples/get_invoice.php
r2674285 r3195116 23 23 echo "Error: " . $e->getMessage(); 24 24 } 25 26 // Get 2 invoices, skip 2 27 try { 28 echo 'Get invoices:' . PHP_EOL; 29 $client = new Invoice($host, $apiKey); 30 var_dump($client->getAllInvoices($storeId, 2, 2)); 31 } catch (\Throwable $e) { 32 echo "Error: " . $e->getMessage(); 33 } 34 35 // Get newer/equal than 2024-10-20 36 try { 37 echo 'Get invoices newer/equal than 2024-10-20:' . PHP_EOL; 38 $date = new DateTime('2024-10-20'); 39 $client = new Invoice($host, $apiKey); 40 var_dump($client->getAllInvoicesWithFilter($storeId, null, null, null, $date->getTimestamp())); 41 } catch (\Throwable $e) { 42 echo "Error: " . $e->getMessage(); 43 } -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/Invoice.php
r3151490 r3195116 117 117 } 118 118 119 public function getAllInvoices(string $storeId): InvoiceList 120 { 121 return $this->_getAllInvoicesWithFilter($storeId, null); 122 } 123 124 public function getInvoicesByOrderIds(string $storeId, array $orderIds): InvoiceList 125 { 126 return $this->_getAllInvoicesWithFilter($storeId, $orderIds); 127 } 128 129 private function _getAllInvoicesWithFilter( 130 string $storeId, 131 array $filterByOrderIds = null 119 public function getAllInvoices( 120 string $storeId, 121 int $take = null, 122 int $skip = null 123 ): InvoiceList { 124 return $this->getAllInvoicesWithFilter($storeId, null, null, null, null, null, $take, $skip); 125 } 126 127 public function getInvoicesByOrderIds( 128 string $storeId, 129 array $orderIds, 130 int $take = null, 131 int $skip = null 132 ): InvoiceList { 133 return $this->getAllInvoicesWithFilter($storeId, $orderIds, null, null, null, null, $take, $skip); 134 } 135 136 public function getInvoicesByText( 137 string $storeId, 138 string $text, 139 int $take = null, 140 int $skip = null 141 ): InvoiceList { 142 return $this->getAllInvoicesWithFilter($storeId, null, $text, null, null, null, $take, $skip); 143 } 144 145 public function getInvoicesByStatus( 146 string $storeId, 147 array $status, 148 int $take = null, 149 int $skip = null 150 ): InvoiceList { 151 return $this->getAllInvoicesWithFilter($storeId, null, null, $status, null, null, $take, $skip); 152 } 153 154 public function getInvoicesByStartDate( 155 string $storeId, 156 int $startDate, 157 int $take = null, 158 int $skip = null 159 ): InvoiceList { 160 return $this->getAllInvoicesWithFilter($storeId, null, null, null, $startDate, null, $take, $skip); 161 } 162 163 public function getInvoicesByEndDate( 164 string $storeId, 165 int $endDate, 166 int $take = null, 167 int $skip = null 168 ): InvoiceList { 169 return $this->getAllInvoicesWithFilter($storeId, null, null, null, null, $endDate, $take, $skip); 170 } 171 172 /** 173 * @see https://docs.btcpayserver.org/API/Greenfield/v1/#operation/Invoices_GetInvoices 174 */ 175 public function getAllInvoicesWithFilter( 176 string $storeId, 177 array $filterByOrderIds = null, 178 string $filterByText = null, 179 array $filterByStatus = null, 180 int $filterByStartDate = null, 181 int $filterByEndDate = null, 182 int $take = null, 183 int $skip = null 132 184 ): InvoiceList { 133 185 $url = $this->getApiUrl() . 'stores/' . urlencode($storeId) . '/invoices?'; … … 136 188 $url .= 'orderId=' . urlencode($filterByOrderId) . '&'; 137 189 } 190 } 191 if ($filterByText !== null) { 192 $url .= 'textSearch=' . urlencode($filterByText) . '&'; 193 } 194 if ($filterByStatus !== null) { 195 foreach ($filterByStatus as $filterByStatusItem) { 196 $url .= 'status=' . urlencode($filterByStatusItem) . '&'; 197 } 198 } 199 if ($filterByStartDate !== null) { 200 $url .= 'startDate=' . $filterByStartDate . '&'; 201 } 202 if ($filterByEndDate !== null) { 203 $url .= 'endDate=' . $filterByEndDate . '&'; 204 } 205 if ($take !== null) { 206 $url .= 'take=' . $take . '&'; 207 } 208 if ($skip !== null) { 209 $url .= 'skip=' . $skip . '&'; 138 210 } 139 211 -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/PullPayment.php
r3151490 r3195116 51 51 ?int $startsAt, 52 52 ?int $expiresAt, 53 array $paymentMethods,53 ?array $paymentMethods = null, 54 54 ?string $description = null 55 55 ): ResultPullPayment { … … 71 71 'startsAt' => $startsAt, 72 72 'expiresAt' => $expiresAt, 73 'paymentMethods' => $paymentMethods 73 'paymentMethods' => $paymentMethods, 74 'payoutMethods' => $paymentMethods 74 75 ], 75 76 JSON_THROW_ON_ERROR -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/InvoicePaymentMethod.php
r3151490 r3195116 74 74 { 75 75 $data = $this->getData(); 76 // BTCPay 2.0.0 compatibility: cryptoCode was renamed to currency.77 if (isset($data['currency'])) {78 return $data['currency'];79 }80 76 81 77 // For future compatibility check if cryptoCode exists. … … 88 84 } 89 85 } 86 87 /** 88 * New field as of BTCPay 2.0.0. 89 */ 90 public function getCurrency(): ?string 91 { 92 $data = $this->getData(); 93 return $data['currency'] ?? null; 94 } 90 95 } -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/StorePaymentMethodCollection.php
r3151490 r3195116 43 43 } 44 44 45 // BTCPay 2.0 compatibility: put the currency code in the cryptoCode field.45 // BTCPay 2.0 compatibility: put the extracted cryptoCode in the cryptoCode field. 46 46 if (isset($extractedCryptoCode)) { 47 47 $paymentMethodData['cryptoCode'] = $extractedCryptoCode; -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/composer/installed.json
r3151490 r3195116 3 3 { 4 4 "name": "btcpayserver/btcpayserver-greenfield-php", 5 "version": "v2. 7.0",6 "version_normalized": "2. 7.0.0",5 "version": "v2.8.1", 6 "version_normalized": "2.8.1.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/btcpayserver/btcpayserver-greenfield-php.git", 10 "reference": " 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992"10 "reference": "3118f9e4e04590f53b2560866238af463153b2cf" 11 11 }, 12 12 "dist": { 13 13 "type": "zip", 14 "url": "https://api.github.com/repos/btcpayserver/btcpayserver-greenfield-php/zipball/ 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992",15 "reference": " 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992",14 "url": "https://api.github.com/repos/btcpayserver/btcpayserver-greenfield-php/zipball/3118f9e4e04590f53b2560866238af463153b2cf", 15 "reference": "3118f9e4e04590f53b2560866238af463153b2cf", 16 16 "shasum": "" 17 17 }, … … 29 29 "vlucas/phpdotenv": "^5.5" 30 30 }, 31 "time": "2024- 09-13T14:54:13+00:00",31 "time": "2024-11-22T16:34:09+00:00", 32 32 "type": "library", 33 33 "installation-source": "dist", … … 54 54 "support": { 55 55 "issues": "https://github.com/btcpayserver/btcpayserver-greenfield-php/issues", 56 "source": "https://github.com/btcpayserver/btcpayserver-greenfield-php/tree/v2. 7.0"56 "source": "https://github.com/btcpayserver/btcpayserver-greenfield-php/tree/v2.8.1" 57 57 }, 58 58 "install-path": "../btcpayserver/btcpayserver-greenfield-php" -
btcpay-greenfield-for-woocommerce/tags/2.7.1/vendor/composer/installed.php
r3151490 r3195116 21 21 ), 22 22 'btcpayserver/btcpayserver-greenfield-php' => array( 23 'pretty_version' => 'v2. 7.0',24 'version' => '2. 7.0.0',25 'reference' => ' 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992',23 'pretty_version' => 'v2.8.1', 24 'version' => '2.8.1.0', 25 'reference' => '3118f9e4e04590f53b2560866238af463153b2cf', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../btcpayserver/btcpayserver-greenfield-php', -
btcpay-greenfield-for-woocommerce/trunk/btcpay-greenfield-for-woocommerce.php
r3151490 r3195116 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2.7. 010 * Version: 2.7.1 11 11 * Requires PHP: 8.0 12 * Tested up to: 6. 612 * Tested up to: 6.7 13 13 * Requires at least: 6.2 14 14 * WC requires at least: 7.0 15 * WC tested up to: 9. 315 * WC tested up to: 9.4 16 16 */ 17 17 … … 27 27 defined( 'ABSPATH' ) || exit(); 28 28 29 define( 'BTCPAYSERVER_VERSION', '2.7. 0' );29 define( 'BTCPAYSERVER_VERSION', '2.7.1' ); 30 30 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 31 31 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); -
btcpay-greenfield-for-woocommerce/trunk/languages/btcpay-greenfield-for-woocommerce.pot
r3151490 r3195116 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7. 0\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.7.1\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024- 09-13T17:17:15+00:00\n"12 "POT-Creation-Date: 2024-11-22T17:16:34+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" -
btcpay-greenfield-for-woocommerce/trunk/readme.txt
r3151490 r3195116 6 6 Tested up to: 6.6 7 7 Requires PHP: 8.0 8 Stable tag: 2.7. 08 Stable tag: 2.7.1 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 115 115 116 116 117 = 2.7.0 = 118 * IMPORTANT: If you use the "Separate Payment gateways" feature, when you upgrade your BTCPay Server to version 2.0.0 or newer, you will need to reconfigure your payment gateways in WooCommerce. This is due to the new way of handling and naming payment methods in BTCPay Server. 119 * Feature: Add option to notify customers on refund order notes. 120 * Feature: BTCPay Server 2.0.0 compatibility. 121 * Fixes see changelog. 117 = 2.7.1 = 118 * Fix: Update PHP library to v2.8.1 to fix a compatibility issue with refunds on BTCPay 2.0 119 120 == Changelog == 121 = 2.7.1 :: 2024-11-22 = 122 * Fix: Update PHP library to v2.8.1 to fix a compatibility issue with refunds on BTCPay 2.0 122 123 123 124 == Changelog == -
btcpay-greenfield-for-woocommerce/trunk/vendor/btcpayserver/btcpayserver-greenfield-php/examples/get_invoice.php
r2674285 r3195116 23 23 echo "Error: " . $e->getMessage(); 24 24 } 25 26 // Get 2 invoices, skip 2 27 try { 28 echo 'Get invoices:' . PHP_EOL; 29 $client = new Invoice($host, $apiKey); 30 var_dump($client->getAllInvoices($storeId, 2, 2)); 31 } catch (\Throwable $e) { 32 echo "Error: " . $e->getMessage(); 33 } 34 35 // Get newer/equal than 2024-10-20 36 try { 37 echo 'Get invoices newer/equal than 2024-10-20:' . PHP_EOL; 38 $date = new DateTime('2024-10-20'); 39 $client = new Invoice($host, $apiKey); 40 var_dump($client->getAllInvoicesWithFilter($storeId, null, null, null, $date->getTimestamp())); 41 } catch (\Throwable $e) { 42 echo "Error: " . $e->getMessage(); 43 } -
btcpay-greenfield-for-woocommerce/trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/Invoice.php
r3151490 r3195116 117 117 } 118 118 119 public function getAllInvoices(string $storeId): InvoiceList 120 { 121 return $this->_getAllInvoicesWithFilter($storeId, null); 122 } 123 124 public function getInvoicesByOrderIds(string $storeId, array $orderIds): InvoiceList 125 { 126 return $this->_getAllInvoicesWithFilter($storeId, $orderIds); 127 } 128 129 private function _getAllInvoicesWithFilter( 130 string $storeId, 131 array $filterByOrderIds = null 119 public function getAllInvoices( 120 string $storeId, 121 int $take = null, 122 int $skip = null 123 ): InvoiceList { 124 return $this->getAllInvoicesWithFilter($storeId, null, null, null, null, null, $take, $skip); 125 } 126 127 public function getInvoicesByOrderIds( 128 string $storeId, 129 array $orderIds, 130 int $take = null, 131 int $skip = null 132 ): InvoiceList { 133 return $this->getAllInvoicesWithFilter($storeId, $orderIds, null, null, null, null, $take, $skip); 134 } 135 136 public function getInvoicesByText( 137 string $storeId, 138 string $text, 139 int $take = null, 140 int $skip = null 141 ): InvoiceList { 142 return $this->getAllInvoicesWithFilter($storeId, null, $text, null, null, null, $take, $skip); 143 } 144 145 public function getInvoicesByStatus( 146 string $storeId, 147 array $status, 148 int $take = null, 149 int $skip = null 150 ): InvoiceList { 151 return $this->getAllInvoicesWithFilter($storeId, null, null, $status, null, null, $take, $skip); 152 } 153 154 public function getInvoicesByStartDate( 155 string $storeId, 156 int $startDate, 157 int $take = null, 158 int $skip = null 159 ): InvoiceList { 160 return $this->getAllInvoicesWithFilter($storeId, null, null, null, $startDate, null, $take, $skip); 161 } 162 163 public function getInvoicesByEndDate( 164 string $storeId, 165 int $endDate, 166 int $take = null, 167 int $skip = null 168 ): InvoiceList { 169 return $this->getAllInvoicesWithFilter($storeId, null, null, null, null, $endDate, $take, $skip); 170 } 171 172 /** 173 * @see https://docs.btcpayserver.org/API/Greenfield/v1/#operation/Invoices_GetInvoices 174 */ 175 public function getAllInvoicesWithFilter( 176 string $storeId, 177 array $filterByOrderIds = null, 178 string $filterByText = null, 179 array $filterByStatus = null, 180 int $filterByStartDate = null, 181 int $filterByEndDate = null, 182 int $take = null, 183 int $skip = null 132 184 ): InvoiceList { 133 185 $url = $this->getApiUrl() . 'stores/' . urlencode($storeId) . '/invoices?'; … … 136 188 $url .= 'orderId=' . urlencode($filterByOrderId) . '&'; 137 189 } 190 } 191 if ($filterByText !== null) { 192 $url .= 'textSearch=' . urlencode($filterByText) . '&'; 193 } 194 if ($filterByStatus !== null) { 195 foreach ($filterByStatus as $filterByStatusItem) { 196 $url .= 'status=' . urlencode($filterByStatusItem) . '&'; 197 } 198 } 199 if ($filterByStartDate !== null) { 200 $url .= 'startDate=' . $filterByStartDate . '&'; 201 } 202 if ($filterByEndDate !== null) { 203 $url .= 'endDate=' . $filterByEndDate . '&'; 204 } 205 if ($take !== null) { 206 $url .= 'take=' . $take . '&'; 207 } 208 if ($skip !== null) { 209 $url .= 'skip=' . $skip . '&'; 138 210 } 139 211 -
btcpay-greenfield-for-woocommerce/trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Client/PullPayment.php
r3151490 r3195116 51 51 ?int $startsAt, 52 52 ?int $expiresAt, 53 array $paymentMethods,53 ?array $paymentMethods = null, 54 54 ?string $description = null 55 55 ): ResultPullPayment { … … 71 71 'startsAt' => $startsAt, 72 72 'expiresAt' => $expiresAt, 73 'paymentMethods' => $paymentMethods 73 'paymentMethods' => $paymentMethods, 74 'payoutMethods' => $paymentMethods 74 75 ], 75 76 JSON_THROW_ON_ERROR -
btcpay-greenfield-for-woocommerce/trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/InvoicePaymentMethod.php
r3151490 r3195116 74 74 { 75 75 $data = $this->getData(); 76 // BTCPay 2.0.0 compatibility: cryptoCode was renamed to currency.77 if (isset($data['currency'])) {78 return $data['currency'];79 }80 76 81 77 // For future compatibility check if cryptoCode exists. … … 88 84 } 89 85 } 86 87 /** 88 * New field as of BTCPay 2.0.0. 89 */ 90 public function getCurrency(): ?string 91 { 92 $data = $this->getData(); 93 return $data['currency'] ?? null; 94 } 90 95 } -
btcpay-greenfield-for-woocommerce/trunk/vendor/btcpayserver/btcpayserver-greenfield-php/src/Result/StorePaymentMethodCollection.php
r3151490 r3195116 43 43 } 44 44 45 // BTCPay 2.0 compatibility: put the currency code in the cryptoCode field.45 // BTCPay 2.0 compatibility: put the extracted cryptoCode in the cryptoCode field. 46 46 if (isset($extractedCryptoCode)) { 47 47 $paymentMethodData['cryptoCode'] = $extractedCryptoCode; -
btcpay-greenfield-for-woocommerce/trunk/vendor/composer/installed.json
r3151490 r3195116 3 3 { 4 4 "name": "btcpayserver/btcpayserver-greenfield-php", 5 "version": "v2. 7.0",6 "version_normalized": "2. 7.0.0",5 "version": "v2.8.1", 6 "version_normalized": "2.8.1.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/btcpayserver/btcpayserver-greenfield-php.git", 10 "reference": " 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992"10 "reference": "3118f9e4e04590f53b2560866238af463153b2cf" 11 11 }, 12 12 "dist": { 13 13 "type": "zip", 14 "url": "https://api.github.com/repos/btcpayserver/btcpayserver-greenfield-php/zipball/ 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992",15 "reference": " 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992",14 "url": "https://api.github.com/repos/btcpayserver/btcpayserver-greenfield-php/zipball/3118f9e4e04590f53b2560866238af463153b2cf", 15 "reference": "3118f9e4e04590f53b2560866238af463153b2cf", 16 16 "shasum": "" 17 17 }, … … 29 29 "vlucas/phpdotenv": "^5.5" 30 30 }, 31 "time": "2024- 09-13T14:54:13+00:00",31 "time": "2024-11-22T16:34:09+00:00", 32 32 "type": "library", 33 33 "installation-source": "dist", … … 54 54 "support": { 55 55 "issues": "https://github.com/btcpayserver/btcpayserver-greenfield-php/issues", 56 "source": "https://github.com/btcpayserver/btcpayserver-greenfield-php/tree/v2. 7.0"56 "source": "https://github.com/btcpayserver/btcpayserver-greenfield-php/tree/v2.8.1" 57 57 }, 58 58 "install-path": "../btcpayserver/btcpayserver-greenfield-php" -
btcpay-greenfield-for-woocommerce/trunk/vendor/composer/installed.php
r3151490 r3195116 21 21 ), 22 22 'btcpayserver/btcpayserver-greenfield-php' => array( 23 'pretty_version' => 'v2. 7.0',24 'version' => '2. 7.0.0',25 'reference' => ' 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992',23 'pretty_version' => 'v2.8.1', 24 'version' => '2.8.1.0', 25 'reference' => '3118f9e4e04590f53b2560866238af463153b2cf', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../btcpayserver/btcpayserver-greenfield-php',
Note: See TracChangeset
for help on using the changeset viewer.