Changeset 3010485
- Timestamp:
- 12/15/2023 10:51:01 AM (2 years ago)
- Location:
- btcpay-greenfield-for-woocommerce
- Files:
-
- 34 added
- 6 deleted
- 12 edited
- 1 copied
-
tags/2.4.0 (copied) (copied from btcpay-greenfield-for-woocommerce/trunk)
-
tags/2.4.0/assets/js/apiKeyRedirect.js (deleted)
-
tags/2.4.0/assets/js/backend (added)
-
tags/2.4.0/assets/js/backend/apiKeyRedirect.js (added)
-
tags/2.4.0/assets/js/backend/gatewayIconMedia.js (added)
-
tags/2.4.0/assets/js/frontend (added)
-
tags/2.4.0/assets/js/frontend/blocks.asset.php (added)
-
tags/2.4.0/assets/js/frontend/blocks.js (added)
-
tags/2.4.0/assets/js/frontend/modalCheckout.js (added)
-
tags/2.4.0/assets/js/gatewayIconMedia.js (deleted)
-
tags/2.4.0/assets/js/modalCheckout.js (deleted)
-
tags/2.4.0/btcpay-greenfield-for-woocommerce.php (modified) (5 diffs)
-
tags/2.4.0/languages/btcpay-greenfield-for-woocommerce.pot (modified) (6 diffs)
-
tags/2.4.0/readme.txt (modified) (3 diffs)
-
tags/2.4.0/resources (added)
-
tags/2.4.0/resources/js (added)
-
tags/2.4.0/resources/js/backend (added)
-
tags/2.4.0/resources/js/backend/apiKeyRedirect.js (added)
-
tags/2.4.0/resources/js/backend/gatewayIconMedia.js (added)
-
tags/2.4.0/resources/js/frontend (added)
-
tags/2.4.0/resources/js/frontend/index.js (added)
-
tags/2.4.0/resources/js/frontend/modalCheckout.js (added)
-
tags/2.4.0/src/Admin/GlobalSettings.php (modified) (1 diff)
-
tags/2.4.0/src/Blocks (added)
-
tags/2.4.0/src/Blocks/DefaultGatewayBlocks.php (added)
-
tags/2.4.0/src/Gateway/AbstractGateway.php (modified) (5 diffs)
-
tags/2.4.0/src/Gateway/DefaultGateway.php (modified) (2 diffs)
-
trunk/assets/js/apiKeyRedirect.js (deleted)
-
trunk/assets/js/backend (added)
-
trunk/assets/js/backend/apiKeyRedirect.js (added)
-
trunk/assets/js/backend/gatewayIconMedia.js (added)
-
trunk/assets/js/frontend (added)
-
trunk/assets/js/frontend/blocks.asset.php (added)
-
trunk/assets/js/frontend/blocks.js (added)
-
trunk/assets/js/frontend/modalCheckout.js (added)
-
trunk/assets/js/gatewayIconMedia.js (deleted)
-
trunk/assets/js/modalCheckout.js (deleted)
-
trunk/btcpay-greenfield-for-woocommerce.php (modified) (5 diffs)
-
trunk/languages/btcpay-greenfield-for-woocommerce.pot (modified) (6 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/resources (added)
-
trunk/resources/js (added)
-
trunk/resources/js/backend (added)
-
trunk/resources/js/backend/apiKeyRedirect.js (added)
-
trunk/resources/js/backend/gatewayIconMedia.js (added)
-
trunk/resources/js/frontend (added)
-
trunk/resources/js/frontend/index.js (added)
-
trunk/resources/js/frontend/modalCheckout.js (added)
-
trunk/src/Admin/GlobalSettings.php (modified) (1 diff)
-
trunk/src/Blocks (added)
-
trunk/src/Blocks/DefaultGatewayBlocks.php (added)
-
trunk/src/Gateway/AbstractGateway.php (modified) (5 diffs)
-
trunk/src/Gateway/DefaultGateway.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
btcpay-greenfield-for-woocommerce/tags/2.4.0/btcpay-greenfield-for-woocommerce.php
r2981570 r3010485 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2. 3.010 * Version: 2.4.0 11 11 * Requires PHP: 7.4 12 * Tested up to: 6. 312 * Tested up to: 6.4 13 13 * Requires at least: 5.2 14 14 * WC requires at least: 6.0 15 * WC tested up to: 8. 015 * WC tested up to: 8.4 16 16 */ 17 17 … … 27 27 defined( 'ABSPATH' ) || exit(); 28 28 29 define( 'BTCPAYSERVER_VERSION', '2. 3.1' );29 define( 'BTCPAYSERVER_VERSION', '2.4.0' ); 30 30 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 31 31 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); … … 272 272 273 273 /** 274 * Register WooCommerce Blocks support. 275 */ 276 public static function blocksSupport() { 277 if ( class_exists( '\Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType' ) ) { 278 add_action( 279 'woocommerce_blocks_payment_method_type_registration', 280 function( \Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 281 $payment_method_registry->register(new \BTCPayServer\WC\Blocks\DefaultGatewayBlocks()); 282 } 283 ); 284 } 285 } 286 287 /** 274 288 * Gets the main plugin loader instance. 275 289 * … … 304 318 update_option('btcpaygf_permalinks_flushed', 1); 305 319 } 306 307 320 }); 308 321 … … 427 440 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 428 441 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 442 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, true ); 429 443 } 430 444 } ); 445 446 // Register WooCommerce Blocks integration. 447 add_action( 'woocommerce_blocks_loaded', [ 'BTCPayServerWCPlugin', 'blocksSupport' ] ); -
btcpay-greenfield-for-woocommerce/tags/2.4.0/languages/btcpay-greenfield-for-woocommerce.pot
r2679022 r3010485 1 # Copyright (C) 202 2BTCPay Server1 # Copyright (C) 2023 BTCPay Server 2 2 # This file is distributed under the same license as the BTCPay For Woocommerce V2 plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 0.1.10\n"6 "Report-Msgid-Bugs-To: https://wo rdpress.org/support/plugin/btcpay-greenfield-for-woocommerce\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.4.0\n" 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <LL@li.org>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 2-02-15T11:29:35+00:00\n"12 "POT-Creation-Date: 2023-12-15T10:50:37+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.6.0\n" 14 "X-Generator: WP-CLI 2.9.0\n" 15 "language-team: LANGUAGE <EMAIL@ADDRESS>\n" 15 16 "X-Domain: btcpay-greenfield-for-woocommerce\n" 16 17 … … 35 36 msgstr "" 36 37 37 #: btcpay-greenfield-for-woocommerce.php: 9538 #: btcpay-greenfield-for-woocommerce.php:121 38 39 msgid "Plugin not configured yet, please %1$sconfigure the plugin here%2$s" 39 40 msgstr "" 40 41 41 #: btcpay-greenfield-for-woocommerce.php:1 1342 #: btcpay-greenfield-for-woocommerce.php:139 42 43 msgid "Your PHP version is %s but BTCPay Greenfield Payment plugin requires version 7.4+." 43 44 msgstr "" 44 45 45 #: btcpay-greenfield-for-woocommerce.php:1 1946 #: btcpay-greenfield-for-woocommerce.php:145 46 47 msgid "WooCommerce seems to be not installed. Make sure you do before you activate BTCPayServer Payment Gateway." 47 48 msgstr "" 48 49 49 #: btcpay-greenfield-for-woocommerce.php:130 50 #: btcpay-greenfield-for-woocommerce.php:151 51 msgid "The PHP cURL extension is not installed. Make sure it is available otherwise this plugin will not work." 52 msgstr "" 53 54 #: btcpay-greenfield-for-woocommerce.php:161 50 55 msgid "Seems you have the old BTCPay for WooCommerce plugin installed. While it should work it is strongly recommended to not run both versions but rely on the maintained version (BTCPay Greenfield for WooCommerce)." 51 56 msgstr "" 52 57 53 #: btcpay-greenfield-for-woocommerce.php:274 54 msgid "Successfully received api key and store id from BTCPay Server API." 55 msgstr "" 56 57 #: btcpay-greenfield-for-woocommerce.php:277 58 #: btcpay-greenfield-for-woocommerce.php:334 59 msgid "Settings" 60 msgstr "" 61 62 #: btcpay-greenfield-for-woocommerce.php:336 63 msgid "Debug log" 64 msgstr "" 65 66 #: btcpay-greenfield-for-woocommerce.php:338 67 msgid "Docs" 68 msgstr "" 69 70 #: btcpay-greenfield-for-woocommerce.php:340 71 msgid "Support Chat" 72 msgstr "" 73 74 #: btcpay-greenfield-for-woocommerce.php:380 75 msgid "Error on verifiying redirected API wey with stored BTCPay Server url. Aborting API wizard. Please try again or do a manual setup." 76 msgstr "" 77 78 #: btcpay-greenfield-for-woocommerce.php:402 79 msgid "Successfully received api key and store id from BTCPay Server API. Please finish setup by saving this settings form." 80 msgstr "" 81 82 #: btcpay-greenfield-for-woocommerce.php:406 83 #: src/Admin/GlobalSettings.php:362 84 msgid "Successfully registered a new webhook on BTCPay Server." 85 msgstr "" 86 87 #: btcpay-greenfield-for-woocommerce.php:410 88 #: src/Admin/GlobalSettings.php:366 89 msgid "Could not register a new webhook on the store." 90 msgstr "" 91 92 #: btcpay-greenfield-for-woocommerce.php:419 58 93 msgid "Please make sure you only select one store on the BTCPay API authorization page." 59 94 msgstr "" 60 95 61 #: btcpay-greenfield-for-woocommerce.php: 28296 #: btcpay-greenfield-for-woocommerce.php:424 62 97 msgid "Error processing the data from BTCPay. Please try again." 63 msgstr ""64 65 #: generated/BTCPay_GF_BTC.php:2566 #: generated/BTCPay_GF_BTC_LightningNetwork.php:2667 msgid "Token type"68 msgstr ""69 70 #: generated/BTCPay_GF_BTC.php:3271 #: generated/BTCPay_GF_BTC_LightningNetwork.php:3372 msgid "Tokens of type promotion will not have a FIAT (USD, EUR, ..) exchange rate but counted as 1 per item quantity. See <a target=\"_blank\" href=\"https://docs.btcpayserver.org/FAQ/Integrations/#token-types\">here</a> for more details."73 98 msgstr "" 74 99 … … 77 102 msgstr "" 78 103 79 #: src/Admin/GlobalSettings.php:58 80 msgctxt "global_settings" 81 msgid "BTCPay Server Payments Settings" 82 msgstr "" 83 84 #: src/Admin/GlobalSettings.php:64 85 msgctxt "global_settings" 86 msgid "This plugin version is %s and your PHP version is %s. If you need assistance, please come on our chat <a href=\"https://chat.btcpayserver.org\" target=\"_blank\">https://chat.btcpayserver.org</a>. Thank you for using BTCPay!" 87 msgstr "" 88 89 #: src/Admin/GlobalSettings.php:68 104 #: src/Admin/GlobalSettings.php:52 105 msgctxt "global_settings" 106 msgid "BTCPay Server Payments settings" 107 msgstr "" 108 109 #: src/Admin/GlobalSettings.php:73 110 msgctxt "global_settings" 111 msgid "BTCPay Server connected." 112 msgstr "" 113 114 #: src/Admin/GlobalSettings.php:75 115 msgctxt "global_settings" 116 msgid "Not connected. Please use the setup wizard above or check advanced settings to manually enter connection settings." 117 msgstr "" 118 119 #: src/Admin/GlobalSettings.php:88 120 msgctxt "global_settings" 121 msgid "Webhook setup automatically." 122 msgstr "" 123 124 #: src/Admin/GlobalSettings.php:90 125 msgctxt "global_settings" 126 msgid "No webhook setup, yet." 127 msgstr "" 128 129 #: src/Admin/GlobalSettings.php:94 130 msgctxt "global_settings" 131 msgid "Webhook setup manually with webhook secret." 132 msgstr "" 133 134 #: src/Admin/GlobalSettings.php:100 135 msgctxt "global_settings" 136 msgid "Connection settings" 137 msgstr "" 138 139 #: src/Admin/GlobalSettings.php:106 140 msgctxt "global_settings" 141 msgid "This plugin version is %s and your PHP version is %s. Check out our <a href=\"https://docs.btcpayserver.org/WooCommerce/\" target=\"_blank\">installation instructions</a>. If you need assistance, please come on our <a href=\"https://chat.btcpayserver.org\" target=\"_blank\">chat</a>. Thank you for using BTCPay!" 142 msgstr "" 143 144 #: src/Admin/GlobalSettings.php:110 90 145 msgctxt "global_settings" 91 146 msgid "BTCPay Server URL" 92 147 msgstr "" 93 148 94 #: src/Admin/GlobalSettings.php: 7495 msgctxt "global_settings" 96 msgid "U rl to your BTCPay Server instance."97 msgstr "" 98 99 #: src/Admin/GlobalSettings.php: 75149 #: src/Admin/GlobalSettings.php:116 150 msgctxt "global_settings" 151 msgid "URL/host to your BTCPay Server instance. Note: if you use a self hosted node like Umbrel, RaspiBlitz, myNode, etc. you will have to make sure your node is reachable from the internet. You can do that through <a href=\"https://docs.btcpayserver.org/Deployment/ReverseProxyToTor/\" target=\"_blank\">Tor</a>, <a href=\"https://docs.btcpayserver.org/Docker/cloudflare-tunnel/\" target=\"_blank\">Cloudflare</a> or <a href=\"https://docs.btcpayserver.org/Deployment/ReverseSSHtunnel/\" target=\"_blank\">SSH (advanced)</a>." 152 msgstr "" 153 154 #: src/Admin/GlobalSettings.php:117 100 155 msgctxt "global_settings" 101 156 msgid "e.g. https://btcpayserver.example.com" 102 157 msgstr "" 103 158 104 #: src/Admin/GlobalSettings.php:80 159 #: src/Admin/GlobalSettings.php:122 160 msgctxt "global_settings" 161 msgid "Setup wizard" 162 msgstr "" 163 164 #: src/Admin/GlobalSettings.php:128 165 msgctxt "global_settings" 166 msgid "Setup status" 167 msgstr "" 168 169 #: src/Admin/GlobalSettings.php:134 170 msgid "Advanced settings" 171 msgstr "" 172 173 #: src/Admin/GlobalSettings.php:137 174 msgctxt "global_settings" 175 msgid "Show all connection settings / manual setup." 176 msgstr "" 177 178 #: src/Admin/GlobalSettings.php:141 105 179 msgctxt "global_settings" 106 180 msgid "BTCPay API Key" 107 181 msgstr "" 108 182 109 #: src/Admin/GlobalSettings.php: 82110 msgctxt "global_settings" 111 msgid "Your BTCPay API Key. If you do not have any yet <a href=\"#\" class=\"btcpay-api-key-link\" target=\"_blank\">click here to generate API keys.</a>"112 msgstr "" 113 114 #: src/Admin/GlobalSettings.php: 87183 #: src/Admin/GlobalSettings.php:143 184 msgctxt "global_settings" 185 msgid "Your BTCPay API Key. If you do not have any yet use the setup wizard above." 186 msgstr "" 187 188 #: src/Admin/GlobalSettings.php:148 115 189 msgctxt "global_settings" 116 190 msgid "Store ID" 117 191 msgstr "" 118 192 119 #: src/Admin/GlobalSettings.php: 89193 #: src/Admin/GlobalSettings.php:150 120 194 msgctxt "global_settings" 121 195 msgid "Your BTCPay Store ID. You can find it on the store settings page on your BTCPay Server." 122 196 msgstr "" 123 197 124 #: src/Admin/GlobalSettings.php:97 198 #: src/Admin/GlobalSettings.php:155 199 msgctxt "global_settings" 200 msgid "Webhook secret (optional)" 201 msgstr "" 202 203 #: src/Admin/GlobalSettings.php:157 204 msgctxt "global_settings" 205 msgid "If left empty an webhook will created automatically on save. Only fill out if you know the webhook secret and the webhook was created manually on BTCPay Server." 206 msgstr "" 207 208 #: src/Admin/GlobalSettings.php:158 209 msgctxt "global_settings" 210 msgid "The BTCPay webhook endpoint can be reached here: " 211 msgstr "" 212 213 #: src/Admin/GlobalSettings.php:163 214 msgctxt "global_settings" 215 msgid "Webhook status" 216 msgstr "" 217 218 #: src/Admin/GlobalSettings.php:174 219 msgctxt "global_settings" 220 msgid "General settings" 221 msgstr "" 222 223 #: src/Admin/GlobalSettings.php:186 125 224 msgctxt "global_settings" 126 225 msgid "You will be redirected to BTCPay to complete your purchase." 127 226 msgstr "" 128 227 129 #: src/Admin/GlobalSettings.php:1 04228 #: src/Admin/GlobalSettings.php:193 130 229 msgctxt "global_settings" 131 230 msgid "An invoice becomes settled after the payment has this many confirmations..." 132 231 msgstr "" 133 232 134 #: src/Admin/GlobalSettings.php:1 06233 #: src/Admin/GlobalSettings.php:195 135 234 msgctxt "global_settings" 136 235 msgid "Keep BTCPay Server store level configuration" 137 236 msgstr "" 138 237 139 #: src/Admin/GlobalSettings.php:1 07238 #: src/Admin/GlobalSettings.php:196 140 239 msgctxt "global_settings" 141 240 msgid "0 confirmation on-chain" 142 241 msgstr "" 143 242 144 #: src/Admin/GlobalSettings.php:1 08243 #: src/Admin/GlobalSettings.php:197 145 244 msgctxt "global_settings" 146 245 msgid "1 confirmation on-chain" 147 246 msgstr "" 148 247 149 #: src/Admin/GlobalSettings.php:1 09248 #: src/Admin/GlobalSettings.php:198 150 249 msgctxt "global_settings" 151 250 msgid "2 confirmations on-chain" 152 251 msgstr "" 153 252 154 #: src/Admin/GlobalSettings.php:1 10253 #: src/Admin/GlobalSettings.php:199 155 254 msgctxt "global_settings" 156 255 msgid "6 confirmations on-chain" 157 256 msgstr "" 158 257 159 #: src/Admin/GlobalSettings.php:121 258 #: src/Admin/GlobalSettings.php:210 259 msgid "Modal checkout" 260 msgstr "" 261 262 #: src/Admin/GlobalSettings.php:213 263 msgctxt "global_settings" 264 msgid "Opens a modal overlay on the checkout page instead of redirecting to BTCPay Server." 265 msgstr "" 266 267 #: src/Admin/GlobalSettings.php:217 160 268 msgid "Separate Payment Gateways" 161 269 msgstr "" 162 270 163 #: src/Admin/GlobalSettings.php: 124164 msgctxt "global_settings" 165 msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\" todo-input-link-here\" target=\"_blank\">full guide here</a>"166 msgstr "" 167 168 #: src/Admin/GlobalSettings.php: 128271 #: src/Admin/GlobalSettings.php:220 272 msgctxt "global_settings" 273 msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\"https://docs.btcpayserver.org/FAQ/Integrations/#how-to-configure-additional-token-support-separate-payment-gateways\" target=\"_blank\">full guide here</a>" 274 msgstr "" 275 276 #: src/Admin/GlobalSettings.php:224 169 277 msgid "Send customer data to BTCPayServer" 170 278 msgstr "" 171 279 172 #: src/Admin/GlobalSettings.php: 131280 #: src/Admin/GlobalSettings.php:227 173 281 msgctxt "global_settings" 174 282 msgid "If you want customer email, address, etc. sent to BTCPay Server enable this option. By default for privacy and GDPR reasons this is disabled." 175 283 msgstr "" 176 284 177 #: src/Admin/GlobalSettings.php:135 285 #: src/Admin/GlobalSettings.php:231 286 msgid "Sats-Mode" 287 msgstr "" 288 289 #: src/Admin/GlobalSettings.php:234 290 msgctxt "global_settings" 291 msgid "Makes Satoshis/Sats available as currency \"SAT\" (can be found in WooCommerce->Settings->General) and handles conversion to BTC before creating the invoice on BTCPay." 292 msgstr "" 293 294 #: src/Admin/GlobalSettings.php:238 178 295 msgid "Debug Log" 179 296 msgstr "" 180 297 181 #: src/Admin/GlobalSettings.php: 138298 #: src/Admin/GlobalSettings.php:241 182 299 msgctxt "global_settings" 183 300 msgid "Enable logging <a href=\"%s\" class=\"button\">View Logs</a>" 184 301 msgstr "" 185 302 186 #: src/Admin/GlobalSettings.php: 192303 #: src/Admin/GlobalSettings.php:273 187 304 msgid "The provided API key scope is valid for multiple stores, please make sure to create one for a single store." 188 305 msgstr "" 189 306 190 #: src/Admin/GlobalSettings.php:2 00307 #: src/Admin/GlobalSettings.php:281 191 308 msgid "The provided API key does not match the required permissions. Please make sure the following permissions are are given: %s" 192 309 msgstr "" 193 310 194 #: src/Admin/GlobalSettings.php:211 195 msgid "Reusing existing webhook." 196 msgstr "" 197 198 #: src/Admin/GlobalSettings.php:217 199 msgid "Successfully registered a new webhook on BTCPay Server." 200 msgstr "" 201 202 #: src/Admin/GlobalSettings.php:221 203 msgid "Could not register a new webhook on the store." 204 msgstr "" 205 206 #: src/Admin/GlobalSettings.php:231 311 #: src/Admin/GlobalSettings.php:295 312 msgid "Your BTCPay Server is not fully synched yet. Until fully synched the checkout will not work." 313 msgstr "" 314 315 #: src/Admin/GlobalSettings.php:304 316 msgid "Your BTCPay Server version does not support refunds, please update to at least version 1.7.6 or newer." 317 msgstr "" 318 319 #: src/Admin/GlobalSettings.php:310 320 msgid "Your api key does not support refunds, if you want to use that feature you need to create a new API key with permission. See our guide <a href=\"https://docs.btcpayserver.org/WooCommerce/#create-a-new-api-key\" target=\"_blank\" rel=\"noreferrer\">here</a>." 321 msgstr "" 322 323 #: src/Admin/GlobalSettings.php:333 324 #: src/Admin/GlobalSettings.php:354 325 msgid "Successfully setup manual webhook." 326 msgstr "" 327 328 #: src/Admin/GlobalSettings.php:337 329 msgid "Webhook already exists, skipping webhook creation." 330 msgstr "" 331 332 #: src/Admin/GlobalSettings.php:379 207 333 msgid "No wallet configured on your BTCPay Server store settings. Make sure to add at least one otherwise this plugin will not work." 208 334 msgstr "" 209 335 210 #: src/Admin/GlobalSettings.php:241 336 #: src/Admin/GlobalSettings.php:385 337 msgid "Exception loading wallet information (payment methods) from BTCPay Server: %s." 338 msgstr "" 339 340 #: src/Admin/GlobalSettings.php:394 211 341 msgid "Error fetching data for this API key from server. Please check if the key is valid. Error: %s" 212 342 msgstr "" 213 343 214 #: src/Gateway/AbstractGateway.php:2 5344 #: src/Gateway/AbstractGateway.php:26 215 345 #: src/Gateway/DefaultGateway.php:19 216 346 msgid "Proceed to BTCPay" 217 347 msgstr "" 218 348 219 #: src/Gateway/AbstractGateway.php: 60220 msgid " Use this image"349 #: src/Gateway/AbstractGateway.php:59 350 msgid "Enabled/Disabled" 221 351 msgstr "" 222 352 223 353 #: src/Gateway/AbstractGateway.php:61 224 msgid " Insert image"354 msgid "Enable this payment gateway." 225 355 msgstr "" 226 356 … … 249 379 msgstr "" 250 380 251 #: src/Gateway/AbstractGateway.php:160 381 #: src/Gateway/AbstractGateway.php:204 382 msgid "Refund of order " 383 msgstr "" 384 385 #: src/Gateway/AbstractGateway.php:282 252 386 msgid "Gateway Icon:" 253 387 msgstr "" 254 388 255 #: src/Gateway/AbstractGateway.php: 165389 #: src/Gateway/AbstractGateway.php:287 256 390 msgid "Upload or select icon" 257 391 msgstr "" 258 392 259 #: src/Gateway/AbstractGateway.php: 171393 #: src/Gateway/AbstractGateway.php:293 260 394 msgid "Remove image" 261 395 msgstr "" 262 396 263 #: src/Gateway/AbstractGateway.php:268 264 msgid "Invoice payment received after invoice was already expired." 265 msgstr "" 266 267 #: src/Gateway/AbstractGateway.php:272 268 msgid "Invoice (partial) payment received. Waiting for full payment." 269 msgstr "" 270 271 #: src/Gateway/AbstractGateway.php:282 397 #: src/Gateway/AbstractGateway.php:343 398 msgid "Use this image" 399 msgstr "" 400 401 #: src/Gateway/AbstractGateway.php:344 402 msgid "Insert image" 403 msgstr "" 404 405 #: src/Gateway/AbstractGateway.php:382 406 msgctxt "js" 407 msgid "The invoice expired. Please try again, choose a different payment method or contact us if you paid but the payment did not confirm in time." 408 msgstr "" 409 410 #: src/Gateway/AbstractGateway.php:383 411 msgctxt "js" 412 msgid "Payment aborted by you. Please try again or choose a different payment method." 413 msgstr "" 414 415 #: src/Gateway/AbstractGateway.php:463 416 msgid "Invoice (partial) payment incoming (unconfirmed) after invoice was already expired." 417 msgstr "" 418 419 #: src/Gateway/AbstractGateway.php:466 420 msgid "Invoice (partial) payment incoming (unconfirmed). Waiting for settlement." 421 msgstr "" 422 423 #: src/Gateway/AbstractGateway.php:485 424 msgid "Invoice fully settled after invoice was already expired. Needs manual checking." 425 msgstr "" 426 427 #: src/Gateway/AbstractGateway.php:490 428 msgid "(Partial) payment settled but invoice not settled yet (could be more transactions incoming). Needs manual checking." 429 msgstr "" 430 431 #: src/Gateway/AbstractGateway.php:494 432 msgid "Invoice (partial) payment settled." 433 msgstr "" 434 435 #: src/Gateway/AbstractGateway.php:504 272 436 msgid "Invoice payment received fully with overpayment, waiting for settlement." 273 437 msgstr "" 274 438 275 #: src/Gateway/AbstractGateway.php: 284439 #: src/Gateway/AbstractGateway.php:506 276 440 msgid "Invoice payment received fully, waiting for settlement." 277 441 msgstr "" 278 442 279 #: src/Gateway/AbstractGateway.php: 290443 #: src/Gateway/AbstractGateway.php:512 280 444 msgid "Invoice manually marked invalid." 281 445 msgstr "" 282 446 283 #: src/Gateway/AbstractGateway.php: 292447 #: src/Gateway/AbstractGateway.php:514 284 448 msgid "Invoice became invalid." 285 449 msgstr "" 286 450 287 #: src/Gateway/AbstractGateway.php: 298451 #: src/Gateway/AbstractGateway.php:520 288 452 msgid "Invoice expired but was paid partially, please check." 289 453 msgstr "" 290 454 291 #: src/Gateway/AbstractGateway.php: 301455 #: src/Gateway/AbstractGateway.php:523 292 456 msgid "Invoice expired." 293 457 msgstr "" 294 458 295 #: src/Gateway/AbstractGateway.php: 307459 #: src/Gateway/AbstractGateway.php:529 296 460 msgid "Invoice payment settled but was overpaid." 297 461 msgstr "" 298 462 299 #: src/Gateway/AbstractGateway.php: 310463 #: src/Gateway/AbstractGateway.php:532 300 464 msgid "Invoice payment settled." 465 msgstr "" 466 467 #: src/Gateway/AbstractGateway.php:575 468 msgid "BTCPay invoice manually set to invalid because customer went back to checkout and changed payment gateway." 301 469 msgstr "" 302 470 … … 317 485 msgstr "" 318 486 319 #: src/Helper/OrderStates.php:3 4487 #: src/Helper/OrderStates.php:36 320 488 msgctxt "global_settings" 321 489 msgid "New" 322 490 msgstr "" 323 491 324 #: src/Helper/OrderStates.php:3 5492 #: src/Helper/OrderStates.php:37 325 493 msgctxt "global_settings" 326 494 msgid "Paid" 327 495 msgstr "" 328 496 329 #: src/Helper/OrderStates.php:3 6497 #: src/Helper/OrderStates.php:38 330 498 msgctxt "global_settings" 331 499 msgid "Settled" 332 500 msgstr "" 333 501 334 #: src/Helper/OrderStates.php:3 7502 #: src/Helper/OrderStates.php:39 335 503 msgctxt "global_settings" 336 504 msgid "Settled (paid over)" 337 505 msgstr "" 338 506 339 #: src/Helper/OrderStates.php: 38507 #: src/Helper/OrderStates.php:40 340 508 msgctxt "global_settings" 341 509 msgid "Invalid" 342 510 msgstr "" 343 511 344 #: src/Helper/OrderStates.php: 39512 #: src/Helper/OrderStates.php:41 345 513 msgctxt "global_settings" 346 514 msgid "Expired" 347 515 msgstr "" 348 516 349 #: src/Helper/OrderStates.php:4 0517 #: src/Helper/OrderStates.php:42 350 518 msgctxt "global_settings" 351 519 msgid "Expired with partial payment" 352 520 msgstr "" 353 521 354 #: src/Helper/OrderStates.php:50 522 #: src/Helper/OrderStates.php:43 523 msgctxt "global_settings" 524 msgid "Expired (paid late)" 525 msgstr "" 526 527 #: src/Helper/OrderStates.php:53 355 528 msgctxt "global_settings" 356 529 msgid "- no mapping / defaults -" 357 530 msgstr "" 358 531 359 #: src/Helper/OrderStates.php:9 0532 #: src/Helper/OrderStates.php:93 360 533 msgctxt "global_settings" 361 534 msgid "By keeping default behavior for the \"Settled\" status you make sure that WooCommerce handles orders of virtual and downloadable products only properly and set those orders to \"complete\" instead of \"processing\" like for orders containing physical products." -
btcpay-greenfield-for-woocommerce/tags/2.4.0/readme.txt
r2981570 r3010485 4 4 Tags: bitcoin, btcpay, BTCPay Server, btcpayserver, WooCommerce, payment gateway, accept bitcoin, bitcoin plugin, bitcoin payment processor, bitcoin e-commerce, Lightning Network, Litecoin, cryptocurrency 5 5 Requires at least: 5.2 6 Tested up to: 6. 36 Tested up to: 6.4 7 7 Requires PHP: 7.4 8 Stable tag: 2. 3.18 Stable tag: 2.4.0 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 14 14 == Description == 15 15 16 BTCPay Server is a free and open-source cryptocurrency payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman. 16 = Accept Bitcoin payments in your WooCommerce powered WordPress site with BTCPay Server = 17 17 18 BTCPay Server is a non-custodial invoicing system which eliminates the involvement of a third-party. Payments with BTCPay WooCommerce Plugin go directly to your wallet, which increases the privacy and security. Your private keys are never uploaded to the server. There is no address re-use since each invoice generates a new address deriving from your xPub key.18 BTCPay Server for WooCommerce is a revolutionary, self-hosted, open-source payment gateway to accept Bitcoin payments. Our** seamless integration** with WooCommerce allows you to connect your self-hosted [BTCPay Server](https://btcpayserver.org) and start accepting Bitcoin payments in **just a few simple steps**. 19 19 20 You can run BTCPay as a self-hosted solution on your own server, or use a third-party host. 20 = Features: = 21 21 22 The self-hosted solution allows you not only to attach an unlimited number of stores and use the Lightning Network but also become the payment processor for others. 22 * **Zero fees**: Enjoy a payment gateway with no fees. Yes, really! 23 * **Fully automated system**: BTCPay takes care of payments, invoice management and refunds automatically. 24 * **Display Bitcoin QR code at checkout**: Enhance customer experience with an easy and secure payment option. 25 * **No middlemen or KYC**: 26 * Direct, P2P payments (going directly to your wallet) 27 * Say goodbye to intermediaries and tedious paperwork 28 * Transaction information is only shared between you and your customer 29 * **Self-hosted infrastructure**: Maintain full control over your payment gateway. 30 * **Direct wallet payments**: Be your own bank with a self-custodial service. 31 * **Lightning Network** integrated out of the box - instant, fast and low cost payments and payouts 32 * **Reporting and accounting** - CSV exports 33 * **Advanced invoice managemen**t and refunding integrated in the WooCommerce UI 34 * **Real-time exchange price tracking **for correct payment amounts 35 * **Versatile plugin system**: 36 * Extend functionality according to your needs 37 * Accept payments in altcoins through various plugins 38 * **Elegant checkout design**: Compatible with all Bitcoin wallets and enhanced with your store's logo and branding for a unique UX. 39 * **Point-of-sale** integration - Accept payments in your physical shops 40 * **Multilingual ready**: Serve a global audience right out of the box. 41 * **Top-notch privacy and security**: Protect your and your customers' data. 42 * **Community-driven support**: Get responsive assistance from our dedicated community ([Mattermost](http://chat.btcpayserver.org) or [Telegram](https://t.me/btcpayserver)). 43 * Extensive [documentation](https://docs.btcpayserver.org/WooCommerce) and [video](https://www.youtube.com/c/btcpayserver) tutorials 23 44 24 * Direct, peer-to-peer Bitcoin and altcoin payments 25 * No transaction fees (other than mining fees by cryptocurrency network itself) 26 * No processing fees 27 * No middleman 28 * No KYC 29 * User has complete control over private keys 30 * Enhanced privacy (no address re-use, no IP leaks to third parties) 31 * Enhanced security 32 * Self-hosted 33 * SegWit, Taproot support 34 * Lightning Network support (LND, c-lightning and Eclair) 35 * Altcoin support 36 * Attach unlimited stores, process payments for friends 37 * Easy-embeddable Payment buttons 38 * Point of Sale app 45 The non-profit [BTCPay Server Foundation ](https://foundation.btcpayserver.org)is committed to keeping this powerful payment gateway free forever. Our mission is to enable anyone to accept bitcoin regardless of financial, technical, social or political barriers. 46 39 47 40 48 == Installation == … … 103 111 6. Example of the PoS app you can launch. 104 112 113 == Upgrade Notice == 114 = 2.4.0 = 115 * New feature: Add basic support for [WooCommerce cart and checkout blocks](https://woo.com/document/cart-checkout-blocks-status/). 116 105 117 == Changelog == 118 119 = 2.4.0 :: 2023-12-12 = 120 * Fix: Avoid error on InvoiceProcessing/InvoiceSettled event in case of paidOver property is missing. 121 * New feature: Add basic support for WooCommerce cart and checkout blocks. 122 Note: Works for default configuration; future versions will make it work with modal checkout and separate payment gateways too. 106 123 107 124 = 2.3.1 :: 2023-10-20 = -
btcpay-greenfield-for-woocommerce/tags/2.4.0/src/Admin/GlobalSettings.php
r2963669 r3010485 30 30 if (is_admin()) { 31 31 // Register and include JS. 32 wp_register_script('btcpay_gf_global_settings', BTCPAYSERVER_PLUGIN_URL . 'assets/js/ apiKeyRedirect.js', ['jquery'], BTCPAYSERVER_VERSION);32 wp_register_script('btcpay_gf_global_settings', BTCPAYSERVER_PLUGIN_URL . 'assets/js/backend/apiKeyRedirect.js', ['jquery'], BTCPAYSERVER_VERSION); 33 33 wp_enqueue_script('btcpay_gf_global_settings'); 34 34 wp_localize_script( 'btcpay_gf_global_settings', -
btcpay-greenfield-for-woocommerce/tags/2.4.0/src/Gateway/AbstractGateway.php
r2981570 r3010485 332 332 wp_register_script( 333 333 'btcpay_gf_abstract_gateway', 334 BTCPAYSERVER_PLUGIN_URL . 'assets/js/ gatewayIconMedia.js',334 BTCPAYSERVER_PLUGIN_URL . 'assets/js/backend/gatewayIconMedia.js', 335 335 ['jquery'], 336 336 BTCPAYSERVER_VERSION … … 364 364 wp_register_script( 365 365 'btcpay_gf_modal_checkout', 366 BTCPAYSERVER_PLUGIN_URL . 'assets/js/ modalCheckout.js',366 BTCPAYSERVER_PLUGIN_URL . 'assets/js/frontend/modalCheckout.js', 367 367 [ 'jquery' ], 368 368 BTCPAYSERVER_VERSION, … … 501 501 case 'InvoiceProcessing': // The invoice is paid in full. 502 502 $this->updateWCOrderStatus($order, $configuredOrderStates[OrderStates::PROCESSING]); 503 if ( $webhookData->overPaid) {503 if (isset($webhookData->overPaid) && $webhookData->overPaid) { 504 504 $order->add_order_note(__('Invoice payment received fully with overpayment, waiting for settlement.', 'btcpay-greenfield-for-woocommerce')); 505 505 } else { … … 526 526 case 'InvoiceSettled': 527 527 $order->payment_complete(); 528 if ( $webhookData->overPaid) {528 if (isset($webhookData->overPaid) && $webhookData->overPaid) { 529 529 $order->add_order_note(__('Invoice payment settled but was overpaid.', 'btcpay-greenfield-for-woocommerce')); 530 530 $this->updateWCOrderStatus($order, $configuredOrderStates[OrderStates::SETTLED_PAID_OVER]); … … 536 536 // Store payment data (exchange rate, address). 537 537 $this->updateWCOrderPayments($order); 538 539 538 break; 540 539 } -
btcpay-greenfield-for-woocommerce/tags/2.4.0/src/Gateway/DefaultGateway.php
r2700264 r3010485 10 10 public function __construct() { 11 11 // Set the id first. 12 $this->id = 'btcpaygf_default';12 $this->id = 'btcpaygf_default'; 13 13 14 14 // Call parent constructor. … … 17 17 // todo: maybe make the button text configurable via settings. 18 18 // General gateway setup. 19 $this->order_button_text = __('Proceed to BTCPay', 'btcpay-greenfield-for-woocommerce');19 $this->order_button_text = __('Proceed to BTCPay', 'btcpay-greenfield-for-woocommerce'); 20 20 // Admin facing title and description. 21 $this->method_title = 'BTCPay (default)';21 $this->method_title = 'BTCPay (default)'; 22 22 $this->method_description = __('BTCPay default gateway supporting all available tokens on your BTCPay store.', 'btcpay-greenfield-for-woocommerce'); 23 23 -
btcpay-greenfield-for-woocommerce/trunk/btcpay-greenfield-for-woocommerce.php
r2981570 r3010485 8 8 * Text Domain: btcpay-greenfield-for-woocommerce 9 9 * Domain Path: /languages 10 * Version: 2. 3.010 * Version: 2.4.0 11 11 * Requires PHP: 7.4 12 * Tested up to: 6. 312 * Tested up to: 6.4 13 13 * Requires at least: 5.2 14 14 * WC requires at least: 6.0 15 * WC tested up to: 8. 015 * WC tested up to: 8.4 16 16 */ 17 17 … … 27 27 defined( 'ABSPATH' ) || exit(); 28 28 29 define( 'BTCPAYSERVER_VERSION', '2. 3.1' );29 define( 'BTCPAYSERVER_VERSION', '2.4.0' ); 30 30 define( 'BTCPAYSERVER_VERSION_KEY', 'btcpay_gf_version' ); 31 31 define( 'BTCPAYSERVER_PLUGIN_FILE_PATH', plugin_dir_path( __FILE__ ) ); … … 272 272 273 273 /** 274 * Register WooCommerce Blocks support. 275 */ 276 public static function blocksSupport() { 277 if ( class_exists( '\Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType' ) ) { 278 add_action( 279 'woocommerce_blocks_payment_method_type_registration', 280 function( \Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 281 $payment_method_registry->register(new \BTCPayServer\WC\Blocks\DefaultGatewayBlocks()); 282 } 283 ); 284 } 285 } 286 287 /** 274 288 * Gets the main plugin loader instance. 275 289 * … … 304 318 update_option('btcpaygf_permalinks_flushed', 1); 305 319 } 306 307 320 }); 308 321 … … 427 440 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 428 441 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 442 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, true ); 429 443 } 430 444 } ); 445 446 // Register WooCommerce Blocks integration. 447 add_action( 'woocommerce_blocks_loaded', [ 'BTCPayServerWCPlugin', 'blocksSupport' ] ); -
btcpay-greenfield-for-woocommerce/trunk/languages/btcpay-greenfield-for-woocommerce.pot
r2679022 r3010485 1 # Copyright (C) 202 2BTCPay Server1 # Copyright (C) 2023 BTCPay Server 2 2 # This file is distributed under the same license as the BTCPay For Woocommerce V2 plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: BTCPay For Woocommerce V2 0.1.10\n"6 "Report-Msgid-Bugs-To: https://wo rdpress.org/support/plugin/btcpay-greenfield-for-woocommerce\n"5 "Project-Id-Version: BTCPay For Woocommerce V2 2.4.0\n" 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <LL@li.org>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 2-02-15T11:29:35+00:00\n"12 "POT-Creation-Date: 2023-12-15T10:50:37+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.6.0\n" 14 "X-Generator: WP-CLI 2.9.0\n" 15 "language-team: LANGUAGE <EMAIL@ADDRESS>\n" 15 16 "X-Domain: btcpay-greenfield-for-woocommerce\n" 16 17 … … 35 36 msgstr "" 36 37 37 #: btcpay-greenfield-for-woocommerce.php: 9538 #: btcpay-greenfield-for-woocommerce.php:121 38 39 msgid "Plugin not configured yet, please %1$sconfigure the plugin here%2$s" 39 40 msgstr "" 40 41 41 #: btcpay-greenfield-for-woocommerce.php:1 1342 #: btcpay-greenfield-for-woocommerce.php:139 42 43 msgid "Your PHP version is %s but BTCPay Greenfield Payment plugin requires version 7.4+." 43 44 msgstr "" 44 45 45 #: btcpay-greenfield-for-woocommerce.php:1 1946 #: btcpay-greenfield-for-woocommerce.php:145 46 47 msgid "WooCommerce seems to be not installed. Make sure you do before you activate BTCPayServer Payment Gateway." 47 48 msgstr "" 48 49 49 #: btcpay-greenfield-for-woocommerce.php:130 50 #: btcpay-greenfield-for-woocommerce.php:151 51 msgid "The PHP cURL extension is not installed. Make sure it is available otherwise this plugin will not work." 52 msgstr "" 53 54 #: btcpay-greenfield-for-woocommerce.php:161 50 55 msgid "Seems you have the old BTCPay for WooCommerce plugin installed. While it should work it is strongly recommended to not run both versions but rely on the maintained version (BTCPay Greenfield for WooCommerce)." 51 56 msgstr "" 52 57 53 #: btcpay-greenfield-for-woocommerce.php:274 54 msgid "Successfully received api key and store id from BTCPay Server API." 55 msgstr "" 56 57 #: btcpay-greenfield-for-woocommerce.php:277 58 #: btcpay-greenfield-for-woocommerce.php:334 59 msgid "Settings" 60 msgstr "" 61 62 #: btcpay-greenfield-for-woocommerce.php:336 63 msgid "Debug log" 64 msgstr "" 65 66 #: btcpay-greenfield-for-woocommerce.php:338 67 msgid "Docs" 68 msgstr "" 69 70 #: btcpay-greenfield-for-woocommerce.php:340 71 msgid "Support Chat" 72 msgstr "" 73 74 #: btcpay-greenfield-for-woocommerce.php:380 75 msgid "Error on verifiying redirected API wey with stored BTCPay Server url. Aborting API wizard. Please try again or do a manual setup." 76 msgstr "" 77 78 #: btcpay-greenfield-for-woocommerce.php:402 79 msgid "Successfully received api key and store id from BTCPay Server API. Please finish setup by saving this settings form." 80 msgstr "" 81 82 #: btcpay-greenfield-for-woocommerce.php:406 83 #: src/Admin/GlobalSettings.php:362 84 msgid "Successfully registered a new webhook on BTCPay Server." 85 msgstr "" 86 87 #: btcpay-greenfield-for-woocommerce.php:410 88 #: src/Admin/GlobalSettings.php:366 89 msgid "Could not register a new webhook on the store." 90 msgstr "" 91 92 #: btcpay-greenfield-for-woocommerce.php:419 58 93 msgid "Please make sure you only select one store on the BTCPay API authorization page." 59 94 msgstr "" 60 95 61 #: btcpay-greenfield-for-woocommerce.php: 28296 #: btcpay-greenfield-for-woocommerce.php:424 62 97 msgid "Error processing the data from BTCPay. Please try again." 63 msgstr ""64 65 #: generated/BTCPay_GF_BTC.php:2566 #: generated/BTCPay_GF_BTC_LightningNetwork.php:2667 msgid "Token type"68 msgstr ""69 70 #: generated/BTCPay_GF_BTC.php:3271 #: generated/BTCPay_GF_BTC_LightningNetwork.php:3372 msgid "Tokens of type promotion will not have a FIAT (USD, EUR, ..) exchange rate but counted as 1 per item quantity. See <a target=\"_blank\" href=\"https://docs.btcpayserver.org/FAQ/Integrations/#token-types\">here</a> for more details."73 98 msgstr "" 74 99 … … 77 102 msgstr "" 78 103 79 #: src/Admin/GlobalSettings.php:58 80 msgctxt "global_settings" 81 msgid "BTCPay Server Payments Settings" 82 msgstr "" 83 84 #: src/Admin/GlobalSettings.php:64 85 msgctxt "global_settings" 86 msgid "This plugin version is %s and your PHP version is %s. If you need assistance, please come on our chat <a href=\"https://chat.btcpayserver.org\" target=\"_blank\">https://chat.btcpayserver.org</a>. Thank you for using BTCPay!" 87 msgstr "" 88 89 #: src/Admin/GlobalSettings.php:68 104 #: src/Admin/GlobalSettings.php:52 105 msgctxt "global_settings" 106 msgid "BTCPay Server Payments settings" 107 msgstr "" 108 109 #: src/Admin/GlobalSettings.php:73 110 msgctxt "global_settings" 111 msgid "BTCPay Server connected." 112 msgstr "" 113 114 #: src/Admin/GlobalSettings.php:75 115 msgctxt "global_settings" 116 msgid "Not connected. Please use the setup wizard above or check advanced settings to manually enter connection settings." 117 msgstr "" 118 119 #: src/Admin/GlobalSettings.php:88 120 msgctxt "global_settings" 121 msgid "Webhook setup automatically." 122 msgstr "" 123 124 #: src/Admin/GlobalSettings.php:90 125 msgctxt "global_settings" 126 msgid "No webhook setup, yet." 127 msgstr "" 128 129 #: src/Admin/GlobalSettings.php:94 130 msgctxt "global_settings" 131 msgid "Webhook setup manually with webhook secret." 132 msgstr "" 133 134 #: src/Admin/GlobalSettings.php:100 135 msgctxt "global_settings" 136 msgid "Connection settings" 137 msgstr "" 138 139 #: src/Admin/GlobalSettings.php:106 140 msgctxt "global_settings" 141 msgid "This plugin version is %s and your PHP version is %s. Check out our <a href=\"https://docs.btcpayserver.org/WooCommerce/\" target=\"_blank\">installation instructions</a>. If you need assistance, please come on our <a href=\"https://chat.btcpayserver.org\" target=\"_blank\">chat</a>. Thank you for using BTCPay!" 142 msgstr "" 143 144 #: src/Admin/GlobalSettings.php:110 90 145 msgctxt "global_settings" 91 146 msgid "BTCPay Server URL" 92 147 msgstr "" 93 148 94 #: src/Admin/GlobalSettings.php: 7495 msgctxt "global_settings" 96 msgid "U rl to your BTCPay Server instance."97 msgstr "" 98 99 #: src/Admin/GlobalSettings.php: 75149 #: src/Admin/GlobalSettings.php:116 150 msgctxt "global_settings" 151 msgid "URL/host to your BTCPay Server instance. Note: if you use a self hosted node like Umbrel, RaspiBlitz, myNode, etc. you will have to make sure your node is reachable from the internet. You can do that through <a href=\"https://docs.btcpayserver.org/Deployment/ReverseProxyToTor/\" target=\"_blank\">Tor</a>, <a href=\"https://docs.btcpayserver.org/Docker/cloudflare-tunnel/\" target=\"_blank\">Cloudflare</a> or <a href=\"https://docs.btcpayserver.org/Deployment/ReverseSSHtunnel/\" target=\"_blank\">SSH (advanced)</a>." 152 msgstr "" 153 154 #: src/Admin/GlobalSettings.php:117 100 155 msgctxt "global_settings" 101 156 msgid "e.g. https://btcpayserver.example.com" 102 157 msgstr "" 103 158 104 #: src/Admin/GlobalSettings.php:80 159 #: src/Admin/GlobalSettings.php:122 160 msgctxt "global_settings" 161 msgid "Setup wizard" 162 msgstr "" 163 164 #: src/Admin/GlobalSettings.php:128 165 msgctxt "global_settings" 166 msgid "Setup status" 167 msgstr "" 168 169 #: src/Admin/GlobalSettings.php:134 170 msgid "Advanced settings" 171 msgstr "" 172 173 #: src/Admin/GlobalSettings.php:137 174 msgctxt "global_settings" 175 msgid "Show all connection settings / manual setup." 176 msgstr "" 177 178 #: src/Admin/GlobalSettings.php:141 105 179 msgctxt "global_settings" 106 180 msgid "BTCPay API Key" 107 181 msgstr "" 108 182 109 #: src/Admin/GlobalSettings.php: 82110 msgctxt "global_settings" 111 msgid "Your BTCPay API Key. If you do not have any yet <a href=\"#\" class=\"btcpay-api-key-link\" target=\"_blank\">click here to generate API keys.</a>"112 msgstr "" 113 114 #: src/Admin/GlobalSettings.php: 87183 #: src/Admin/GlobalSettings.php:143 184 msgctxt "global_settings" 185 msgid "Your BTCPay API Key. If you do not have any yet use the setup wizard above." 186 msgstr "" 187 188 #: src/Admin/GlobalSettings.php:148 115 189 msgctxt "global_settings" 116 190 msgid "Store ID" 117 191 msgstr "" 118 192 119 #: src/Admin/GlobalSettings.php: 89193 #: src/Admin/GlobalSettings.php:150 120 194 msgctxt "global_settings" 121 195 msgid "Your BTCPay Store ID. You can find it on the store settings page on your BTCPay Server." 122 196 msgstr "" 123 197 124 #: src/Admin/GlobalSettings.php:97 198 #: src/Admin/GlobalSettings.php:155 199 msgctxt "global_settings" 200 msgid "Webhook secret (optional)" 201 msgstr "" 202 203 #: src/Admin/GlobalSettings.php:157 204 msgctxt "global_settings" 205 msgid "If left empty an webhook will created automatically on save. Only fill out if you know the webhook secret and the webhook was created manually on BTCPay Server." 206 msgstr "" 207 208 #: src/Admin/GlobalSettings.php:158 209 msgctxt "global_settings" 210 msgid "The BTCPay webhook endpoint can be reached here: " 211 msgstr "" 212 213 #: src/Admin/GlobalSettings.php:163 214 msgctxt "global_settings" 215 msgid "Webhook status" 216 msgstr "" 217 218 #: src/Admin/GlobalSettings.php:174 219 msgctxt "global_settings" 220 msgid "General settings" 221 msgstr "" 222 223 #: src/Admin/GlobalSettings.php:186 125 224 msgctxt "global_settings" 126 225 msgid "You will be redirected to BTCPay to complete your purchase." 127 226 msgstr "" 128 227 129 #: src/Admin/GlobalSettings.php:1 04228 #: src/Admin/GlobalSettings.php:193 130 229 msgctxt "global_settings" 131 230 msgid "An invoice becomes settled after the payment has this many confirmations..." 132 231 msgstr "" 133 232 134 #: src/Admin/GlobalSettings.php:1 06233 #: src/Admin/GlobalSettings.php:195 135 234 msgctxt "global_settings" 136 235 msgid "Keep BTCPay Server store level configuration" 137 236 msgstr "" 138 237 139 #: src/Admin/GlobalSettings.php:1 07238 #: src/Admin/GlobalSettings.php:196 140 239 msgctxt "global_settings" 141 240 msgid "0 confirmation on-chain" 142 241 msgstr "" 143 242 144 #: src/Admin/GlobalSettings.php:1 08243 #: src/Admin/GlobalSettings.php:197 145 244 msgctxt "global_settings" 146 245 msgid "1 confirmation on-chain" 147 246 msgstr "" 148 247 149 #: src/Admin/GlobalSettings.php:1 09248 #: src/Admin/GlobalSettings.php:198 150 249 msgctxt "global_settings" 151 250 msgid "2 confirmations on-chain" 152 251 msgstr "" 153 252 154 #: src/Admin/GlobalSettings.php:1 10253 #: src/Admin/GlobalSettings.php:199 155 254 msgctxt "global_settings" 156 255 msgid "6 confirmations on-chain" 157 256 msgstr "" 158 257 159 #: src/Admin/GlobalSettings.php:121 258 #: src/Admin/GlobalSettings.php:210 259 msgid "Modal checkout" 260 msgstr "" 261 262 #: src/Admin/GlobalSettings.php:213 263 msgctxt "global_settings" 264 msgid "Opens a modal overlay on the checkout page instead of redirecting to BTCPay Server." 265 msgstr "" 266 267 #: src/Admin/GlobalSettings.php:217 160 268 msgid "Separate Payment Gateways" 161 269 msgstr "" 162 270 163 #: src/Admin/GlobalSettings.php: 124164 msgctxt "global_settings" 165 msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\" todo-input-link-here\" target=\"_blank\">full guide here</a>"166 msgstr "" 167 168 #: src/Admin/GlobalSettings.php: 128271 #: src/Admin/GlobalSettings.php:220 272 msgctxt "global_settings" 273 msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\"https://docs.btcpayserver.org/FAQ/Integrations/#how-to-configure-additional-token-support-separate-payment-gateways\" target=\"_blank\">full guide here</a>" 274 msgstr "" 275 276 #: src/Admin/GlobalSettings.php:224 169 277 msgid "Send customer data to BTCPayServer" 170 278 msgstr "" 171 279 172 #: src/Admin/GlobalSettings.php: 131280 #: src/Admin/GlobalSettings.php:227 173 281 msgctxt "global_settings" 174 282 msgid "If you want customer email, address, etc. sent to BTCPay Server enable this option. By default for privacy and GDPR reasons this is disabled." 175 283 msgstr "" 176 284 177 #: src/Admin/GlobalSettings.php:135 285 #: src/Admin/GlobalSettings.php:231 286 msgid "Sats-Mode" 287 msgstr "" 288 289 #: src/Admin/GlobalSettings.php:234 290 msgctxt "global_settings" 291 msgid "Makes Satoshis/Sats available as currency \"SAT\" (can be found in WooCommerce->Settings->General) and handles conversion to BTC before creating the invoice on BTCPay." 292 msgstr "" 293 294 #: src/Admin/GlobalSettings.php:238 178 295 msgid "Debug Log" 179 296 msgstr "" 180 297 181 #: src/Admin/GlobalSettings.php: 138298 #: src/Admin/GlobalSettings.php:241 182 299 msgctxt "global_settings" 183 300 msgid "Enable logging <a href=\"%s\" class=\"button\">View Logs</a>" 184 301 msgstr "" 185 302 186 #: src/Admin/GlobalSettings.php: 192303 #: src/Admin/GlobalSettings.php:273 187 304 msgid "The provided API key scope is valid for multiple stores, please make sure to create one for a single store." 188 305 msgstr "" 189 306 190 #: src/Admin/GlobalSettings.php:2 00307 #: src/Admin/GlobalSettings.php:281 191 308 msgid "The provided API key does not match the required permissions. Please make sure the following permissions are are given: %s" 192 309 msgstr "" 193 310 194 #: src/Admin/GlobalSettings.php:211 195 msgid "Reusing existing webhook." 196 msgstr "" 197 198 #: src/Admin/GlobalSettings.php:217 199 msgid "Successfully registered a new webhook on BTCPay Server." 200 msgstr "" 201 202 #: src/Admin/GlobalSettings.php:221 203 msgid "Could not register a new webhook on the store." 204 msgstr "" 205 206 #: src/Admin/GlobalSettings.php:231 311 #: src/Admin/GlobalSettings.php:295 312 msgid "Your BTCPay Server is not fully synched yet. Until fully synched the checkout will not work." 313 msgstr "" 314 315 #: src/Admin/GlobalSettings.php:304 316 msgid "Your BTCPay Server version does not support refunds, please update to at least version 1.7.6 or newer." 317 msgstr "" 318 319 #: src/Admin/GlobalSettings.php:310 320 msgid "Your api key does not support refunds, if you want to use that feature you need to create a new API key with permission. See our guide <a href=\"https://docs.btcpayserver.org/WooCommerce/#create-a-new-api-key\" target=\"_blank\" rel=\"noreferrer\">here</a>." 321 msgstr "" 322 323 #: src/Admin/GlobalSettings.php:333 324 #: src/Admin/GlobalSettings.php:354 325 msgid "Successfully setup manual webhook." 326 msgstr "" 327 328 #: src/Admin/GlobalSettings.php:337 329 msgid "Webhook already exists, skipping webhook creation." 330 msgstr "" 331 332 #: src/Admin/GlobalSettings.php:379 207 333 msgid "No wallet configured on your BTCPay Server store settings. Make sure to add at least one otherwise this plugin will not work." 208 334 msgstr "" 209 335 210 #: src/Admin/GlobalSettings.php:241 336 #: src/Admin/GlobalSettings.php:385 337 msgid "Exception loading wallet information (payment methods) from BTCPay Server: %s." 338 msgstr "" 339 340 #: src/Admin/GlobalSettings.php:394 211 341 msgid "Error fetching data for this API key from server. Please check if the key is valid. Error: %s" 212 342 msgstr "" 213 343 214 #: src/Gateway/AbstractGateway.php:2 5344 #: src/Gateway/AbstractGateway.php:26 215 345 #: src/Gateway/DefaultGateway.php:19 216 346 msgid "Proceed to BTCPay" 217 347 msgstr "" 218 348 219 #: src/Gateway/AbstractGateway.php: 60220 msgid " Use this image"349 #: src/Gateway/AbstractGateway.php:59 350 msgid "Enabled/Disabled" 221 351 msgstr "" 222 352 223 353 #: src/Gateway/AbstractGateway.php:61 224 msgid " Insert image"354 msgid "Enable this payment gateway." 225 355 msgstr "" 226 356 … … 249 379 msgstr "" 250 380 251 #: src/Gateway/AbstractGateway.php:160 381 #: src/Gateway/AbstractGateway.php:204 382 msgid "Refund of order " 383 msgstr "" 384 385 #: src/Gateway/AbstractGateway.php:282 252 386 msgid "Gateway Icon:" 253 387 msgstr "" 254 388 255 #: src/Gateway/AbstractGateway.php: 165389 #: src/Gateway/AbstractGateway.php:287 256 390 msgid "Upload or select icon" 257 391 msgstr "" 258 392 259 #: src/Gateway/AbstractGateway.php: 171393 #: src/Gateway/AbstractGateway.php:293 260 394 msgid "Remove image" 261 395 msgstr "" 262 396 263 #: src/Gateway/AbstractGateway.php:268 264 msgid "Invoice payment received after invoice was already expired." 265 msgstr "" 266 267 #: src/Gateway/AbstractGateway.php:272 268 msgid "Invoice (partial) payment received. Waiting for full payment." 269 msgstr "" 270 271 #: src/Gateway/AbstractGateway.php:282 397 #: src/Gateway/AbstractGateway.php:343 398 msgid "Use this image" 399 msgstr "" 400 401 #: src/Gateway/AbstractGateway.php:344 402 msgid "Insert image" 403 msgstr "" 404 405 #: src/Gateway/AbstractGateway.php:382 406 msgctxt "js" 407 msgid "The invoice expired. Please try again, choose a different payment method or contact us if you paid but the payment did not confirm in time." 408 msgstr "" 409 410 #: src/Gateway/AbstractGateway.php:383 411 msgctxt "js" 412 msgid "Payment aborted by you. Please try again or choose a different payment method." 413 msgstr "" 414 415 #: src/Gateway/AbstractGateway.php:463 416 msgid "Invoice (partial) payment incoming (unconfirmed) after invoice was already expired." 417 msgstr "" 418 419 #: src/Gateway/AbstractGateway.php:466 420 msgid "Invoice (partial) payment incoming (unconfirmed). Waiting for settlement." 421 msgstr "" 422 423 #: src/Gateway/AbstractGateway.php:485 424 msgid "Invoice fully settled after invoice was already expired. Needs manual checking." 425 msgstr "" 426 427 #: src/Gateway/AbstractGateway.php:490 428 msgid "(Partial) payment settled but invoice not settled yet (could be more transactions incoming). Needs manual checking." 429 msgstr "" 430 431 #: src/Gateway/AbstractGateway.php:494 432 msgid "Invoice (partial) payment settled." 433 msgstr "" 434 435 #: src/Gateway/AbstractGateway.php:504 272 436 msgid "Invoice payment received fully with overpayment, waiting for settlement." 273 437 msgstr "" 274 438 275 #: src/Gateway/AbstractGateway.php: 284439 #: src/Gateway/AbstractGateway.php:506 276 440 msgid "Invoice payment received fully, waiting for settlement." 277 441 msgstr "" 278 442 279 #: src/Gateway/AbstractGateway.php: 290443 #: src/Gateway/AbstractGateway.php:512 280 444 msgid "Invoice manually marked invalid." 281 445 msgstr "" 282 446 283 #: src/Gateway/AbstractGateway.php: 292447 #: src/Gateway/AbstractGateway.php:514 284 448 msgid "Invoice became invalid." 285 449 msgstr "" 286 450 287 #: src/Gateway/AbstractGateway.php: 298451 #: src/Gateway/AbstractGateway.php:520 288 452 msgid "Invoice expired but was paid partially, please check." 289 453 msgstr "" 290 454 291 #: src/Gateway/AbstractGateway.php: 301455 #: src/Gateway/AbstractGateway.php:523 292 456 msgid "Invoice expired." 293 457 msgstr "" 294 458 295 #: src/Gateway/AbstractGateway.php: 307459 #: src/Gateway/AbstractGateway.php:529 296 460 msgid "Invoice payment settled but was overpaid." 297 461 msgstr "" 298 462 299 #: src/Gateway/AbstractGateway.php: 310463 #: src/Gateway/AbstractGateway.php:532 300 464 msgid "Invoice payment settled." 465 msgstr "" 466 467 #: src/Gateway/AbstractGateway.php:575 468 msgid "BTCPay invoice manually set to invalid because customer went back to checkout and changed payment gateway." 301 469 msgstr "" 302 470 … … 317 485 msgstr "" 318 486 319 #: src/Helper/OrderStates.php:3 4487 #: src/Helper/OrderStates.php:36 320 488 msgctxt "global_settings" 321 489 msgid "New" 322 490 msgstr "" 323 491 324 #: src/Helper/OrderStates.php:3 5492 #: src/Helper/OrderStates.php:37 325 493 msgctxt "global_settings" 326 494 msgid "Paid" 327 495 msgstr "" 328 496 329 #: src/Helper/OrderStates.php:3 6497 #: src/Helper/OrderStates.php:38 330 498 msgctxt "global_settings" 331 499 msgid "Settled" 332 500 msgstr "" 333 501 334 #: src/Helper/OrderStates.php:3 7502 #: src/Helper/OrderStates.php:39 335 503 msgctxt "global_settings" 336 504 msgid "Settled (paid over)" 337 505 msgstr "" 338 506 339 #: src/Helper/OrderStates.php: 38507 #: src/Helper/OrderStates.php:40 340 508 msgctxt "global_settings" 341 509 msgid "Invalid" 342 510 msgstr "" 343 511 344 #: src/Helper/OrderStates.php: 39512 #: src/Helper/OrderStates.php:41 345 513 msgctxt "global_settings" 346 514 msgid "Expired" 347 515 msgstr "" 348 516 349 #: src/Helper/OrderStates.php:4 0517 #: src/Helper/OrderStates.php:42 350 518 msgctxt "global_settings" 351 519 msgid "Expired with partial payment" 352 520 msgstr "" 353 521 354 #: src/Helper/OrderStates.php:50 522 #: src/Helper/OrderStates.php:43 523 msgctxt "global_settings" 524 msgid "Expired (paid late)" 525 msgstr "" 526 527 #: src/Helper/OrderStates.php:53 355 528 msgctxt "global_settings" 356 529 msgid "- no mapping / defaults -" 357 530 msgstr "" 358 531 359 #: src/Helper/OrderStates.php:9 0532 #: src/Helper/OrderStates.php:93 360 533 msgctxt "global_settings" 361 534 msgid "By keeping default behavior for the \"Settled\" status you make sure that WooCommerce handles orders of virtual and downloadable products only properly and set those orders to \"complete\" instead of \"processing\" like for orders containing physical products." -
btcpay-greenfield-for-woocommerce/trunk/readme.txt
r2981570 r3010485 4 4 Tags: bitcoin, btcpay, BTCPay Server, btcpayserver, WooCommerce, payment gateway, accept bitcoin, bitcoin plugin, bitcoin payment processor, bitcoin e-commerce, Lightning Network, Litecoin, cryptocurrency 5 5 Requires at least: 5.2 6 Tested up to: 6. 36 Tested up to: 6.4 7 7 Requires PHP: 7.4 8 Stable tag: 2. 3.18 Stable tag: 2.4.0 9 9 License: MIT 10 10 License URI: https://github.com/btcpayserver/woocommerce-greenfield-plugin/blob/master/license.txt … … 14 14 == Description == 15 15 16 BTCPay Server is a free and open-source cryptocurrency payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman. 16 = Accept Bitcoin payments in your WooCommerce powered WordPress site with BTCPay Server = 17 17 18 BTCPay Server is a non-custodial invoicing system which eliminates the involvement of a third-party. Payments with BTCPay WooCommerce Plugin go directly to your wallet, which increases the privacy and security. Your private keys are never uploaded to the server. There is no address re-use since each invoice generates a new address deriving from your xPub key.18 BTCPay Server for WooCommerce is a revolutionary, self-hosted, open-source payment gateway to accept Bitcoin payments. Our** seamless integration** with WooCommerce allows you to connect your self-hosted [BTCPay Server](https://btcpayserver.org) and start accepting Bitcoin payments in **just a few simple steps**. 19 19 20 You can run BTCPay as a self-hosted solution on your own server, or use a third-party host. 20 = Features: = 21 21 22 The self-hosted solution allows you not only to attach an unlimited number of stores and use the Lightning Network but also become the payment processor for others. 22 * **Zero fees**: Enjoy a payment gateway with no fees. Yes, really! 23 * **Fully automated system**: BTCPay takes care of payments, invoice management and refunds automatically. 24 * **Display Bitcoin QR code at checkout**: Enhance customer experience with an easy and secure payment option. 25 * **No middlemen or KYC**: 26 * Direct, P2P payments (going directly to your wallet) 27 * Say goodbye to intermediaries and tedious paperwork 28 * Transaction information is only shared between you and your customer 29 * **Self-hosted infrastructure**: Maintain full control over your payment gateway. 30 * **Direct wallet payments**: Be your own bank with a self-custodial service. 31 * **Lightning Network** integrated out of the box - instant, fast and low cost payments and payouts 32 * **Reporting and accounting** - CSV exports 33 * **Advanced invoice managemen**t and refunding integrated in the WooCommerce UI 34 * **Real-time exchange price tracking **for correct payment amounts 35 * **Versatile plugin system**: 36 * Extend functionality according to your needs 37 * Accept payments in altcoins through various plugins 38 * **Elegant checkout design**: Compatible with all Bitcoin wallets and enhanced with your store's logo and branding for a unique UX. 39 * **Point-of-sale** integration - Accept payments in your physical shops 40 * **Multilingual ready**: Serve a global audience right out of the box. 41 * **Top-notch privacy and security**: Protect your and your customers' data. 42 * **Community-driven support**: Get responsive assistance from our dedicated community ([Mattermost](http://chat.btcpayserver.org) or [Telegram](https://t.me/btcpayserver)). 43 * Extensive [documentation](https://docs.btcpayserver.org/WooCommerce) and [video](https://www.youtube.com/c/btcpayserver) tutorials 23 44 24 * Direct, peer-to-peer Bitcoin and altcoin payments 25 * No transaction fees (other than mining fees by cryptocurrency network itself) 26 * No processing fees 27 * No middleman 28 * No KYC 29 * User has complete control over private keys 30 * Enhanced privacy (no address re-use, no IP leaks to third parties) 31 * Enhanced security 32 * Self-hosted 33 * SegWit, Taproot support 34 * Lightning Network support (LND, c-lightning and Eclair) 35 * Altcoin support 36 * Attach unlimited stores, process payments for friends 37 * Easy-embeddable Payment buttons 38 * Point of Sale app 45 The non-profit [BTCPay Server Foundation ](https://foundation.btcpayserver.org)is committed to keeping this powerful payment gateway free forever. Our mission is to enable anyone to accept bitcoin regardless of financial, technical, social or political barriers. 46 39 47 40 48 == Installation == … … 103 111 6. Example of the PoS app you can launch. 104 112 113 == Upgrade Notice == 114 = 2.4.0 = 115 * New feature: Add basic support for [WooCommerce cart and checkout blocks](https://woo.com/document/cart-checkout-blocks-status/). 116 105 117 == Changelog == 118 119 = 2.4.0 :: 2023-12-12 = 120 * Fix: Avoid error on InvoiceProcessing/InvoiceSettled event in case of paidOver property is missing. 121 * New feature: Add basic support for WooCommerce cart and checkout blocks. 122 Note: Works for default configuration; future versions will make it work with modal checkout and separate payment gateways too. 106 123 107 124 = 2.3.1 :: 2023-10-20 = -
btcpay-greenfield-for-woocommerce/trunk/src/Admin/GlobalSettings.php
r2963669 r3010485 30 30 if (is_admin()) { 31 31 // Register and include JS. 32 wp_register_script('btcpay_gf_global_settings', BTCPAYSERVER_PLUGIN_URL . 'assets/js/ apiKeyRedirect.js', ['jquery'], BTCPAYSERVER_VERSION);32 wp_register_script('btcpay_gf_global_settings', BTCPAYSERVER_PLUGIN_URL . 'assets/js/backend/apiKeyRedirect.js', ['jquery'], BTCPAYSERVER_VERSION); 33 33 wp_enqueue_script('btcpay_gf_global_settings'); 34 34 wp_localize_script( 'btcpay_gf_global_settings', -
btcpay-greenfield-for-woocommerce/trunk/src/Gateway/AbstractGateway.php
r2981570 r3010485 332 332 wp_register_script( 333 333 'btcpay_gf_abstract_gateway', 334 BTCPAYSERVER_PLUGIN_URL . 'assets/js/ gatewayIconMedia.js',334 BTCPAYSERVER_PLUGIN_URL . 'assets/js/backend/gatewayIconMedia.js', 335 335 ['jquery'], 336 336 BTCPAYSERVER_VERSION … … 364 364 wp_register_script( 365 365 'btcpay_gf_modal_checkout', 366 BTCPAYSERVER_PLUGIN_URL . 'assets/js/ modalCheckout.js',366 BTCPAYSERVER_PLUGIN_URL . 'assets/js/frontend/modalCheckout.js', 367 367 [ 'jquery' ], 368 368 BTCPAYSERVER_VERSION, … … 501 501 case 'InvoiceProcessing': // The invoice is paid in full. 502 502 $this->updateWCOrderStatus($order, $configuredOrderStates[OrderStates::PROCESSING]); 503 if ( $webhookData->overPaid) {503 if (isset($webhookData->overPaid) && $webhookData->overPaid) { 504 504 $order->add_order_note(__('Invoice payment received fully with overpayment, waiting for settlement.', 'btcpay-greenfield-for-woocommerce')); 505 505 } else { … … 526 526 case 'InvoiceSettled': 527 527 $order->payment_complete(); 528 if ( $webhookData->overPaid) {528 if (isset($webhookData->overPaid) && $webhookData->overPaid) { 529 529 $order->add_order_note(__('Invoice payment settled but was overpaid.', 'btcpay-greenfield-for-woocommerce')); 530 530 $this->updateWCOrderStatus($order, $configuredOrderStates[OrderStates::SETTLED_PAID_OVER]); … … 536 536 // Store payment data (exchange rate, address). 537 537 $this->updateWCOrderPayments($order); 538 539 538 break; 540 539 } -
btcpay-greenfield-for-woocommerce/trunk/src/Gateway/DefaultGateway.php
r2700264 r3010485 10 10 public function __construct() { 11 11 // Set the id first. 12 $this->id = 'btcpaygf_default';12 $this->id = 'btcpaygf_default'; 13 13 14 14 // Call parent constructor. … … 17 17 // todo: maybe make the button text configurable via settings. 18 18 // General gateway setup. 19 $this->order_button_text = __('Proceed to BTCPay', 'btcpay-greenfield-for-woocommerce');19 $this->order_button_text = __('Proceed to BTCPay', 'btcpay-greenfield-for-woocommerce'); 20 20 // Admin facing title and description. 21 $this->method_title = 'BTCPay (default)';21 $this->method_title = 'BTCPay (default)'; 22 22 $this->method_description = __('BTCPay default gateway supporting all available tokens on your BTCPay store.', 'btcpay-greenfield-for-woocommerce'); 23 23
Note: See TracChangeset
for help on using the changeset viewer.