Changeset 3357693
- Timestamp:
- 09/08/2025 08:47:37 AM (6 months ago)
- Location:
- woo-rabo-omnikassa
- Files:
-
- 49 added
- 9 edited
-
tags/2.3.2.1 (added)
-
tags/2.3.2.1/assets (added)
-
tags/2.3.2.1/assets/images (added)
-
tags/2.3.2.1/assets/images/icwoorok2_bancontact.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_bancontact.svg (added)
-
tags/2.3.2.1/assets/images/icwoorok2_icwoorok2_afterpay.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_ideal.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_ideal.svg (added)
-
tags/2.3.2.1/assets/images/icwoorok2_maestro.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_mastercard.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_paypal.svg (added)
-
tags/2.3.2.1/assets/images/icwoorok2_visa.png (added)
-
tags/2.3.2.1/assets/images/icwoorok2_vpay.png (added)
-
tags/2.3.2.1/assets/js (added)
-
tags/2.3.2.1/assets/js/bancontact.js (added)
-
tags/2.3.2.1/assets/js/cards.js (added)
-
tags/2.3.2.1/assets/js/ideal.js (added)
-
tags/2.3.2.1/assets/js/paypal.js (added)
-
tags/2.3.2.1/blocks (added)
-
tags/2.3.2.1/blocks/bancontact.php (added)
-
tags/2.3.2.1/blocks/cards.php (added)
-
tags/2.3.2.1/blocks/ideal.php (added)
-
tags/2.3.2.1/blocks/paypal.php (added)
-
tags/2.3.2.1/build (added)
-
tags/2.3.2.1/build/blocks.asset.php (added)
-
tags/2.3.2.1/build/blocks.js (added)
-
tags/2.3.2.1/controllers (added)
-
tags/2.3.2.1/controllers/icwoorok2-controller.php (added)
-
tags/2.3.2.1/gateways (added)
-
tags/2.3.2.1/gateways/abstract.php (added)
-
tags/2.3.2.1/gateways/bancontact.php (added)
-
tags/2.3.2.1/gateways/cards.php (added)
-
tags/2.3.2.1/gateways/ideal.php (added)
-
tags/2.3.2.1/gateways/paypal.php (added)
-
tags/2.3.2.1/ic-woo-omnikassa-2.php (added)
-
tags/2.3.2.1/includes (added)
-
tags/2.3.2.1/includes/functions.php (added)
-
tags/2.3.2.1/index.php (added)
-
tags/2.3.2.1/languages (added)
-
tags/2.3.2.1/languages/ic-woo-rabo-omnikassa-2-en_US.mo (added)
-
tags/2.3.2.1/languages/ic-woo-rabo-omnikassa-2-en_US.po (added)
-
tags/2.3.2.1/languages/ic-woo-rabo-omnikassa-2-nl_NL.mo (added)
-
tags/2.3.2.1/languages/ic-woo-rabo-omnikassa-2-nl_NL.po (added)
-
tags/2.3.2.1/readme.txt (added)
-
tags/2.3.2.1/temp (added)
-
tags/2.3.2.1/temp/cache (added)
-
tags/2.3.2.1/temp/cache/index.php (added)
-
tags/2.3.2.1/temp/logs (added)
-
tags/2.3.2.1/temp/logs/index.php (added)
-
trunk/controllers/icwoorok2-controller.php (modified) (2 diffs)
-
trunk/gateways/abstract.php (modified) (23 diffs)
-
trunk/ic-woo-omnikassa-2.php (modified) (3 diffs)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/languages/ic-woo-rabo-omnikassa-2-en_US.mo (modified) (previous)
-
trunk/languages/ic-woo-rabo-omnikassa-2-en_US.po (modified) (10 diffs)
-
trunk/languages/ic-woo-rabo-omnikassa-2-nl_NL.mo (modified) (previous)
-
trunk/languages/ic-woo-rabo-omnikassa-2-nl_NL.po (modified) (8 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-rabo-omnikassa/trunk/controllers/icwoorok2-controller.php
r3332728 r3357693 128 128 $bSandboxMode = (strcmp($sTestMode, 'yes') === 0); 129 129 130 $sApiUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($bSandboxMode ? '-sandbox' : '').'/order/server/api/v2/events/results/merchant.order.status.changed'; 130 // Valid signature, we can proceed with the notify call 131 $sApiUrl = icwoorok2_getDomain() .'/order/server/api/v2/events/results/merchant.order.status.changed'; 131 132 132 133 $aResult = []; … … 139 140 $aArguments['httpversion'] = '1.1'; 140 141 $aArguments['blocking'] = true; 141 $aArguments['headers'] = ['Expect' => '', 'Authorization' => 'Bearer '.$sAuthToken]; 142 $aArguments['headers'] = [ 143 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 144 'Authorization' => 'Bearer '.$sAuthToken 145 ]; 142 146 $aArguments['cookies'] = []; 143 147 -
woo-rabo-omnikassa/trunk/gateways/abstract.php
r3332728 r3357693 22 22 23 23 add_action('woocommerce_update_options_payment_gateways_'.$this->id, [$this, 'process_admin_options']); 24 25 26 // Load methods27 // add_action('woocommerce_create_refund', array($this, 'doRefund'));28 24 29 25 } … … 69 65 } 70 66 71 $sApiUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($this->getSandboxMode() ? '-sandbox' : '').'/gatekeeper/refresh'; 67 // No valid cache found, request new access token 68 $sApiUrl = icwoorok2_getDomain().'/gatekeeper/refresh'; 72 69 73 70 $aArguments = []; … … 77 74 $aArguments['httpversion'] = '1.1'; 78 75 $aArguments['blocking'] = true; 79 $aArguments['headers'] = ['Expect' => '', 'Authorization' => 'Bearer '.$this->getRefreshToken()]; 76 $aArguments['headers'] = [ 77 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 78 'Authorization' => 'Bearer '.$this->getRefreshToken() 79 ]; 80 80 $aArguments['cookies'] = []; 81 81 82 82 $oResponse = wp_remote_get($sApiUrl, $aArguments); 83 83 $sResponse = wp_remote_retrieve_body($oResponse); 84 $sStatusCode = wp_remote_retrieve_response_code($oResponse); 85 $sStatusMessage = wp_remote_retrieve_response_message($oResponse); 86 87 $bLogWebhook = $this->getSmartPayWebhookDebug(); 84 88 85 89 if (!empty($sResponse)) { … … 88 92 if (is_array($aToken) && sizeof($aToken)) { 89 93 if (!empty($aToken['errorCode']) && !empty($aToken['errorMessage'])) { 90 return ''; 94 95 // Log the data 96 if ($bLogWebhook) { 97 $sLogMessage = 'Rabo Smart Pay Gatekeeper error: '.json_encode([ 98 'status_code' => $sStatusCode, 99 'status_message' => $sStatusMessage, 100 'response' => $aToken 101 ]); 102 error_log($sLogMessage); 103 } 104 105 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('Invalid response received from Rabo Smart Pay! Received error code.', 'ic-woo-rabo-omnikassa-2'), 402); 91 106 } else { 92 107 // Save data in cache? … … 98 113 } 99 114 } else { 100 if ($this->getSandboxMode()) { 101 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('Invalid response received from Rabo Smart Pay!', 'ic-woo-rabo-omnikassa-2'), 402); 115 // Check if JSON error 116 $jsonError = json_last_error(); 117 118 // Log statuscode and message 119 if ($bLogWebhook) { 120 $sLogMessage = 'Rabo Smart Pay Gatekeeper error: '.json_encode([ 121 'status_code' => $sStatusCode, 122 'status_message' => $sStatusMessage, 123 'json_error' => $jsonError, 124 'response' => $sResponse 125 ]); 126 error_log($sLogMessage); 102 127 } 128 129 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('Invalid response received from Rabo Smart Pay!', 'ic-woo-rabo-omnikassa-2'), 402); 103 130 } 104 131 } else { 132 // Log statuscode and message 133 if ($bLogWebhook) { 134 $sLogMessage = 'Rabo Smart Pay Gatekeeper error: '.json_encode([ 135 'status_code' => $sStatusCode, 136 'status_message' => $sStatusMessage, 137 'response' => $sResponse 138 ]); 139 error_log($sLogMessage); 140 } 141 105 142 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('Accesstoken could not be generated, please check the configuration.', 'ic-woo-rabo-omnikassa-2'), 402); 143 } 144 145 // Log statuscode and message 146 if ($bLogWebhook) { 147 $sLogMessage = 'Rabo Smart Pay Gatekeeper error: '.json_encode([ 148 'status_code' => $sStatusCode, 149 'status_message' => $sStatusMessage, 150 'response' => $sResponse 151 ]); 152 error_log($sLogMessage); 106 153 } 107 154 … … 294 341 $aRequest['paymentBrand'] = strtoupper(substr($this->getPaymentCode(), 10)); 295 342 $aRequest['paymentBrandForce'] = 'FORCE_ONCE'; 296 343 $aRequest['skipHppResultPage'] = 'true'; 344 297 345 // Customer Name 298 346 $aRequest['customerInformation']['fullName'] = $aOrderData['billing']['first_name'].' '.$aOrderData['billing']['last_name']; … … 301 349 $aRequest['customerInformation']['emailAddress'] = $aOrderData['billing']['email']; 302 350 303 if (!$this->getSandboxMode()) { 304 $aRequest['skipHppResultPage'] = 'true'; 305 } 306 307 $sApiUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($this->getSandboxMode() ? '-sandbox' : '').'/order/server/api/v2/order'; 351 $sApiUrl = icwoorok2_getDomain().'/order/server/api/v2/order'; 308 352 309 353 $aArguments = []; … … 313 357 $aArguments['httpversion'] = '1.1'; 314 358 $aArguments['blocking'] = true; 315 $aArguments['headers'] = ['Expect' => '', 'Content-Type' => 'application/json', 'Authorization' => 'Bearer '.$sAccessToken]; 359 $aArguments['headers'] = [ 360 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 361 'Content-Type' => 'application/json', 362 'Authorization' => 'Bearer '.$sAccessToken 363 ]; 316 364 $aArguments['cookies'] = []; 317 365 318 366 $oResponse = wp_remote_post($sApiUrl, $aArguments); 319 367 $sResponse = wp_remote_retrieve_body($oResponse); 368 $sStatusCode = wp_remote_retrieve_response_code($oResponse); 369 $sStatusMessage = wp_remote_retrieve_response_message($oResponse); 320 370 321 371 if (!empty($sResponse)) { … … 346 396 } 347 397 } else { 348 $oOrder->add_order_note('Order announcement could not be decoded, something wrong with the data received?'); 398 399 $jsonError = json_last_error_msg(); 400 401 $oOrder->add_order_note(__('Order announcement could not be decoded, something wrong with the data received? Error: ', 'ic-woo-rabo-omnikassa-2') . $jsonError); 349 402 350 403 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('Something went wrong, please try again!', 'ic-woo-rabo-omnikassa-2'), 402); 351 404 } 352 405 } else { 353 $oOrder->add_order_note(__('No response received from the Rabobank. ', 'ic-woo-rabo-omnikassa-2'));354 355 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('No response received from the Rabobank. ', 'ic-woo-rabo-omnikassa-2'), 402);406 $oOrder->add_order_note(__('No response received from the Rabobank. Received status code: ', 'ic-woo-rabo-omnikassa-2').$sStatusCode.' - '.$sStatusMessage); 407 408 throw new RouteException('woocommerce_rest_checkout_process_payment_error', __('No response received from the Rabobank. Received status code: ', 'ic-woo-rabo-omnikassa-2').$sStatusCode.' - '.$sStatusMessage, 402); 356 409 } 357 410 } … … 391 444 } 392 445 393 wp_send_json_error(__('No transaction ID found for this order, wait for the webhook to be triggered.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}446 return new WP_Error('no_transaction_id', __('No transaction ID found for this order, wait for the webhook to be triggered.', 'ic-woo-rabo-omnikassa-2')); 394 447 } 395 448 396 449 $accessToken = $this->getAccessToken(); 397 450 398 $apiUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($this->getSandboxMode() ? '-sandbox' : '').'/order/server/api/v2/refund/transactions/'.$transactionId.'/refundable-details';451 $apiUrl = icwoorok2_getDomain().'/order/server/api/v2/refund/transactions/'.$transactionId.'/refundable-details'; 399 452 400 453 $args = []; … … 405 458 $args['blocking'] = true; 406 459 $args['headers'] = [ 407 ' Expect' => '',460 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 408 461 'Authorization' => 'Bearer '.$accessToken 409 462 ]; … … 417 470 $error_message = $curl->get_error_message(); 418 471 472 $order->add_order_note(__('Error retrieving refund details from Rabobank: ', 'ic-woo-rabo-omnikassa-2').$error_message); 473 419 474 // Log the error 420 475 if ($enableDebug) { … … 422 477 } 423 478 424 wp_send_json_error($error_message, 400); // {"success":false} 479 return new WP_Error('error_refund_details', $error_message); 480 481 // wp_send_json_error($error_message, 400); // {"success":false} 482 } 483 484 // Check if we have response code 200 485 if($statusCode !== 200) { 486 $order->add_order_note(__('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2').$statusCode); 487 488 // Log the error 489 if ($enableDebug) { 490 error_log('Error placing the refund at Rabobank for transaction '.$transactionId.', got status code: '.$statusCode); 491 } 492 493 return new WP_Error('invalid_statuscode', __('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2')); 494 425 495 } 426 496 427 497 if (empty($response)) { 428 429 498 $order->add_order_note(__('No response received from the Rabobank, we got status code '.$statusCode, 'ic-woo-rabo-omnikassa-2')); 430 499 … … 434 503 } 435 504 436 wp_send_json_error(__('No response received from the Rabobank, we got status code '.$statusCode, 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}505 return new WP_Error('no_response', __('No response received from the Rabobank, we got status code '.$statusCode, 'ic-woo-rabo-omnikassa-2')); 437 506 } 438 507 … … 448 517 } 449 518 450 wp_send_json_error(__('Invalid response received from the Rabobank.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}519 return new WP_Error('invalid_response', __('Invalid response received from the Rabobank.', 'ic-woo-rabo-omnikassa-2')); 451 520 } 452 521 … … 458 527 $order->add_order_note(__('Refund amount exceeds the maximum refundable amount.', 'ic-woo-rabo-omnikassa-2')); 459 528 460 wp_send_json_error(__('Refund amount exceeds the maximum refundable amount.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}529 return new WP_Error('amount_exceeds', __('Refund amount exceeds the maximum refundable amount.', 'ic-woo-rabo-omnikassa-2')); 461 530 } 462 531 } 463 532 464 533 // We can proceed with the refund 465 $refundApiUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($this->getSandboxMode() ? '-sandbox' : '').'/order/server/api/v2/refund/transactions/'.$transactionId.'/refunds';534 $refundApiUrl = icwoorok2_getDomain().'/order/server/api/v2/refund/transactions/'.$transactionId.'/refunds'; 466 535 467 536 $refundBody = []; … … 485 554 $refundArgs['blocking'] = true; 486 555 $refundArgs['headers'] = [ 487 ' Expect' => '',556 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 488 557 'Content-Type' => 'application/json', 489 558 'Authorization' => 'Bearer '.$accessToken, … … 506 575 } 507 576 508 wp_send_json_error($error_message, 400); // {"success":false} 577 return new WP_Error('no_response', __('No response received from the Rabobank, we got status code '.$refundStatusCode, 'ic-woo-rabo-omnikassa-2')); 578 } 579 580 // Check if we have response code 201 581 if($refundStatusCode !== 201) { 582 $order->add_order_note(__('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2').$refundStatusCode); 583 584 // Log the error 585 if ($enableDebug) { 586 error_log('Error placing the refund at Rabobank for transaction '.$transactionId.', got status code: '.$refundStatusCode); 587 } 588 589 return new WP_Error('invalid_response', __('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2').$refundStatusCode); 509 590 } 510 591 511 592 if (empty($refundResponse)) { 512 $order->add_order_note(__('No response received when placing the refund at Rabobank ', 'ic-woo-rabo-omnikassa-2'));593 $order->add_order_note(__('No response received when placing the refund at Rabobank.', 'ic-woo-rabo-omnikassa-2')); 513 594 514 595 // Log the error … … 517 598 } 518 599 519 wp_send_json_error(__('No response received when placing the refund at Rabobank.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}600 return new WP_Error('no_response', __('No response received when placing the refund at Rabobank.', 'ic-woo-rabo-omnikassa-2')); 520 601 } 521 602 522 603 $refundData = json_decode($refundResponse, true); 523 604 605 // Check if array 606 if(!is_array($refundData) || empty($refundData)) { 607 $order->add_order_note(__('Invalid response received from Rabobank when placing the refund.', 'ic-woo-rabo-omnikassa-2')); 608 609 // Log the error 610 if ($enableDebug) { 611 error_log('Could not decode the response from Rabobank for transaction '.$transactionId.'. JSON error: '. json_last_error_msg()); 612 } 613 614 return new WP_Error('invalid_response', __('Invalid response received from Rabobank when placing the refund.', 'ic-woo-rabo-omnikassa-2')); 615 } 616 617 // Check if we have a refundId 618 if( !isset($refundData['refundId']) || empty($refundData['refundId'])) { 619 $order->add_order_note(__('No refund ID received from Rabobank.', 'ic-woo-rabo-omnikassa-2')); 620 621 // Log the error 622 if ($enableDebug) { 623 error_log('No refund ID received from Rabobank for transaction '.$transactionId); 624 } 625 626 return new WP_Error('no_refund_id', __('No refund ID received from Rabobank.', 'ic-woo-rabo-omnikassa-2')); 627 } 628 629 524 630 $refundId = $refundData['refundId']; 525 631 526 632 // Check if the refund was successful 527 $refundCheckUrl = 'https://betalen.rabobank.nl/omnikassa-api'.($this->getSandboxMode() ? '-sandbox' : '').'/order/server/api/v2/refund/transactions/'.$transactionId.'/refunds/'.$refundId; 528 633 $refundCheckUrl = icwoorok2_getDomain().'/order/server/api/v2/refund/transactions/'.$transactionId.'/refunds/'.$refundId; 529 634 530 635 $refundCheckArgs = []; … … 535 640 $refundCheckArgs['blocking'] = true; 536 641 $refundCheckArgs['headers'] = [ 537 ' Expect' => '',642 'User-Agent' => 'WP/'.get_bloginfo('version').'; WC/'.WC_VERSION.'; IC/'.ICWOOROK_VERSION.';', 538 643 'Authorization' => 'Bearer '.$accessToken, 539 644 ]; … … 549 654 $order->add_order_note(__('Error checking the refund status at Rabobank: ', 'ic-woo-rabo-omnikassa-2').$error_message); 550 655 551 552 wp_send_json_error($error_message, 400); // {"success":false} 656 // Log the error 657 if ($enableDebug) { 658 error_log('Error checking the refund status at Rabobank for transaction '.$transactionId.': '.$error_message); 659 } 660 661 return new WP_Error('curl_error', $error_message); 662 } 663 664 // Check if we have response code 200 665 if($refundCheckStatusCode !== 200) { 666 $order->add_order_note(__('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2').$refundCheckStatusCode); 667 668 // Log the error 669 if ($enableDebug) { 670 error_log('Error placing the refund at Rabobank for transaction '.$transactionId.', got status code: '.$refundCheckStatusCode); 671 } 672 673 return new WP_Error('invalid_response', __('Error placing the refund at Rabobank, received status code: ', 'ic-woo-rabo-omnikassa-2').$refundCheckStatusCode); 553 674 } 554 675 … … 561 682 } 562 683 563 wp_send_json_error(__('Could not retrieve refund status from Rabobank.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}684 return new WP_Error('no_response', __('Could not retrieve refund status from Rabobank.', 'ic-woo-rabo-omnikassa-2')); 564 685 } 565 686 … … 579 700 $order->add_order_note(__('Refund failed for transaction', 'ic-woo-rabo-omnikassa-2').': '.$transactionId); 580 701 581 wp_send_json_error(__('Refund failed.', 'ic-woo-rabo-omnikassa-2'), 400); // {"success":false}702 return new WP_Error('refund_failed', __('Refund failed.', 'ic-woo-rabo-omnikassa-2')); 582 703 } 583 704 } -
woo-rabo-omnikassa/trunk/ic-woo-omnikassa-2.php
r3332728 r3357693 15 15 * Text Domain: ic-woo-omnikassa-2 16 16 * Domain Path: /languages 17 * Version: 2.3.2 17 * Version: 2.3.2.1 18 18 * Requires at least: 5.8 19 19 * Tested up to: 6.8.2 … … 31 31 define('ICWOOROK_ROOT_PATH', plugin_dir_path(__FILE__)); 32 32 define('ICWOOROK_ROOT_URL', plugin_dir_url(__FILE__)); 33 define('ICWOOROK_VERSION', '2.3.2 ');33 define('ICWOOROK_VERSION', '2.3.2.1'); 34 34 35 35 // Load default plugin functions … … 234 234 ]; 235 235 236 $settings[] = array( 237 'type' => 'sectionend', 238 'id' => 'icwoorok2_api_options', 239 ); 240 241 // Optional settings 242 $settings[] = [ 243 'name' => __('Optional settings', 'ic-woo-rabo-omnikassa-2'), 244 'type' => 'title', 245 'desc' => __('Below you can find optional settings for the payment handling to Rabo Smart Pay.', 'ic-woo-rabo-omnikassa-2'), 246 'id' => 'icwoorok2_optional_settings', 247 ]; 248 249 $settings[] = [ 250 'name' => __('Use old domain', 'ic-woo-rabo-omnikassa-2'), 251 'type' => 'checkbox', 252 'label' => __('Enable the the use of the old domain, instead of the new one.', 'ic-woo-rabo-omnikassa-2'), 253 'default' => 'no', 254 'desc' => '<p>'.__('Enable the the use of the old domain, instead of the new one. Keep in mind, some features may not be available when using the old domain.', 'ic-woo-rabo-omnikassa-2').'</p>', 255 'id' => 'icwoorok2_use_old_domain', 256 ]; 257 236 258 $settings[] = [ 237 259 'name' => __('Debug webhook and refunds', 'ic-woo-rabo-omnikassa-2'), -
woo-rabo-omnikassa/trunk/includes/functions.php
r2954796 r3357693 92 92 return null; 93 93 } 94 95 function icwoorok2_getDomain() 96 { 97 $useOldDomain = get_option('icwoorok2_use_old_domain') === 'yes'; 98 $bSandboxMode = get_option('icwoorok2_sandbox') === 'yes'; 99 100 if ($useOldDomain) { 101 if($bSandboxMode) { 102 return 'https://betalen.rabobank.nl/omnikassa-api-sandbox'; 103 } else { 104 return 'https://betalen.rabobank.nl/omnikassa-api'; 105 } 106 } else { 107 if($bSandboxMode) { 108 return 'https://api.pay-sandbox.rabobank.nl/omnikassa-api'; 109 } else { 110 return 'https://api.pay.rabobank.nl/omnikassa-api'; 111 } 112 } 113 } -
woo-rabo-omnikassa/trunk/languages/ic-woo-rabo-omnikassa-2-en_US.po
r3332728 r3357693 2 2 msgstr "" 3 3 "Project-Id-Version: \n" 4 "POT-Creation-Date: 2025-0 7-21 11:55+0200\n"5 "PO-Revision-Date: 2025-0 7-21 11:55+0200\n"4 "POT-Creation-Date: 2025-09-08 10:17+0200\n" 5 "PO-Revision-Date: 2025-09-08 10:18+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 "X-Generator: Poedit 3. 6\n"13 "X-Generator: Poedit 3.7\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;__(\n" … … 60 60 "Order updated, check Smart Pay dashboard for status before sending products" 61 61 msgstr "" 62 "Order not updated, check Smart Pay dashboard for status before sending " 63 "products" 62 "Order updated, check Smart Pay dashboard for status before sending products" 64 63 65 64 #: controllers/icwoorok2-controller.php:69 … … 94 93 "normally done through a POST with data." 95 94 96 #: controllers/icwoorok2-controller.php: 19695 #: controllers/icwoorok2-controller.php:200 97 96 msgid "Status received from Rabo Smart Pay Webhook: " 98 97 msgstr "Status received from Rabo Smart Pay Webhook: " 99 98 100 #: controllers/icwoorok2-controller.php:20 499 #: controllers/icwoorok2-controller.php:208 101 100 msgid "Update order status: Payment Completed" 102 101 msgstr "Update order status: Payment Completed" 103 102 104 #: controllers/icwoorok2-controller.php:2 18103 #: controllers/icwoorok2-controller.php:222 105 104 msgid "Order status not updated: Payment status already received" 106 105 msgstr "Order status not updated: Payment status already received" 107 106 108 #: controllers/icwoorok2-controller.php:2 27107 #: controllers/icwoorok2-controller.php:231 109 108 msgid "" 110 109 "<br>Payment is cancelled or expired, but will be cancelled automaticly by " … … 114 113 "WooCommerce." 115 114 116 #: controllers/icwoorok2-controller.php:23 1115 #: controllers/icwoorok2-controller.php:235 117 116 msgid "<br>Update order status: Failed." 118 117 msgstr "<br>Update order status: Failed." 119 118 120 #: controllers/icwoorok2-controller.php:2 36119 #: controllers/icwoorok2-controller.php:240 121 120 msgid "<br>Update order status: Cancelled" 122 121 msgstr "<br>Update order status: Cancelled" 123 122 124 #: controllers/icwoorok2-controller.php:2 47123 #: controllers/icwoorok2-controller.php:251 125 124 msgid "<br>No Final status has been found." 126 125 msgstr "<br>No Final status has been found." 127 126 128 #: controllers/icwoorok2-controller.php:25 2127 #: controllers/icwoorok2-controller.php:256 129 128 msgid "<br>Transaction ID updated." 130 129 msgstr "<br>Transaction ID updated." 131 130 132 #: controllers/icwoorok2-controller.php:26 2131 #: controllers/icwoorok2-controller.php:266 133 132 msgid "" 134 133 "<br>Order doesnt have the correct status to be changed by the payment method." … … 141 140 msgstr "Enable this method to receive transactions with Rabo Smart Pay - %s " 142 141 143 #: gateways/abstract.php:101 142 #: gateways/abstract.php:109 143 msgid "Invalid response received from Rabo Smart Pay! Received error code." 144 msgstr "Invalid response received from Rabo Smart Pay! Received error code." 145 146 #: gateways/abstract.php:133 144 147 msgid "Invalid response received from Rabo Smart Pay!" 145 148 msgstr "Invalid response received from Rabo Smart Pay!" 146 149 147 #: gateways/abstract.php:1 05 gateways/abstract.php:108150 #: gateways/abstract.php:146 gateways/abstract.php:159 148 151 msgid "Accesstoken could not be generated, please check the configuration." 149 152 msgstr "Accesstoken could not be generated, please check the configuration." 150 153 151 #: gateways/abstract.php:1 26154 #: gateways/abstract.php:177 152 155 msgid " via Rabo Smart Pay" 153 156 msgstr " via Rabo Smart Pay" 154 157 155 #: gateways/abstract.php: 176158 #: gateways/abstract.php:227 156 159 msgid "Rabo Smart Pay Documentation" 157 160 msgstr "Rabo Smart Pay Documentation" 158 161 159 #: gateways/abstract.php: 178162 #: gateways/abstract.php:229 160 163 msgid "Go to documentation" 161 164 msgstr "Go to documentation" 162 165 163 #: gateways/abstract.php: 183166 #: gateways/abstract.php:234 164 167 msgid "Rabo Smart Pay - Merchant Settings" 165 168 msgstr "Rabo Smart Pay - Merchant Settings" 166 169 167 #: gateways/abstract.php: 185170 #: gateways/abstract.php:236 168 171 msgid "The Rabo Smart Pay merchant settings can now be found under the" 169 172 msgstr "The Rabo Smart Pay merchant settings can now be found under the" 170 173 171 #: gateways/abstract.php: 189174 #: gateways/abstract.php:240 172 175 msgid "Enable/Disable" 173 176 msgstr "Enable/Disable" 174 177 175 #: gateways/abstract.php: 191178 #: gateways/abstract.php:242 176 179 msgid "Enable Rabo Smart Pay" 177 180 msgstr "Enable Rabo Smart Pay" 178 181 179 #: gateways/abstract.php: 196182 #: gateways/abstract.php:247 180 183 msgid "Title" 181 184 msgstr "Title" 182 185 183 #: gateways/abstract.php: 198186 #: gateways/abstract.php:249 184 187 msgid "This controls the title which the user sees during checkout." 185 188 msgstr "This controls the title which the user sees during checkout." 186 189 187 #: gateways/abstract.php:2 04190 #: gateways/abstract.php:255 188 191 msgid "Customer Message after payment select" 189 192 msgstr "Customer Message after payment select" 190 193 191 #: gateways/abstract.php:2 10194 #: gateways/abstract.php:261 192 195 msgid "Description on receipt" 193 196 msgstr "Description on receipt" 194 197 195 #: gateways/abstract.php:3 27198 #: gateways/abstract.php:381 196 199 msgid "Rabo Smart Pay payment started with:" 197 200 msgstr "Rabo Smart Pay payment started with:" 198 201 199 #: gateways/abstract.php:3 27202 #: gateways/abstract.php:381 200 203 msgid "For amount: " 201 204 msgstr "For amount: " 202 205 203 #: gateways/abstract.php:3 43206 #: gateways/abstract.php:397 204 207 msgid "Smart Pay returned an error! Code:" 205 208 msgstr "Smart Pay returned an error! Code:" 206 209 207 #: gateways/abstract.php:3 43210 #: gateways/abstract.php:397 208 211 msgid "Check our FAQ:" 209 212 msgstr "Check our FAQ:" 210 213 211 #: gateways/abstract.php:3 43214 #: gateways/abstract.php:397 212 215 msgid "Rabo Smart Pay Error codes" 213 216 msgstr "Rabo Smart Pay Error codes" 214 217 215 #: gateways/abstract.php:350 218 #: gateways/abstract.php:405 219 msgid "" 220 "Order announcement could not be decoded, something wrong with the data " 221 "received? Error: " 222 msgstr "" 223 "Order announcement could not be decoded, something wrong with the data " 224 "received? Error: " 225 226 #: gateways/abstract.php:407 216 227 msgid "Something went wrong, please try again!" 217 228 msgstr "Something went wrong, please try again!" 218 229 219 #: gateways/abstract.php: 353 gateways/abstract.php:355220 msgid "No response received from the Rabobank. "221 msgstr "No response received from the Rabobank. "222 223 #: gateways/abstract.php: 364230 #: gateways/abstract.php:410 gateways/abstract.php:412 231 msgid "No response received from the Rabobank. Received status code: " 232 msgstr "No response received from the Rabobank. Received status code: " 233 234 #: gateways/abstract.php:421 224 235 msgid "Invalid order ID." 225 236 msgstr "Invalid order ID." 226 237 227 #: gateways/abstract.php: 369238 #: gateways/abstract.php:426 228 239 msgid "This order was not paid with this gateway." 229 240 msgstr "This order was not paid with this gateway." 230 241 231 #: gateways/abstract.php: 374242 #: gateways/abstract.php:431 232 243 msgid "Invalid refund amount." 233 244 msgstr "Invalid refund amount." 234 245 235 #: gateways/abstract.php: 386 gateways/abstract.php:392246 #: gateways/abstract.php:444 gateways/abstract.php:450 236 247 msgid "" 237 248 "No transaction ID found for this order, wait for the webhook to be triggered." … … 239 250 "No transaction ID found for this order, wait for the webhook to be triggered." 240 251 241 #: gateways/abstract.php:428 gateways/abstract.php:435 252 #: gateways/abstract.php:476 253 msgid "Error retrieving refund details from Rabobank: " 254 msgstr "Error retrieving refund details from Rabobank: " 255 256 #: gateways/abstract.php:490 gateways/abstract.php:497 257 #: gateways/abstract.php:586 gateways/abstract.php:593 258 #: gateways/abstract.php:670 gateways/abstract.php:677 259 msgid "Error placing the refund at Rabobank, received status code: " 260 msgstr "Error placing the refund at Rabobank, received status code: " 261 262 #: gateways/abstract.php:502 gateways/abstract.php:509 263 #: gateways/abstract.php:581 242 264 msgid "No response received from the Rabobank, we got status code " 243 265 msgstr "No response received from the Rabobank, we got status code " 244 266 245 #: gateways/abstract.php: 442 gateways/abstract.php:449267 #: gateways/abstract.php:516 gateways/abstract.php:523 246 268 msgid "Invalid response received from the Rabobank." 247 269 msgstr "Invalid response received from the Rabobank." 248 270 249 #: gateways/abstract.php: 457 gateways/abstract.php:459271 #: gateways/abstract.php:531 gateways/abstract.php:533 250 272 msgid "Refund amount exceeds the maximum refundable amount." 251 273 msgstr "Refund amount exceeds the maximum refundable amount." 252 274 253 #: gateways/abstract.php:5 00275 #: gateways/abstract.php:574 254 276 msgid "Error placing the refund at Rabobank: " 255 277 msgstr "Error placing the refund at Rabobank: " 256 278 257 #: gateways/abstract.php:511 258 msgid "No response received when placing the refund at Rabobank" 259 msgstr "No response received when placing the refund at Rabobank" 260 261 #: gateways/abstract.php:518 279 #: gateways/abstract.php:597 gateways/abstract.php:604 262 280 msgid "No response received when placing the refund at Rabobank." 263 281 msgstr "No response received when placing the refund at Rabobank." 264 282 265 #: gateways/abstract.php:548 283 #: gateways/abstract.php:611 gateways/abstract.php:618 284 msgid "Invalid response received from Rabobank when placing the refund." 285 msgstr "Invalid response received from Rabobank when placing the refund." 286 287 #: gateways/abstract.php:623 gateways/abstract.php:630 288 msgid "No refund ID received from Rabobank." 289 msgstr "No refund ID received from Rabobank." 290 291 #: gateways/abstract.php:658 266 292 msgid "Error checking the refund status at Rabobank: " 267 293 msgstr "Error checking the refund status at Rabobank: " 268 294 269 #: gateways/abstract.php: 555 gateways/abstract.php:562295 #: gateways/abstract.php:681 gateways/abstract.php:688 270 296 msgid "Could not retrieve refund status from Rabobank." 271 297 msgstr "Could not retrieve refund status from Rabobank." 272 298 273 #: gateways/abstract.php: 570299 #: gateways/abstract.php:696 274 300 msgid "Refund successful for transaction" 275 301 msgstr "Refund successful for transaction" 276 302 277 #: gateways/abstract.php: 574303 #: gateways/abstract.php:700 278 304 msgid "" 279 305 "Refund request has been submitted to Rabobank and is awaiting processing" … … 281 307 "Refund request has been submitted to Rabobank and is awaiting processing" 282 308 283 #: gateways/abstract.php: 578309 #: gateways/abstract.php:704 284 310 msgid "Refund failed for transaction" 285 311 msgstr "Refund failed for transaction" 286 312 287 #: gateways/abstract.php: 580313 #: gateways/abstract.php:706 288 314 msgid "Refund failed." 289 315 msgstr "Refund failed." … … 341 367 msgstr "Please make sure you enter the sandbox credentials if checked." 342 368 343 #: ic-woo-omnikassa-2.php:237 369 #: ic-woo-omnikassa-2.php:243 370 msgid "Optional settings" 371 msgstr "Optional settings" 372 373 #: ic-woo-omnikassa-2.php:245 374 msgid "" 375 "Below you can find optional settings for the payment handling to Rabo Smart " 376 "Pay." 377 msgstr "" 378 "Below you can find optional settings for the payment handling to Rabo Smart " 379 "Pay." 380 381 #: ic-woo-omnikassa-2.php:250 382 msgid "Use old domain" 383 msgstr "Use old domain" 384 385 #: ic-woo-omnikassa-2.php:252 386 msgid "Enable the the use of the old domain, instead of the new one." 387 msgstr "Enable the the use of the old domain, instead of the new one." 388 389 #: ic-woo-omnikassa-2.php:254 390 msgid "" 391 "Enable the the use of the old domain, instead of the new one. Keep in mind, " 392 "some features may not be available when using the old domain." 393 msgstr "" 394 "Enable the the use of the old domain, instead of the new one. Keep in mind, " 395 "some features may not be available when using the old domain." 396 397 #: ic-woo-omnikassa-2.php:259 344 398 msgid "Debug webhook and refunds" 345 399 msgstr "Debug webhook and refunds" 346 400 347 #: ic-woo-omnikassa-2.php:2 39401 #: ic-woo-omnikassa-2.php:261 348 402 msgid "Enable the webhook and refunds debug" 349 403 msgstr "Enable the webhook and refunds debug" 350 404 351 #: ic-woo-omnikassa-2.php:2 41405 #: ic-woo-omnikassa-2.php:263 352 406 msgid "" 353 407 "Additional logging will be activated and placed in the debug.log of " … … 356 410 "Additional logging will be activated and placed in the debug.log of " 357 411 "Wordpress." 412 413 #~ msgid "Invalid response received from Rabo Smart Pay! Could not be decoded." 414 #~ msgstr "" 415 #~ "Invalid response received from Rabo Smart Pay! Could not be decoded." 416 417 #~ msgid "No response received when placing the refund at Rabobank" 418 #~ msgstr "No response received when placing the refund at Rabobank" 358 419 359 420 #~ msgid "Order not found." -
woo-rabo-omnikassa/trunk/languages/ic-woo-rabo-omnikassa-2-nl_NL.po
r3332728 r3357693 2 2 msgstr "" 3 3 "Project-Id-Version: IC Rabo OmniKassa for WooCommerce\n" 4 "POT-Creation-Date: 2025-0 7-21 11:56+0200\n"5 "PO-Revision-Date: 2025-0 7-21 11:58+0200\n"4 "POT-Creation-Date: 2025-09-08 10:18+0200\n" 5 "PO-Revision-Date: 2025-09-08 10:23+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 "X-Generator: Poedit 3. 6\n"13 "X-Generator: Poedit 3.7\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __\n" … … 60 60 "Order updated, check Smart Pay dashboard for status before sending products" 61 61 msgstr "" 62 "Bestelling niet aangepast, raadpleeg uw Rabo Smart Pay dashboard voordat u"63 " producten verzend"62 "Bestelling bijgewerkt, controleer Smart Pay-dashboard voor de status voordat " 63 "je producten verzendt" 64 64 65 65 #: controllers/icwoorok2-controller.php:69 … … 94 94 "gebeurt normaal gesproken via een POST met gegevens." 95 95 96 #: controllers/icwoorok2-controller.php: 19696 #: controllers/icwoorok2-controller.php:200 97 97 msgid "Status received from Rabo Smart Pay Webhook: " 98 98 msgstr "Status ontvangen van de Rabo Smart Pay webhook: " 99 99 100 #: controllers/icwoorok2-controller.php:20 4100 #: controllers/icwoorok2-controller.php:208 101 101 msgid "Update order status: Payment Completed" 102 102 msgstr "Update order status: Betaling Compleet" 103 103 104 #: controllers/icwoorok2-controller.php:2 18104 #: controllers/icwoorok2-controller.php:222 105 105 msgid "Order status not updated: Payment status already received" 106 106 msgstr "Bestelstatus niet bijgewerkt: betalingsstatus al ontvangen" 107 107 108 #: controllers/icwoorok2-controller.php:2 27108 #: controllers/icwoorok2-controller.php:231 109 109 msgid "" 110 110 "<br>Payment is cancelled or expired, but will be cancelled automaticly by " 111 111 "WooCommerce." 112 112 msgstr "" 113 "<br>Betaling is geannul leerd of verlopen, maar word automatisch geannuleerd "113 "<br>Betaling is geannuleerd of verlopen, maar word automatisch geannuleerd " 114 114 "door WooCommerce." 115 115 116 #: controllers/icwoorok2-controller.php:23 1116 #: controllers/icwoorok2-controller.php:235 117 117 msgid "<br>Update order status: Failed." 118 118 msgstr "<br>Update order status: Mislukt." 119 119 120 #: controllers/icwoorok2-controller.php:2 36120 #: controllers/icwoorok2-controller.php:240 121 121 msgid "<br>Update order status: Cancelled" 122 122 msgstr "<br>Update order status: Geannuleerd" 123 123 124 #: controllers/icwoorok2-controller.php:2 47124 #: controllers/icwoorok2-controller.php:251 125 125 msgid "<br>No Final status has been found." 126 126 msgstr "<br>Geen eindstatus gevonden." 127 127 128 #: controllers/icwoorok2-controller.php:25 2128 #: controllers/icwoorok2-controller.php:256 129 129 msgid "<br>Transaction ID updated." 130 130 msgstr "<br>Transaction ID is bijgewerkt." 131 131 132 #: controllers/icwoorok2-controller.php:26 2132 #: controllers/icwoorok2-controller.php:266 133 133 msgid "" 134 134 "<br>Order doesnt have the correct status to be changed by the payment method." … … 143 143 "Zet deze methode aan om betalingen te ontvangen via Rabo Smart Pay - %s " 144 144 145 #: gateways/abstract.php:101 145 #: gateways/abstract.php:109 146 msgid "Invalid response received from Rabo Smart Pay! Received error code." 147 msgstr "Ongeldige reactie ontvangen van Rabo Smart Pay! Foutcode ontvangen." 148 149 #: gateways/abstract.php:133 146 150 msgid "Invalid response received from Rabo Smart Pay!" 147 msgstr "On juist antwoord ontvangen van deRabo Smart Pay!"148 149 #: gateways/abstract.php:1 05 gateways/abstract.php:108151 msgstr "Ongeldige reactie ontvangen van Rabo Smart Pay!" 152 153 #: gateways/abstract.php:146 gateways/abstract.php:159 150 154 msgid "Accesstoken could not be generated, please check the configuration." 151 msgstr "" 152 "Er kon geen accesstoken gegenereerd worden, controleer de configuratie." 153 154 #: gateways/abstract.php:126 155 msgstr "Accesstoken kon niet worden gegenereerd, controleer de configuratie." 156 157 #: gateways/abstract.php:177 155 158 msgid " via Rabo Smart Pay" 156 159 msgstr " via Rabo Smart Pay" 157 160 158 #: gateways/abstract.php: 176161 #: gateways/abstract.php:227 159 162 msgid "Rabo Smart Pay Documentation" 160 163 msgstr "Rabo Smart Pay documentatie" 161 164 162 #: gateways/abstract.php: 178165 #: gateways/abstract.php:229 163 166 msgid "Go to documentation" 164 167 msgstr "Ga naar documentatie" 165 168 166 #: gateways/abstract.php: 183169 #: gateways/abstract.php:234 167 170 msgid "Rabo Smart Pay - Merchant Settings" 168 171 msgstr "Rabo Smart Pay - Configuratie instellingen" 169 172 170 #: gateways/abstract.php: 185173 #: gateways/abstract.php:236 171 174 msgid "The Rabo Smart Pay merchant settings can now be found under the" 172 175 msgstr "De Rabo Smart Pay configuratie instellingen kun je vinden onder" 173 176 174 #: gateways/abstract.php: 189177 #: gateways/abstract.php:240 175 178 msgid "Enable/Disable" 176 179 msgstr "Actief/Inactief" 177 180 178 #: gateways/abstract.php: 191181 #: gateways/abstract.php:242 179 182 msgid "Enable Rabo Smart Pay" 180 183 msgstr "Activeer Rabo Smart Pay" 181 184 182 #: gateways/abstract.php: 196185 #: gateways/abstract.php:247 183 186 msgid "Title" 184 187 msgstr "Titel" 185 188 186 #: gateways/abstract.php: 198189 #: gateways/abstract.php:249 187 190 msgid "This controls the title which the user sees during checkout." 188 191 msgstr "Stel de titel in wat de klant ziet in de checkout." 189 192 190 #: gateways/abstract.php:2 04193 #: gateways/abstract.php:255 191 194 msgid "Customer Message after payment select" 192 195 msgstr "Klantbericht na selectie betaalmethode" 193 196 194 #: gateways/abstract.php:2 10197 #: gateways/abstract.php:261 195 198 msgid "Description on receipt" 196 199 msgstr "Omschrijving op afschrift" 197 200 198 #: gateways/abstract.php:3 27201 #: gateways/abstract.php:381 199 202 msgid "Rabo Smart Pay payment started with:" 200 203 msgstr "Rabo Smart Pay betaling gestart met:" 201 204 202 #: gateways/abstract.php:3 27205 #: gateways/abstract.php:381 203 206 msgid "For amount: " 204 207 msgstr "Voor bedrag: " 205 208 206 #: gateways/abstract.php:3 43209 #: gateways/abstract.php:397 207 210 msgid "Smart Pay returned an error! Code:" 208 211 msgstr "Smart Pay gaf een error terug! Code:" 209 212 210 #: gateways/abstract.php:3 43213 #: gateways/abstract.php:397 211 214 msgid "Check our FAQ:" 212 215 msgstr "Bekijk onze FAQ:" 213 216 214 #: gateways/abstract.php:3 43217 #: gateways/abstract.php:397 215 218 msgid "Rabo Smart Pay Error codes" 216 219 msgstr "Rabo Smart Pay Error codes" 217 220 218 #: gateways/abstract.php:350 221 #: gateways/abstract.php:405 222 msgid "" 223 "Order announcement could not be decoded, something wrong with the data " 224 "received? Error: " 225 msgstr "" 226 "Transactie aanmelding kon niet worden gedecodeerd, is er iets mis met de " 227 "ontvangen data? Error: " 228 229 #: gateways/abstract.php:407 219 230 msgid "Something went wrong, please try again!" 220 231 msgstr "Er is iets mis gegaan, probeer het opnieuw!" 221 232 222 #: gateways/abstract.php: 353 gateways/abstract.php:355223 msgid "No response received from the Rabobank. "224 msgstr "Geen antwoord ontvangen van de Rabobank."225 226 #: gateways/abstract.php: 364233 #: gateways/abstract.php:410 gateways/abstract.php:412 234 msgid "No response received from the Rabobank. Received status code: " 235 msgstr "Geen reactie ontvangen van de Rabobank. Statuscode ontvangen: " 236 237 #: gateways/abstract.php:421 227 238 msgid "Invalid order ID." 228 239 msgstr "Onjuist bestel ID." 229 240 230 #: gateways/abstract.php: 369241 #: gateways/abstract.php:426 231 242 msgid "This order was not paid with this gateway." 232 243 msgstr "De bestelling is niet betaald met deze betaalmethode." 233 244 234 #: gateways/abstract.php: 374245 #: gateways/abstract.php:431 235 246 msgid "Invalid refund amount." 236 247 msgstr "Onjuist restitutie bedrag." 237 248 238 #: gateways/abstract.php: 386 gateways/abstract.php:392249 #: gateways/abstract.php:444 gateways/abstract.php:450 239 250 msgid "" 240 251 "No transaction ID found for this order, wait for the webhook to be triggered." … … 243 254 "aangeroepen." 244 255 245 #: gateways/abstract.php:428 gateways/abstract.php:435 256 #: gateways/abstract.php:476 257 msgid "Error retrieving refund details from Rabobank: " 258 msgstr "Fout bij het controleren van de terugbetalingsstatus bij de Rabobank: " 259 260 #: gateways/abstract.php:490 gateways/abstract.php:497 261 #: gateways/abstract.php:586 gateways/abstract.php:593 262 #: gateways/abstract.php:670 gateways/abstract.php:677 263 msgid "Error placing the refund at Rabobank, received status code: " 264 msgstr "Fout bij het plaatsen van de terugbetaling bij de Rabobank: " 265 266 #: gateways/abstract.php:502 gateways/abstract.php:509 267 #: gateways/abstract.php:581 246 268 msgid "No response received from the Rabobank, we got status code " 247 msgstr "Geen antwoord ontvangen van de Rabobank, we kregen statuscode "248 249 #: gateways/abstract.php: 442 gateways/abstract.php:449269 msgstr "Geen antwoord ontvangen van de Rabobank, we kregen statuscode " 270 271 #: gateways/abstract.php:516 gateways/abstract.php:523 250 272 msgid "Invalid response received from the Rabobank." 251 273 msgstr "Ongeldige reactie ontvangen van de Rabobank." 252 274 253 #: gateways/abstract.php: 457 gateways/abstract.php:459275 #: gateways/abstract.php:531 gateways/abstract.php:533 254 276 msgid "Refund amount exceeds the maximum refundable amount." 255 277 msgstr "Het restitutiebedrag is hoger dan het maximale restitutiebedrag." 256 278 257 #: gateways/abstract.php:5 00279 #: gateways/abstract.php:574 258 280 msgid "Error placing the refund at Rabobank: " 259 msgstr "Fout bij het plaatsen van de terugbetaling bij de Rabobank:" 260 261 #: gateways/abstract.php:511 262 msgid "No response received when placing the refund at Rabobank" 263 msgstr "" 264 "Geen reactie ontvangen bij het plaatsen van de terugbetaling bij de Rabobank" 265 266 #: gateways/abstract.php:518 281 msgstr "Fout bij het plaatsen van de terugbetaling bij de Rabobank: " 282 283 #: gateways/abstract.php:597 gateways/abstract.php:604 267 284 msgid "No response received when placing the refund at Rabobank." 268 285 msgstr "" 269 286 "Geen reactie ontvangen bij het plaatsen van de terugbetaling bij de Rabobank." 270 287 271 #: gateways/abstract.php:548 288 #: gateways/abstract.php:611 gateways/abstract.php:618 289 msgid "Invalid response received from Rabobank when placing the refund." 290 msgstr "" 291 "Ongeldige reactie ontvangen van de Rabobank bij het plaatsen van de " 292 "terugbetaling." 293 294 #: gateways/abstract.php:623 gateways/abstract.php:630 295 msgid "No refund ID received from Rabobank." 296 msgstr "Geen terugbetaling ID ontvangen van de Rabobank." 297 298 #: gateways/abstract.php:658 272 299 msgid "Error checking the refund status at Rabobank: " 273 msgstr "Fout bij het controleren van de terugbetalingsstatus bij de Rabobank: "274 275 #: gateways/abstract.php: 555 gateways/abstract.php:562300 msgstr "Fout bij het controleren van de terugbetalingsstatus bij de Rabobank: " 301 302 #: gateways/abstract.php:681 gateways/abstract.php:688 276 303 msgid "Could not retrieve refund status from Rabobank." 277 304 msgstr "Kan terugbetalingsstatus niet ophalen bij Rabobank." 278 305 279 #: gateways/abstract.php: 570306 #: gateways/abstract.php:696 280 307 msgid "Refund successful for transaction" 281 308 msgstr "Terugbetaling geslaagd voor transactie" 282 309 283 #: gateways/abstract.php: 574310 #: gateways/abstract.php:700 284 311 msgid "" 285 312 "Refund request has been submitted to Rabobank and is awaiting processing" 286 313 msgstr "Terugbetalen is ingediend bij Rabobank en wacht op verwerking" 287 314 288 #: gateways/abstract.php: 578315 #: gateways/abstract.php:704 289 316 msgid "Refund failed for transaction" 290 317 msgstr "Terugbetaling mislukt voor transactie" 291 318 292 #: gateways/abstract.php: 580319 #: gateways/abstract.php:706 293 320 msgid "Refund failed." 294 321 msgstr "Terugbetaling mislukt." … … 346 373 msgstr "Configureer de Sandbox sleutels wanneer u deze optie aanvinkt." 347 374 348 #: ic-woo-omnikassa-2.php:237 375 #: ic-woo-omnikassa-2.php:243 376 msgid "Optional settings" 377 msgstr "Optionele instellingen" 378 379 #: ic-woo-omnikassa-2.php:245 380 msgid "" 381 "Below you can find optional settings for the payment handling to Rabo Smart " 382 "Pay." 383 msgstr "" 384 "Hieronder vindt je optionele instellingen voor de betalingsafhandeling naar " 385 "Rabo Smart Pay." 386 387 #: ic-woo-omnikassa-2.php:250 388 msgid "Use old domain" 389 msgstr "Gebruik oud domein" 390 391 #: ic-woo-omnikassa-2.php:252 392 msgid "Enable the the use of the old domain, instead of the new one." 393 msgstr "Schakel het gebruik van het oude domein in, in plaats van het nieuwe." 394 395 #: ic-woo-omnikassa-2.php:254 396 msgid "" 397 "Enable the the use of the old domain, instead of the new one. Keep in mind, " 398 "some features may not be available when using the old domain." 399 msgstr "" 400 "Schakel het gebruik van het oude domein in, in plaats van het nieuwe. Houd " 401 "er rekening mee dat sommige functies mogelijk niet beschikbaar zijn als je " 402 "het oude domein gebruikt." 403 404 #: ic-woo-omnikassa-2.php:259 349 405 msgid "Debug webhook and refunds" 350 406 msgstr "Debug webhook en terugbetalingen" 351 407 352 #: ic-woo-omnikassa-2.php:2 39408 #: ic-woo-omnikassa-2.php:261 353 409 msgid "Enable the webhook and refunds debug" 354 410 msgstr "De debug voor webhooks en restituties inschakelen" 355 411 356 #: ic-woo-omnikassa-2.php:2 41412 #: ic-woo-omnikassa-2.php:263 357 413 msgid "" 358 414 "Additional logging will be activated and placed in the debug.log of " … … 361 417 "Extra logging wordt geactiveerd en in het debug.log van Wordpress geplaatst." 362 418 419 #~ msgid "Invalid response received from Rabo Smart Pay! Could not be decoded." 420 #~ msgstr "" 421 #~ "Ongeldig antwoord ontvangen van Rabo Smart Pay! Kan niet worden " 422 #~ "gedecodeerd." 423 424 #~ msgid "No response received when placing the refund at Rabobank" 425 #~ msgstr "" 426 #~ "Geen reactie ontvangen bij het plaatsen van de terugbetaling bij de " 427 #~ "Rabobank" 428 363 429 #~ msgid "Order not found." 364 430 #~ msgstr "Bestelling is niet gevonden." -
woo-rabo-omnikassa/trunk/readme.txt
r3332728 r3357693 7 7 Requires at least: 5.0.7 8 8 Tested up to: 6.8.2 9 Stable tag: 2.3.2 9 Stable tag: 2.3.2.1 10 10 Requires PHP: 7.4.30 11 11 License: GPLv2 or later … … 115 115 == Changelog == 116 116 117 = 2.3.2.1 = 118 * Better error handling in the refund process and payments. 119 * Implemented new Endpoint of Rabo Smart Pay. 120 * Tested compatibility with WooCommerce 10.1.2 121 117 122 = 2.3.2 = 118 123 * Expanded the webhook debug to also add logging to the refunds.
Note: See TracChangeset
for help on using the changeset viewer.