Version Description
- 2022-09-13 =
- Fix - Fix Apple Pay domain verify file missing error notice constantly displayed
- Fix - Retain test mode context in CRON jobs queued up while checking out.
Download this release
Release Info
Developer | automattic |
Plugin | WooCommerce Payments – Fully Integrated Solution Built and Supported by Woo |
Version | 4.7.1 |
Comparing to | |
See all releases |
Code changes from version 4.7.0 to 4.7.1
- changelog.txt +4 -0
- includes/class-wc-payment-gateway-wcpay.php +52 -67
- includes/class-wc-payments-apple-pay-registration.php +0 -4
- includes/class-wc-payments-order-service.php +16 -6
- includes/class-wc-payments-utils.php +0 -47
- languages/woocommerce-payments.pot +78 -100
- readme.txt +5 -1
- vendor/autoload.php +1 -1
- vendor/autoload_packages.php +1 -1
- vendor/composer/InstalledVersions.php +2 -2
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +2 -2
- vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
- vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
- vendor/jetpack-autoloader/class-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-container.php +1 -1
- vendor/jetpack-autoloader/class-hook-manager.php +1 -1
- vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
- vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
- vendor/jetpack-autoloader/class-path-processor.php +1 -1
- vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
- vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
- vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
- vendor/jetpack-autoloader/class-version-loader.php +1 -1
- vendor/jetpack-autoloader/class-version-selector.php +1 -1
- woocommerce-payments.php +1 -1
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
*** WooCommerce Payments Changelog ***
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 4.7.0 - 2022-09-07 =
|
4 |
* Add - Added meta to payment tokens used in subscriptions.
|
5 |
* Add - Adding an authorization page part of the transactions view. Currently behind a flag and using mocked data.
|
1 |
*** WooCommerce Payments Changelog ***
|
2 |
|
3 |
+
= 4.7.1 - 2022-09-13 =
|
4 |
+
* Fix - Fix Apple Pay domain verify file missing error notice constantly displayed
|
5 |
+
* Fix - Retain test mode context in CRON jobs queued up while checking out.
|
6 |
+
|
7 |
= 4.7.0 - 2022-09-07 =
|
8 |
* Add - Added meta to payment tokens used in subscriptions.
|
9 |
* Add - Adding an authorization page part of the transactions view. Currently behind a flag and using mocked data.
|
includes/class-wc-payment-gateway-wcpay.php
CHANGED
@@ -386,13 +386,11 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
386 |
// Update the current request logged_in cookie after a guest user is created to avoid nonce inconsistencies.
|
387 |
add_action( 'set_logged_in_cookie', [ $this, 'set_cookie_on_current_request' ] );
|
388 |
|
389 |
-
add_action( self::UPDATE_SAVED_PAYMENT_METHOD, [ $this, 'update_saved_payment_method' ], 10,
|
390 |
-
add_action( self::UPDATE_CUSTOMER_WITH_ORDER_DATA, [ $this, 'update_customer_with_order_data' ], 10,
|
391 |
|
392 |
// Update the email field position.
|
393 |
add_filter( 'woocommerce_billing_fields', [ $this, 'checkout_update_email_field_priority' ], 50 );
|
394 |
-
|
395 |
-
add_action( 'woocommerce_woocommerce_payments_admin_applepay_notice', [ $this, 'display_not_supported_apple_pay' ] );
|
396 |
}
|
397 |
|
398 |
/**
|
@@ -608,56 +606,6 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
608 |
}
|
609 |
}
|
610 |
|
611 |
-
/**
|
612 |
-
* Add notices explaining how to enable Apple Pay.
|
613 |
-
*
|
614 |
-
* @return void
|
615 |
-
*/
|
616 |
-
public function display_not_supported_apple_pay() {
|
617 |
-
if ( 'yes' !== $this->get_option( 'payment_request' ) ) {
|
618 |
-
return;
|
619 |
-
}
|
620 |
-
|
621 |
-
if ( WC_Payments_Utils::can_merchant_register_domain_with_applepay( $this->account->get_account_country() ) ) {
|
622 |
-
return;
|
623 |
-
}
|
624 |
-
if ( ! WC_Payments_Utils::is_account_in_supported_applepay_countries( $this->account->get_account_country() ) &&
|
625 |
-
'1' !== get_user_meta( get_current_user_id(), 'dismissed_applepay_not_in_supported_countries_notice', true ) ) {
|
626 |
-
?>
|
627 |
-
<div id="wcpay-applepay-error" class="notice notice-error woocommerce-message">
|
628 |
-
<a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'applepay_not_in_supported_countries' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce-payments' ); ?></a>
|
629 |
-
<p>
|
630 |
-
<b><?php esc_html_e( 'Apple Pay: ', 'woocommerce-payments' ); ?></b>
|
631 |
-
<?php
|
632 |
-
echo sprintf(
|
633 |
-
/* translators: 1: supported country list */
|
634 |
-
__( 'Apple Pay isn’t currently supported in your country. <a href="%1$s">Countries and regions that support Apple Pay (Apple Support)</a>', 'woocommerce-payments' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
635 |
-
'https://support.apple.com/en-us/HT207957'
|
636 |
-
);
|
637 |
-
?>
|
638 |
-
</p>
|
639 |
-
</div>
|
640 |
-
<?php
|
641 |
-
}
|
642 |
-
|
643 |
-
if ( ! WC_Payments_Utils::has_domain_association_file_permissions() ) {
|
644 |
-
?>
|
645 |
-
<div id="wcpay-applepay-error" class="notice notice-error">
|
646 |
-
<p>
|
647 |
-
<b><?php esc_html_e( 'Apple Pay: ', 'woocommerce-payments' ); ?></b>
|
648 |
-
<?php
|
649 |
-
echo sprintf(
|
650 |
-
/* translators: 1: apple pay support */
|
651 |
-
__( 'We were not able to verify your domain. <a href="%1$s">This help documentation</a> will walk you through the process to verify with Apple that you control your domain.', 'woocommerce-payments' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
652 |
-
'https://woocommerce.com/document/payments/apple-pay/#apple-pay-button-does-not-appear'
|
653 |
-
);
|
654 |
-
?>
|
655 |
-
</p>
|
656 |
-
</div>
|
657 |
-
<?php
|
658 |
-
}
|
659 |
-
}
|
660 |
-
|
661 |
/**
|
662 |
* Add notice explaining that the selected currency is not available.
|
663 |
*/
|
@@ -687,7 +635,6 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
687 |
public function admin_options() {
|
688 |
// Add notices to the WooCommerce Payments settings page.
|
689 |
do_action( 'woocommerce_woocommerce_payments_admin_notices' );
|
690 |
-
do_action( 'woocommerce_woocommerce_payments_admin_applepay_notice' );
|
691 |
|
692 |
$this->output_payments_settings_screen();
|
693 |
}
|
@@ -1103,18 +1050,40 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1103 |
}
|
1104 |
|
1105 |
/**
|
1106 |
-
* Update the customer details with the incoming order data.
|
1107 |
*
|
1108 |
-
* @param int $order_id
|
1109 |
-
* @param string $customer_id
|
|
|
|
|
1110 |
*/
|
1111 |
-
public function update_customer_with_order_data( $order_id, $customer_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1112 |
$order = wc_get_order( $order_id );
|
1113 |
$user = $order->get_user();
|
1114 |
if ( false === $user ) {
|
1115 |
$user = wp_get_current_user();
|
1116 |
}
|
1117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1118 |
// Update the existing customer with the current order details.
|
1119 |
$customer_data = WC_Payments_Customer_Service::map_customer_data( $order, new WC_Customer( $user->ID ) );
|
1120 |
$this->customer_service->update_customer_for_user( $customer_id, $user, $customer_data );
|
@@ -1123,11 +1092,12 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1123 |
/**
|
1124 |
* Manages customer details held on WCPay server for WordPress user associated with an order.
|
1125 |
*
|
1126 |
-
* @param WC_Order $order
|
|
|
1127 |
*
|
1128 |
* @return array First element is the new or updated WordPress user, the second element is the WCPay customer ID.
|
1129 |
*/
|
1130 |
-
protected function manage_customer_details_for_order( $order ) {
|
1131 |
$user = $order->get_user();
|
1132 |
if ( false === $user ) {
|
1133 |
$user = wp_get_current_user();
|
@@ -1146,8 +1116,10 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1146 |
time(),
|
1147 |
self::UPDATE_CUSTOMER_WITH_ORDER_DATA,
|
1148 |
[
|
1149 |
-
'order_id'
|
1150 |
-
'customer_id'
|
|
|
|
|
1151 |
]
|
1152 |
);
|
1153 |
}
|
@@ -1156,12 +1128,21 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1156 |
}
|
1157 |
|
1158 |
/**
|
1159 |
-
* Update the saved payment method information with checkout values.
|
1160 |
*
|
1161 |
* @param string $payment_method The payment method to update.
|
1162 |
* @param int $order_id WC order id.
|
1163 |
-
|
1164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1165 |
$order = wc_get_order( $order_id );
|
1166 |
|
1167 |
try {
|
@@ -1193,7 +1174,10 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1193 |
$amount = $order->get_total();
|
1194 |
$metadata = $this->get_metadata_from_order( $order, $payment_information->get_payment_type() );
|
1195 |
|
1196 |
-
|
|
|
|
|
|
|
1197 |
|
1198 |
// Update saved payment method async to include billing details, if missing.
|
1199 |
if ( $payment_information->is_using_saved_payment_method() ) {
|
@@ -1203,6 +1187,7 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
|
|
1203 |
[
|
1204 |
'payment_method' => $payment_information->get_payment_method(),
|
1205 |
'order_id' => $order->get_id(),
|
|
|
1206 |
]
|
1207 |
);
|
1208 |
}
|
386 |
// Update the current request logged_in cookie after a guest user is created to avoid nonce inconsistencies.
|
387 |
add_action( 'set_logged_in_cookie', [ $this, 'set_cookie_on_current_request' ] );
|
388 |
|
389 |
+
add_action( self::UPDATE_SAVED_PAYMENT_METHOD, [ $this, 'update_saved_payment_method' ], 10, 3 );
|
390 |
+
add_action( self::UPDATE_CUSTOMER_WITH_ORDER_DATA, [ $this, 'update_customer_with_order_data' ], 10, 4 );
|
391 |
|
392 |
// Update the email field position.
|
393 |
add_filter( 'woocommerce_billing_fields', [ $this, 'checkout_update_email_field_priority' ], 50 );
|
|
|
|
|
394 |
}
|
395 |
|
396 |
/**
|
606 |
}
|
607 |
}
|
608 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
/**
|
610 |
* Add notice explaining that the selected currency is not available.
|
611 |
*/
|
635 |
public function admin_options() {
|
636 |
// Add notices to the WooCommerce Payments settings page.
|
637 |
do_action( 'woocommerce_woocommerce_payments_admin_notices' );
|
|
|
638 |
|
639 |
$this->output_payments_settings_screen();
|
640 |
}
|
1050 |
}
|
1051 |
|
1052 |
/**
|
1053 |
+
* Update the customer details with the incoming order data, in a CRON job.
|
1054 |
*
|
1055 |
+
* @param int $order_id WC order id.
|
1056 |
+
* @param string $customer_id The customer id to update details for.
|
1057 |
+
* @param bool $is_test_mode Whether to run the CRON job in test mode.
|
1058 |
+
* @param bool $is_woopay Whether CRON job was queued from WooPay.
|
1059 |
*/
|
1060 |
+
public function update_customer_with_order_data( $order_id, $customer_id, $is_test_mode = false, $is_woopay = false ) {
|
1061 |
+
// Since this CRON job may have been created in test_mode, when the CRON job runs, it
|
1062 |
+
// may lose the test_mode context. So, instead, we pass that context when creating
|
1063 |
+
// the CRON job and apply the context here.
|
1064 |
+
$apply_test_mode_context = function () use ( $is_test_mode ) {
|
1065 |
+
return $is_test_mode;
|
1066 |
+
};
|
1067 |
+
add_filter( 'wcpay_test_mode', $apply_test_mode_context );
|
1068 |
+
|
1069 |
$order = wc_get_order( $order_id );
|
1070 |
$user = $order->get_user();
|
1071 |
if ( false === $user ) {
|
1072 |
$user = wp_get_current_user();
|
1073 |
}
|
1074 |
|
1075 |
+
// Since this function will run in a CRON job, "wp_get_current_user()" will default
|
1076 |
+
// to user with ID of 0. So, instead, we replace it with the user from the $order,
|
1077 |
+
// when updating a WooPay user.
|
1078 |
+
$apply_order_user_email = function ( $params ) use ( $user, $is_woopay ) {
|
1079 |
+
if ( $is_woopay ) {
|
1080 |
+
$params['email'] = $user->user_email;
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
return $params;
|
1084 |
+
};
|
1085 |
+
add_filter( 'wcpay_api_request_params', $apply_order_user_email, 20, 1 );
|
1086 |
+
|
1087 |
// Update the existing customer with the current order details.
|
1088 |
$customer_data = WC_Payments_Customer_Service::map_customer_data( $order, new WC_Customer( $user->ID ) );
|
1089 |
$this->customer_service->update_customer_for_user( $customer_id, $user, $customer_data );
|
1092 |
/**
|
1093 |
* Manages customer details held on WCPay server for WordPress user associated with an order.
|
1094 |
*
|
1095 |
+
* @param WC_Order $order WC Order object.
|
1096 |
+
* @param array $options Additional options to apply.
|
1097 |
*
|
1098 |
* @return array First element is the new or updated WordPress user, the second element is the WCPay customer ID.
|
1099 |
*/
|
1100 |
+
protected function manage_customer_details_for_order( $order, $options = [] ) {
|
1101 |
$user = $order->get_user();
|
1102 |
if ( false === $user ) {
|
1103 |
$user = wp_get_current_user();
|
1116 |
time(),
|
1117 |
self::UPDATE_CUSTOMER_WITH_ORDER_DATA,
|
1118 |
[
|
1119 |
+
'order_id' => $order->get_id(),
|
1120 |
+
'customer_id' => $customer_id,
|
1121 |
+
'is_test_mode' => $this->is_in_test_mode(),
|
1122 |
+
'is_woopay' => $options['is_woopay'] ?? false,
|
1123 |
]
|
1124 |
);
|
1125 |
}
|
1128 |
}
|
1129 |
|
1130 |
/**
|
1131 |
+
* Update the saved payment method information with checkout values, in a CRON job.
|
1132 |
*
|
1133 |
* @param string $payment_method The payment method to update.
|
1134 |
* @param int $order_id WC order id.
|
1135 |
+
* @param bool $is_test_mode Whether to run the CRON job in test mode.
|
1136 |
+
*/
|
1137 |
+
public function update_saved_payment_method( $payment_method, $order_id, $is_test_mode = false ) {
|
1138 |
+
// Since this CRON job may have been created in test_mode, when the CRON job runs, it
|
1139 |
+
// may lose the test_mode context. So, instead, we pass that context when creating
|
1140 |
+
// the CRON job and apply the context here.
|
1141 |
+
$apply_test_mode_context = function () use ( $is_test_mode ) {
|
1142 |
+
return $is_test_mode;
|
1143 |
+
};
|
1144 |
+
add_filter( 'wcpay_test_mode', $apply_test_mode_context );
|
1145 |
+
|
1146 |
$order = wc_get_order( $order_id );
|
1147 |
|
1148 |
try {
|
1174 |
$amount = $order->get_total();
|
1175 |
$metadata = $this->get_metadata_from_order( $order, $payment_information->get_payment_type() );
|
1176 |
|
1177 |
+
$customer_details_options = [
|
1178 |
+
'is_woopay' => filter_var( $metadata['paid_on_woopay'] ?? false, FILTER_VALIDATE_BOOLEAN ),
|
1179 |
+
];
|
1180 |
+
list( $user, $customer_id ) = $this->manage_customer_details_for_order( $order, $customer_details_options );
|
1181 |
|
1182 |
// Update saved payment method async to include billing details, if missing.
|
1183 |
if ( $payment_information->is_using_saved_payment_method() ) {
|
1187 |
[
|
1188 |
'payment_method' => $payment_information->get_payment_method(),
|
1189 |
'order_id' => $order->get_id(),
|
1190 |
+
'is_test_mode' => $this->is_in_test_mode(),
|
1191 |
]
|
1192 |
);
|
1193 |
}
|
includes/class-wc-payments-apple-pay-registration.php
CHANGED
@@ -261,10 +261,6 @@ class WC_Payments_Apple_Pay_Registration {
|
|
261 |
*/
|
262 |
public function register_domain_with_apple() {
|
263 |
$error = null;
|
264 |
-
if ( ! WC_Payments_Utils::can_merchant_register_domain_with_applepay( $this->account->get_account_country() ) ) {
|
265 |
-
Logger::log( 'Error registering domain with Apple: merchant isn\'t in the supported countries or domain association file does not have the correct permissions' );
|
266 |
-
return;
|
267 |
-
}
|
268 |
|
269 |
try {
|
270 |
$registration_response = $this->payments_api_client->register_domain_with_apple( $this->domain_name );
|
261 |
*/
|
262 |
public function register_domain_with_apple() {
|
263 |
$error = null;
|
|
|
|
|
|
|
|
|
264 |
|
265 |
try {
|
266 |
$registration_response = $this->payments_api_client->register_domain_with_apple( $this->domain_name );
|
includes/class-wc-payments-order-service.php
CHANGED
@@ -40,7 +40,7 @@ class WC_Payments_Order_Service {
|
|
40 |
public function __construct( WC_Payments_API_Client $api_client ) {
|
41 |
$this->api_client = $api_client;
|
42 |
|
43 |
-
add_action( self::ADD_FEE_BREAKDOWN_TO_ORDER_NOTES, [ $this, 'add_fee_breakdown_to_order_notes' ], 10,
|
44 |
}
|
45 |
|
46 |
/**
|
@@ -69,8 +69,9 @@ class WC_Payments_Order_Service {
|
|
69 |
time(),
|
70 |
self::ADD_FEE_BREAKDOWN_TO_ORDER_NOTES,
|
71 |
[
|
72 |
-
'order_id'
|
73 |
-
'intent_id'
|
|
|
74 |
]
|
75 |
);
|
76 |
|
@@ -338,10 +339,19 @@ class WC_Payments_Order_Service {
|
|
338 |
/**
|
339 |
* Adds a note with the fee breakdown for the order.
|
340 |
*
|
341 |
-
* @param string $order_id
|
342 |
-
* @param string $intent_id
|
|
|
343 |
*/
|
344 |
-
public function add_fee_breakdown_to_order_notes( $order_id, $intent_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
$order = wc_get_order( $order_id );
|
346 |
try {
|
347 |
$events = $this->api_client->get_timeline( $intent_id );
|
40 |
public function __construct( WC_Payments_API_Client $api_client ) {
|
41 |
$this->api_client = $api_client;
|
42 |
|
43 |
+
add_action( self::ADD_FEE_BREAKDOWN_TO_ORDER_NOTES, [ $this, 'add_fee_breakdown_to_order_notes' ], 10, 3 );
|
44 |
}
|
45 |
|
46 |
/**
|
69 |
time(),
|
70 |
self::ADD_FEE_BREAKDOWN_TO_ORDER_NOTES,
|
71 |
[
|
72 |
+
'order_id' => $order->get_id(),
|
73 |
+
'intent_id' => $intent_id,
|
74 |
+
'is_test_mode' => WC_Payments::get_gateway()->is_in_test_mode(),
|
75 |
]
|
76 |
);
|
77 |
|
339 |
/**
|
340 |
* Adds a note with the fee breakdown for the order.
|
341 |
*
|
342 |
+
* @param string $order_id WC Order Id.
|
343 |
+
* @param string $intent_id The intent id for the payment.
|
344 |
+
* @param bool $is_test_mode Whether to run the CRON job in test mode.
|
345 |
*/
|
346 |
+
public function add_fee_breakdown_to_order_notes( $order_id, $intent_id, $is_test_mode = false ) {
|
347 |
+
// Since this CRON job may have been created in test_mode, when the CRON job runs, it
|
348 |
+
// may lose the test_mode context. So, instead, we pass that context when creating
|
349 |
+
// the CRON job and apply the context here.
|
350 |
+
$apply_test_mode_context = function () use ( $is_test_mode ) {
|
351 |
+
return $is_test_mode;
|
352 |
+
};
|
353 |
+
add_filter( 'wcpay_test_mode', $apply_test_mode_context );
|
354 |
+
|
355 |
$order = wc_get_order( $order_id );
|
356 |
try {
|
357 |
$events = $this->api_client->get_timeline( $intent_id );
|
includes/class-wc-payments-utils.php
CHANGED
@@ -240,53 +240,6 @@ class WC_Payments_Utils {
|
|
240 |
];
|
241 |
}
|
242 |
|
243 |
-
/**
|
244 |
-
* Apple Pay supported country codes.
|
245 |
-
*
|
246 |
-
* @return string[]
|
247 |
-
*/
|
248 |
-
public static function supported_applepay_country_codes(): array {
|
249 |
-
return [
|
250 |
-
'ZA', 'AU', 'CN', 'HK', 'JP', 'MO', 'NZ', 'SG', 'TW', 'AM', 'AT', 'AZ', 'BY', 'BE', 'BG', 'HR', 'CY', 'CZ', // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine
|
251 |
-
'DK', 'EE', 'FO', 'FI', 'FR', 'GE', 'DE', 'GR', 'GL', 'GG', 'HU', 'IS', 'IE', 'IM', 'IT', 'KZ', 'JE', 'LV', // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine
|
252 |
-
'LI', 'LT', 'LU', 'MT', 'MD', 'MC', 'ME', 'NL', 'NO', 'PL', 'PT', 'RO', 'SM', 'RS', 'SK', 'SI', 'ES', 'SE', // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine
|
253 |
-
'CH', 'UA', 'GB', 'VA', 'AR', 'CO', 'CR', 'BR', 'MX', 'PE', 'BH', 'IL', 'PS', 'QA', 'SA', 'AE', 'CA', 'US', // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine
|
254 |
-
];
|
255 |
-
}
|
256 |
-
|
257 |
-
/**
|
258 |
-
* Check if merchant can register domain with Apple Pay.
|
259 |
-
*
|
260 |
-
* @param string $account_country - Account country.
|
261 |
-
* @return bool
|
262 |
-
*/
|
263 |
-
public static function can_merchant_register_domain_with_applepay( string $account_country ): bool {
|
264 |
-
return self::is_account_in_supported_applepay_countries( $account_country ) && self::has_domain_association_file_permissions();
|
265 |
-
}
|
266 |
-
|
267 |
-
/**
|
268 |
-
* Check if domain association file has the proper permissions.
|
269 |
-
*
|
270 |
-
* @return bool
|
271 |
-
*/
|
272 |
-
public static function has_domain_association_file_permissions(): bool {
|
273 |
-
$well_known_dir = untrailingslashit( ABSPATH ) . '/' . WC_Payments_Apple_Pay_Registration::DOMAIN_ASSOCIATION_FILE_DIR;
|
274 |
-
$full_path = $well_known_dir . '/' . WC_Payments_Apple_Pay_Registration::DOMAIN_ASSOCIATION_FILE_NAME;
|
275 |
-
|
276 |
-
return is_dir( $well_known_dir ) && is_writable( $well_known_dir ) && file_exists( $full_path ) && is_readable( $full_path );
|
277 |
-
}
|
278 |
-
|
279 |
-
/**
|
280 |
-
* Check if merchant is in supported countries by ApplePay.
|
281 |
-
*
|
282 |
-
* @param string $account_country - Account country.
|
283 |
-
*
|
284 |
-
* @return bool
|
285 |
-
*/
|
286 |
-
public static function is_account_in_supported_applepay_countries( string $account_country ): bool {
|
287 |
-
return in_array( $account_country, self::supported_applepay_country_codes(), true );
|
288 |
-
}
|
289 |
-
|
290 |
/**
|
291 |
* Verifies whether a certain ZIP code is valid for the US, incl. 4-digit extensions.
|
292 |
*
|
240 |
];
|
241 |
}
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
/**
|
244 |
* Verifies whether a certain ZIP code is valid for the US, incl. 4-digit extensions.
|
245 |
*
|
languages/woocommerce-payments.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the WooCommerce Payments package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Payments 4.7.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/woocommerce-payments\n"
|
8 |
-
"POT-Creation-Date: 2022-09-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -210,7 +210,7 @@ msgid "Payment capture failed to complete with the following message: %s"
|
|
210 |
msgstr ""
|
211 |
|
212 |
#: includes/admin/class-wc-rest-payments-orders-controller.php:180
|
213 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
214 |
msgid "Unknown error"
|
215 |
msgstr ""
|
216 |
|
@@ -642,78 +642,52 @@ msgstr ""
|
|
642 |
msgid "Large"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
646 |
msgid "Test mode active: "
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
650 |
msgid ""
|
651 |
"All transactions are simulated. Customers can't make real purchases through "
|
652 |
"WooCommerce Payments."
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
656 |
-
#: includes/multi-currency/MultiCurrency.php:823
|
657 |
-
msgid "Dismiss"
|
658 |
-
msgstr ""
|
659 |
-
|
660 |
-
#: includes/class-wc-payment-gateway-wcpay.php:630
|
661 |
-
#: includes/class-wc-payment-gateway-wcpay.php:647
|
662 |
-
msgid "Apple Pay: "
|
663 |
-
msgstr ""
|
664 |
-
|
665 |
-
#: includes/class-wc-payment-gateway-wcpay.php:634
|
666 |
-
#. translators: 1: supported country list
|
667 |
-
msgid ""
|
668 |
-
"Apple Pay isn’t currently supported in your country. <a "
|
669 |
-
"href=\"%1$s\">Countries and regions that support Apple Pay (Apple "
|
670 |
-
"Support)</a>"
|
671 |
-
msgstr ""
|
672 |
-
|
673 |
-
#: includes/class-wc-payment-gateway-wcpay.php:651
|
674 |
-
#. translators: 1: apple pay support
|
675 |
-
msgid ""
|
676 |
-
"We were not able to verify your domain. <a href=\"%1$s\">This help "
|
677 |
-
"documentation</a> will walk you through the process to verify with Apple "
|
678 |
-
"that you control your domain."
|
679 |
-
msgstr ""
|
680 |
-
|
681 |
-
#: includes/class-wc-payment-gateway-wcpay.php:674
|
682 |
msgid "Unsupported currency:"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
686 |
msgid ""
|
687 |
"The selected currency is not available for the country set in your "
|
688 |
"WooCommerce Payments account."
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
692 |
msgid ""
|
693 |
"There was a problem processing the payment. Please check your email inbox "
|
694 |
"and refresh the page to try again."
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
698 |
msgid "Save payment information to my account for future purchases."
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
702 |
#. translators: link to Stripe testing page
|
703 |
msgid ""
|
704 |
"<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
|
705 |
"any expiry date and CVC, or any test card numbers listed <a>here</a>."
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
709 |
#: includes/payment-methods/class-upe-payment-gateway.php:910
|
710 |
msgid ""
|
711 |
"An error was encountered when preparing the payment form. Please try again "
|
712 |
"later."
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
716 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
717 |
#: includes/payment-methods/class-upe-payment-gateway.php:165
|
718 |
#: includes/payment-methods/class-upe-payment-gateway.php:240
|
719 |
#: includes/payment-methods/class-upe-payment-gateway.php:431
|
@@ -722,12 +696,12 @@ msgid ""
|
|
722 |
"again."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
726 |
#: includes/payment-methods/class-upe-payment-gateway.php:439
|
727 |
msgid "Your payment was not processed."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
731 |
#: includes/compat/subscriptions/trait-wc-payment-gateway-wcpay-subscriptions.php:280
|
732 |
#. translators: %1: the failed payment amount, %2: error message
|
733 |
msgid ""
|
@@ -735,18 +709,18 @@ msgid ""
|
|
735 |
"message: <code>%2$s</code>."
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
739 |
#. translators: %1: the failed payment amount, %2: error message
|
740 |
msgid "A payment of %1$s <strong>failed</strong>. %2$s"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
744 |
msgid ""
|
745 |
"We couldn’t verify the postal code in the billing address. If the issue "
|
746 |
"persists, suggest the customer to reach out to the card issuing bank."
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
750 |
#. translators: %1: the failed payment amount
|
751 |
msgid ""
|
752 |
"A payment of %1$s <strong>failed</strong> to complete because of too many "
|
@@ -754,25 +728,25 @@ msgid ""
|
|
754 |
"more attempts temporarily."
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
758 |
#. translators: %1: the last 4 digit of the credit card
|
759 |
msgid "Payment method is changed to: <strong>Credit card ending in %1$s</strong>."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
763 |
msgid "Credit / Debit Card"
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
767 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
768 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
769 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
770 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
771 |
#: includes/payment-methods/class-upe-payment-gateway.php:628
|
772 |
msgid "We're not able to process this payment. Please try again later."
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
776 |
#. translators: an error message which will appear if a user tries to refund an
|
777 |
#. order which is has been authorized but not yet charged.
|
778 |
msgid ""
|
@@ -782,36 +756,36 @@ msgid ""
|
|
782 |
"trigger a refund via the 'Refund' button."
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
786 |
msgid "The refund amount is not valid."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
790 |
msgid ""
|
791 |
"You shall refund this payment in the same application where the payment was "
|
792 |
"made."
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
796 |
#. translators: %1: the successfully charged amount, %2: error message
|
797 |
msgid "A refund of %1$s failed to complete: %2$s"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
801 |
#. translators: %1: the successfully charged amount, %2: refund id
|
802 |
msgid ""
|
803 |
"A refund of %1$s was successfully processed using WooCommerce Payments "
|
804 |
"(<code>%2$s</code>)."
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
808 |
#. translators: %1: the successfully charged amount, %2: refund id, %3: reason
|
809 |
msgid ""
|
810 |
"A refund of %1$s was successfully processed using WooCommerce Payments. "
|
811 |
"Reason: %2$s. (<code>%3$s</code>)"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
815 |
#: dist/settings.js:1
|
816 |
#: client/settings/general-settings/index.js:42
|
817 |
msgid ""
|
@@ -819,43 +793,43 @@ msgid ""
|
|
819 |
"is only available to live accounts."
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
823 |
#: dist/settings.js:1
|
824 |
#: client/settings/advanced-settings/debug-mode.js:32
|
825 |
msgid "Dev mode is active so logging is on by default."
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
829 |
msgid "Failed to update Stripe account. "
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
833 |
msgid ""
|
834 |
"Customer bank statement is invalid. Statement should be between 5 and 22 "
|
835 |
"characters long, contain at least single Latin character and does not "
|
836 |
"contain special characters: ' \" * < >"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
840 |
msgid "Capture charge"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
844 |
msgid "Cancel authorization"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
848 |
#. translators: %1: error message
|
849 |
msgid ""
|
850 |
"Canceling authorization <strong>failed</strong> to complete with the "
|
851 |
"following message: <code>%1$s</code>."
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
855 |
msgid "Canceling authorization <strong>failed</strong> to complete."
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
859 |
#: includes/payment-methods/class-cc-payment-method.php:49
|
860 |
#. translators: This will be used to indicate an unknown value for an ID.
|
861 |
#: dist/index.js:1
|
@@ -864,7 +838,7 @@ msgstr ""
|
|
864 |
msgid "unknown"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
868 |
#. translators: %1: transaction ID of the payment or a translated string
|
869 |
#. indicating an unknown ID.
|
870 |
msgid ""
|
@@ -873,31 +847,31 @@ msgid ""
|
|
873 |
"so it was ignored and the order was not updated."
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
877 |
msgid "A WooCommerce Payments payment method was not provided"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
881 |
msgid "We're not able to add this payment method. Please try again later"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
885 |
msgid "Failed to add the provided payment method. Please try again later"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
889 |
#. translators: %s: the error message.
|
890 |
msgid "Intent creation failed with the following message: %s"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
894 |
#: includes/payment-methods/class-upe-payment-gateway.php:344
|
895 |
msgid ""
|
896 |
"We're not able to add this payment method. Please refresh the page and try "
|
897 |
"again."
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: includes/class-wc-payment-gateway-wcpay.php:
|
901 |
msgid ""
|
902 |
"Next we’ll ask you to share a few details about your business to create "
|
903 |
"your account."
|
@@ -960,36 +934,36 @@ msgstr ""
|
|
960 |
msgid "Domain association file updated."
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
964 |
msgid "Your domain has been verified with Apple Pay!"
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
968 |
msgid ""
|
969 |
"Express checkouts are enabled. To use Apple Pay, please use a live "
|
970 |
"WooCommerce Payments account."
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
974 |
msgid "Express checkouts:"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
978 |
msgid "Apple Pay domain verification failed."
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
982 |
msgid "Apple Pay domain verification failed with the following error:"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
986 |
#. translators: a: Link to the logs page
|
987 |
msgid ""
|
988 |
"Please check the <a>logs</a> for more details on this issue. Debug log must "
|
989 |
"be enabled under <strong>Advanced settings</strong> to see recorded logs."
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: includes/class-wc-payments-apple-pay-registration.php:
|
993 |
msgid "<a>Learn more</a>."
|
994 |
msgstr ""
|
995 |
|
@@ -1188,15 +1162,15 @@ msgid ""
|
|
1188 |
"repository</a2>."
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: includes/class-wc-payments-order-service.php:
|
1192 |
msgid "Dispute lost."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: includes/class-wc-payments-order-service.php:
|
1196 |
msgid "<strong>Fee details:</strong>"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: includes/class-wc-payments-order-service.php:
|
1200 |
#. translators: %1: the successfully charged amount, %2: transaction ID of the
|
1201 |
#. payment
|
1202 |
msgid ""
|
@@ -1204,28 +1178,28 @@ msgid ""
|
|
1204 |
"WooCommerce Payments (<a>%2$s</a>)."
|
1205 |
msgstr ""
|
1206 |
|
1207 |
-
#: includes/class-wc-payments-order-service.php:
|
1208 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1209 |
msgid ""
|
1210 |
"A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
|
1211 |
"(<a>%2$s</a>)."
|
1212 |
msgstr ""
|
1213 |
|
1214 |
-
#: includes/class-wc-payments-order-service.php:
|
1215 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1216 |
msgid ""
|
1217 |
"A payment of %1$s was <strong>authorized</strong> using WooCommerce "
|
1218 |
"Payments (<a>%2$s</a>)."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: includes/class-wc-payments-order-service.php:
|
1222 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1223 |
msgid ""
|
1224 |
"A payment of %1$s was <strong>started</strong> using WooCommerce Payments "
|
1225 |
"(<code>%2$s</code>)."
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: includes/class-wc-payments-order-service.php:
|
1229 |
#. translators: %1: the successfully charged amount, %2: transaction ID of the
|
1230 |
#. payment
|
1231 |
msgid ""
|
@@ -1233,37 +1207,37 @@ msgid ""
|
|
1233 |
"WooCommerce Payments (<a>%2$s</a>)."
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: includes/class-wc-payments-order-service.php:
|
1237 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1238 |
msgid ""
|
1239 |
"A capture of %1$s <strong>failed</strong> to complete using WooCommerce "
|
1240 |
"Payments (<a>%2$s</a>)."
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: includes/class-wc-payments-order-service.php:
|
1244 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1245 |
msgid "Payment authorization has <strong>expired</strong> (<a>%1$s</a>)."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: includes/class-wc-payments-order-service.php:
|
1249 |
msgid "Payment authorization was successfully <strong>cancelled</strong>."
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: includes/class-wc-payments-order-service.php:
|
1253 |
#. translators: %1: the dispute reason
|
1254 |
msgid ""
|
1255 |
"Payment has been disputed as %1$s. See <a>dispute overview</a> for more "
|
1256 |
"details."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: includes/class-wc-payments-order-service.php:
|
1260 |
#. translators: %1: the dispute status
|
1261 |
msgid ""
|
1262 |
"Payment dispute has been closed with status %1$s. See <a>dispute "
|
1263 |
"overview</a> for more details."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#: includes/class-wc-payments-order-service.php:
|
1267 |
msgid "Intent id was not included for payment complete status change."
|
1268 |
msgstr ""
|
1269 |
|
@@ -1477,7 +1451,7 @@ msgstr ""
|
|
1477 |
msgid "United States (US)"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: includes/class-wc-payments-utils.php:
|
1481 |
#: includes/wc-payment-api/class-wc-payments-api-client.php:769
|
1482 |
#: dist/index.js:1
|
1483 |
#: client/disputes/index.tsx:135
|
@@ -1485,32 +1459,32 @@ msgstr ""
|
|
1485 |
msgid "Order #"
|
1486 |
msgstr ""
|
1487 |
|
1488 |
-
#: includes/class-wc-payments-utils.php:
|
1489 |
#: includes/wc-payment-api/class-wc-payments-api-client.php:767
|
1490 |
#: dist/index.js:1
|
1491 |
#: client/transactions/list/index.tsx:167
|
1492 |
msgid "Subscription #"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: includes/class-wc-payments-utils.php:
|
1496 |
msgid ""
|
1497 |
"There was an error while processing this request. If you continue to see "
|
1498 |
"this notice, please contact the admin."
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: includes/class-wc-payments-utils.php:
|
1502 |
#. translators: %s a formatted price.
|
1503 |
msgid "The selected payment method requires a total amount of at least %s."
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: includes/class-wc-payments-utils.php:
|
1507 |
-
#: includes/class-wc-payments-utils.php:
|
1508 |
msgid ""
|
1509 |
"We're not able to process this request. Please refresh the page and try "
|
1510 |
"again."
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: includes/class-wc-payments-utils.php:
|
1514 |
msgid ""
|
1515 |
"We couldn’t verify the postal code in your billing address. Make sure the "
|
1516 |
"information is current with your card issuing bank and try again."
|
@@ -1819,6 +1793,10 @@ msgid ""
|
|
1819 |
"your shopping convenience. <a>Use %3$s instead.</a>"
|
1820 |
msgstr ""
|
1821 |
|
|
|
|
|
|
|
|
|
1822 |
#: includes/multi-currency/Notes/NoteMultiCurrencyAvailable.php:46
|
1823 |
msgid "Sell worldwide in multiple currencies"
|
1824 |
msgstr ""
|
2 |
# This file is distributed under the same license as the WooCommerce Payments package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Payments 4.7.1\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/woocommerce-payments\n"
|
8 |
+
"POT-Creation-Date: 2022-09-13 19:23:31+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
210 |
msgstr ""
|
211 |
|
212 |
#: includes/admin/class-wc-rest-payments-orders-controller.php:180
|
213 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2909
|
214 |
msgid "Unknown error"
|
215 |
msgstr ""
|
216 |
|
642 |
msgid "Large"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: includes/class-wc-payment-gateway-wcpay.php:601
|
646 |
msgid "Test mode active: "
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: includes/class-wc-payment-gateway-wcpay.php:602
|
650 |
msgid ""
|
651 |
"All transactions are simulated. Customers can't make real purchases through "
|
652 |
"WooCommerce Payments."
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: includes/class-wc-payment-gateway-wcpay.php:622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
msgid "Unsupported currency:"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: includes/class-wc-payment-gateway-wcpay.php:625
|
660 |
msgid ""
|
661 |
"The selected currency is not available for the country set in your "
|
662 |
"WooCommerce Payments account."
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: includes/class-wc-payment-gateway-wcpay.php:683
|
666 |
msgid ""
|
667 |
"There was a problem processing the payment. Please check your email inbox "
|
668 |
"and refresh the page to try again."
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: includes/class-wc-payment-gateway-wcpay.php:748
|
672 |
msgid "Save payment information to my account for future purchases."
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: includes/class-wc-payment-gateway-wcpay.php:858
|
676 |
#. translators: link to Stripe testing page
|
677 |
msgid ""
|
678 |
"<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
|
679 |
"any expiry date and CVC, or any test card numbers listed <a>here</a>."
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: includes/class-wc-payment-gateway-wcpay.php:903
|
683 |
#: includes/payment-methods/class-upe-payment-gateway.php:910
|
684 |
msgid ""
|
685 |
"An error was encountered when preparing the payment form. Please try again "
|
686 |
"later."
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: includes/class-wc-payment-gateway-wcpay.php:935
|
690 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2635
|
691 |
#: includes/payment-methods/class-upe-payment-gateway.php:165
|
692 |
#: includes/payment-methods/class-upe-payment-gateway.php:240
|
693 |
#: includes/payment-methods/class-upe-payment-gateway.php:431
|
696 |
"again."
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: includes/class-wc-payment-gateway-wcpay.php:942
|
700 |
#: includes/payment-methods/class-upe-payment-gateway.php:439
|
701 |
msgid "Your payment was not processed."
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: includes/class-wc-payment-gateway-wcpay.php:967
|
705 |
#: includes/compat/subscriptions/trait-wc-payment-gateway-wcpay-subscriptions.php:280
|
706 |
#. translators: %1: the failed payment amount, %2: error message
|
707 |
msgid ""
|
709 |
"message: <code>%2$s</code>."
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: includes/class-wc-payment-gateway-wcpay.php:976
|
713 |
#. translators: %1: the failed payment amount, %2: error message
|
714 |
msgid "A payment of %1$s <strong>failed</strong>. %2$s"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: includes/class-wc-payment-gateway-wcpay.php:981
|
718 |
msgid ""
|
719 |
"We couldn’t verify the postal code in the billing address. If the issue "
|
720 |
"persists, suggest the customer to reach out to the card issuing bank."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1006
|
724 |
#. translators: %1: the failed payment amount
|
725 |
msgid ""
|
726 |
"A payment of %1$s <strong>failed</strong> to complete because of too many "
|
728 |
"more attempts temporarily."
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1219
|
732 |
#. translators: %1: the last 4 digit of the credit card
|
733 |
msgid "Payment method is changed to: <strong>Credit card ending in %1$s</strong>."
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1231
|
737 |
msgid "Credit / Debit Card"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1288
|
741 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1345
|
742 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2644
|
743 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2657
|
744 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2674
|
745 |
#: includes/payment-methods/class-upe-payment-gateway.php:628
|
746 |
msgid "We're not able to process this payment. Please try again later."
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1699
|
750 |
#. translators: an error message which will appear if a user tries to refund an
|
751 |
#. order which is has been authorized but not yet charged.
|
752 |
msgid ""
|
756 |
"trigger a refund via the 'Refund' button."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1707
|
760 |
msgid "The refund amount is not valid."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1728
|
764 |
msgid ""
|
765 |
"You shall refund this payment in the same application where the payment was "
|
766 |
"made."
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1747
|
770 |
#. translators: %1: the successfully charged amount, %2: error message
|
771 |
msgid "A refund of %1$s failed to complete: %2$s"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1765
|
775 |
#. translators: %1: the successfully charged amount, %2: refund id
|
776 |
msgid ""
|
777 |
"A refund of %1$s was successfully processed using WooCommerce Payments "
|
778 |
"(<code>%2$s</code>)."
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1777
|
782 |
#. translators: %1: the successfully charged amount, %2: refund id, %3: reason
|
783 |
msgid ""
|
784 |
"A refund of %1$s was successfully processed using WooCommerce Payments. "
|
785 |
"Reason: %2$s. (<code>%3$s</code>)"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1849
|
789 |
#: dist/settings.js:1
|
790 |
#: client/settings/general-settings/index.js:42
|
791 |
msgid ""
|
793 |
"is only available to live accounts."
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: includes/class-wc-payment-gateway-wcpay.php:1854
|
797 |
#: dist/settings.js:1
|
798 |
#: client/settings/advanced-settings/debug-mode.js:32
|
799 |
msgid "Dev mode is active so logging is on by default."
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2321
|
803 |
msgid "Failed to update Stripe account. "
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2349
|
807 |
msgid ""
|
808 |
"Customer bank statement is invalid. Statement should be between 5 and 22 "
|
809 |
"characters long, contain at least single Latin character and does not "
|
810 |
"contain special characters: ' \" * < >"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2376
|
814 |
msgid "Capture charge"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2377
|
818 |
msgid "Cancel authorization"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2510
|
822 |
#. translators: %1: error message
|
823 |
msgid ""
|
824 |
"Canceling authorization <strong>failed</strong> to complete with the "
|
825 |
"following message: <code>%1$s</code>."
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2525
|
829 |
msgid "Canceling authorization <strong>failed</strong> to complete."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2653
|
833 |
#: includes/payment-methods/class-cc-payment-method.php:49
|
834 |
#. translators: This will be used to indicate an unknown value for an ID.
|
835 |
#: dist/index.js:1
|
838 |
msgid "unknown"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2741
|
842 |
#. translators: %1: transaction ID of the payment or a translated string
|
843 |
#. indicating an unknown ID.
|
844 |
msgid ""
|
847 |
"so it was ignored and the order was not updated."
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2785
|
851 |
msgid "A WooCommerce Payments payment method was not provided"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2797
|
855 |
msgid "We're not able to add this payment method. Please try again later"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2806
|
859 |
msgid "Failed to add the provided payment method. Please try again later"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2908
|
863 |
#. translators: %s: the error message.
|
864 |
msgid "Intent creation failed with the following message: %s"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: includes/class-wc-payment-gateway-wcpay.php:2955
|
868 |
#: includes/payment-methods/class-upe-payment-gateway.php:344
|
869 |
msgid ""
|
870 |
"We're not able to add this payment method. Please refresh the page and try "
|
871 |
"again."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: includes/class-wc-payment-gateway-wcpay.php:3131
|
875 |
msgid ""
|
876 |
"Next we’ll ask you to share a few details about your business to create "
|
877 |
"your account."
|
934 |
msgid "Domain association file updated."
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: includes/class-wc-payments-apple-pay-registration.php:272
|
938 |
msgid "Your domain has been verified with Apple Pay!"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: includes/class-wc-payments-apple-pay-registration.php:362
|
942 |
msgid ""
|
943 |
"Express checkouts are enabled. To use Apple Pay, please use a live "
|
944 |
"WooCommerce Payments account."
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: includes/class-wc-payments-apple-pay-registration.php:395
|
948 |
msgid "Express checkouts:"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: includes/class-wc-payments-apple-pay-registration.php:396
|
952 |
msgid "Apple Pay domain verification failed."
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: includes/class-wc-payments-apple-pay-registration.php:397
|
956 |
msgid "Apple Pay domain verification failed with the following error:"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: includes/class-wc-payments-apple-pay-registration.php:400
|
960 |
#. translators: a: Link to the logs page
|
961 |
msgid ""
|
962 |
"Please check the <a>logs</a> for more details on this issue. Debug log must "
|
963 |
"be enabled under <strong>Advanced settings</strong> to see recorded logs."
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: includes/class-wc-payments-apple-pay-registration.php:407
|
967 |
msgid "<a>Learn more</a>."
|
968 |
msgstr ""
|
969 |
|
1162 |
"repository</a2>."
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: includes/class-wc-payments-order-service.php:288
|
1166 |
msgid "Dispute lost."
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: includes/class-wc-payments-order-service.php:373
|
1170 |
msgid "<strong>Fee details:</strong>"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: includes/class-wc-payments-order-service.php:403
|
1174 |
#. translators: %1: the successfully charged amount, %2: transaction ID of the
|
1175 |
#. payment
|
1176 |
msgid ""
|
1178 |
"WooCommerce Payments (<a>%2$s</a>)."
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: includes/class-wc-payments-order-service.php:429
|
1182 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1183 |
msgid ""
|
1184 |
"A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
|
1185 |
"(<a>%2$s</a>)."
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: includes/class-wc-payments-order-service.php:460
|
1189 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1190 |
msgid ""
|
1191 |
"A payment of %1$s was <strong>authorized</strong> using WooCommerce "
|
1192 |
"Payments (<a>%2$s</a>)."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: includes/class-wc-payments-order-service.php:485
|
1196 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1197 |
msgid ""
|
1198 |
"A payment of %1$s was <strong>started</strong> using WooCommerce Payments "
|
1199 |
"(<code>%2$s</code>)."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: includes/class-wc-payments-order-service.php:512
|
1203 |
#. translators: %1: the successfully charged amount, %2: transaction ID of the
|
1204 |
#. payment
|
1205 |
msgid ""
|
1207 |
"WooCommerce Payments (<a>%2$s</a>)."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: includes/class-wc-payments-order-service.php:540
|
1211 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1212 |
msgid ""
|
1213 |
"A capture of %1$s <strong>failed</strong> to complete using WooCommerce "
|
1214 |
"Payments (<a>%2$s</a>)."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: includes/class-wc-payments-order-service.php:571
|
1218 |
#. translators: %1: the authorized amount, %2: transaction ID of the payment
|
1219 |
msgid "Payment authorization has <strong>expired</strong> (<a>%1$s</a>)."
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: includes/class-wc-payments-order-service.php:591
|
1223 |
msgid "Payment authorization was successfully <strong>cancelled</strong>."
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: includes/class-wc-payments-order-service.php:612
|
1227 |
#. translators: %1: the dispute reason
|
1228 |
msgid ""
|
1229 |
"Payment has been disputed as %1$s. See <a>dispute overview</a> for more "
|
1230 |
"details."
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: includes/class-wc-payments-order-service.php:634
|
1234 |
#. translators: %1: the dispute status
|
1235 |
msgid ""
|
1236 |
"Payment dispute has been closed with status %1$s. See <a>dispute "
|
1237 |
"overview</a> for more details."
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: includes/class-wc-payments-order-service.php:806
|
1241 |
msgid "Intent id was not included for payment complete status change."
|
1242 |
msgstr ""
|
1243 |
|
1451 |
msgid "United States (US)"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: includes/class-wc-payments-utils.php:262
|
1455 |
#: includes/wc-payment-api/class-wc-payments-api-client.php:769
|
1456 |
#: dist/index.js:1
|
1457 |
#: client/disputes/index.tsx:135
|
1459 |
msgid "Order #"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: includes/class-wc-payments-utils.php:272
|
1463 |
#: includes/wc-payment-api/class-wc-payments-api-client.php:767
|
1464 |
#: dist/index.js:1
|
1465 |
#: client/transactions/list/index.tsx:167
|
1466 |
msgid "Subscription #"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: includes/class-wc-payments-utils.php:511
|
1470 |
msgid ""
|
1471 |
"There was an error while processing this request. If you continue to see "
|
1472 |
"this notice, please contact the admin."
|
1473 |
msgstr ""
|
1474 |
|
1475 |
+
#: includes/class-wc-payments-utils.php:523
|
1476 |
#. translators: %s a formatted price.
|
1477 |
msgid "The selected payment method requires a total amount of at least %s."
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: includes/class-wc-payments-utils.php:530
|
1481 |
+
#: includes/class-wc-payments-utils.php:532
|
1482 |
msgid ""
|
1483 |
"We're not able to process this request. Please refresh the page and try "
|
1484 |
"again."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
+
#: includes/class-wc-payments-utils.php:534
|
1488 |
msgid ""
|
1489 |
"We couldn’t verify the postal code in your billing address. Make sure the "
|
1490 |
"information is current with your card issuing bank and try again."
|
1793 |
"your shopping convenience. <a>Use %3$s instead.</a>"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: includes/multi-currency/MultiCurrency.php:823
|
1797 |
+
msgid "Dismiss"
|
1798 |
+
msgstr ""
|
1799 |
+
|
1800 |
#: includes/multi-currency/Notes/NoteMultiCurrencyAvailable.php:46
|
1801 |
msgid "Sell worldwide in multiple currencies"
|
1802 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, payment, payment request, credit card, automattic
|
|
4 |
Requires at least: 5.8
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 7.0
|
7 |
-
Stable tag: 4.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -98,6 +98,10 @@ Please note that our support for the checkout block is still experimental and th
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
|
|
101 |
= 4.7.0 - 2022-09-07 =
|
102 |
* Add - Added meta to payment tokens used in subscriptions.
|
103 |
* Add - Adding an authorization page part of the transactions view. Currently behind a flag and using mocked data.
|
4 |
Requires at least: 5.8
|
5 |
Tested up to: 6.0
|
6 |
Requires PHP: 7.0
|
7 |
+
Stable tag: 4.7.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 4.7.1 - 2022-09-13 =
|
102 |
+
* Fix - Fix Apple Pay domain verify file missing error notice constantly displayed
|
103 |
+
* Fix - Retain test mode context in CRON jobs queued up while checking out.
|
104 |
+
|
105 |
= 4.7.0 - 2022-09-07 =
|
106 |
* Add - Added meta to payment tokens used in subscriptions.
|
107 |
* Add - Adding an authorization page part of the transactions view. Currently behind a flag and using mocked data.
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit7aa14312054bc3fcb3bb6cd16d13d916::getLoader();
|
vendor/autoload_packages.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -30,7 +30,7 @@ private static $installed = array (
|
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
-
'reference' => '
|
34 |
'name' => 'woocommerce/payments',
|
35 |
),
|
36 |
'versions' =>
|
@@ -227,7 +227,7 @@ private static $installed = array (
|
|
227 |
'aliases' =>
|
228 |
array (
|
229 |
),
|
230 |
-
'reference' => '
|
231 |
),
|
232 |
'woocommerce/subscriptions-core' =>
|
233 |
array (
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
+
'reference' => '4f25ed073f6670488b9199a9dfc6e429131655de',
|
34 |
'name' => 'woocommerce/payments',
|
35 |
),
|
36 |
'versions' =>
|
227 |
'aliases' =>
|
228 |
array (
|
229 |
),
|
230 |
+
'reference' => '4f25ed073f6670488b9199a9dfc6e429131655de',
|
231 |
),
|
232 |
'woocommerce/subscriptions-core' =>
|
233 |
array (
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit5637480de1586c7881aef6eadf7719ec
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
-
call_user_func(\Composer\Autoload\
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit5637480de1586c7881aef6eadf7719ec
|
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
-
$includeFiles = Composer\Autoload\
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
-
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
-
function
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit7aa14312054bc3fcb3bb6cd16d13d916
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit7aa14312054bc3fcb3bb6cd16d13d916', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7aa14312054bc3fcb3bb6cd16d13d916', 'loadClassLoader'));
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequire7aa14312054bc3fcb3bb6cd16d13d916($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
function composerRequire7aa14312054bc3fcb3bb6cd16d13d916($fileIdentifier, $file)
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
|
@@ -292,9 +292,9 @@ class ComposerStaticInit5637480de1586c7881aef6eadf7719ec
|
|
292 |
public static function getInitializer(ClassLoader $loader)
|
293 |
{
|
294 |
return \Closure::bind(function () use ($loader) {
|
295 |
-
$loader->prefixLengthsPsr4 =
|
296 |
-
$loader->prefixDirsPsr4 =
|
297 |
-
$loader->classMap =
|
298 |
|
299 |
}, null, ClassLoader::class);
|
300 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/..' . '/automattic/jetpack-assets/actions.php',
|
292 |
public static function getInitializer(ClassLoader $loader)
|
293 |
{
|
294 |
return \Closure::bind(function () use ($loader) {
|
295 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916::$prefixLengthsPsr4;
|
296 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916::$prefixDirsPsr4;
|
297 |
+
$loader->classMap = ComposerStaticInit7aa14312054bc3fcb3bb6cd16d13d916::$classMap;
|
298 |
|
299 |
}, null, ClassLoader::class);
|
300 |
}
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => 'woocommerce/payments',
|
11 |
),
|
12 |
'versions' =>
|
@@ -203,7 +203,7 @@
|
|
203 |
'aliases' =>
|
204 |
array (
|
205 |
),
|
206 |
-
'reference' => '
|
207 |
),
|
208 |
'woocommerce/subscriptions-core' =>
|
209 |
array (
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => '4f25ed073f6670488b9199a9dfc6e429131655de',
|
10 |
'name' => 'woocommerce/payments',
|
11 |
),
|
12 |
'versions' =>
|
203 |
'aliases' =>
|
204 |
array (
|
205 |
),
|
206 |
+
'reference' => '4f25ed073f6670488b9199a9dfc6e429131655de',
|
207 |
),
|
208 |
'woocommerce/subscriptions-core' =>
|
209 |
array (
|
vendor/jetpack-autoloader/class-autoloader-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-container.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-hook-manager.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-latest-autoloader-guard.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-manifest-reader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-path-processor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-php-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugin-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugins-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-shutdown-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-loader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-selector.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jp7aa14312054bc3fcb3bb6cd16d13d916;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
woocommerce-payments.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* WC tested up to: 6.9.0
|
13 |
* Requires at least: 5.8
|
14 |
* Requires PHP: 7.0
|
15 |
-
* Version: 4.7.
|
16 |
*
|
17 |
* @package WooCommerce\Payments
|
18 |
*/
|
12 |
* WC tested up to: 6.9.0
|
13 |
* Requires at least: 5.8
|
14 |
* Requires PHP: 7.0
|
15 |
+
* Version: 4.7.1
|
16 |
*
|
17 |
* @package WooCommerce\Payments
|
18 |
*/
|