Skip to content

Commit 4b49010

Browse files
authored
[PRB] Fix "Pending" text instead of numeric amount on Apple Pay on iOS (#2364)
1 parent 2d5d9e3 commit 4b49010

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*** Changelog ***
22

33
= 6.6.0 - 2022-xx-xx =
4+
* Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
45

56
= 6.5.1 - 2022-08-01 =
67
* Fix - Stripe Link missing styles and logo for email trigger button.

includes/payment-methods/class-wc-stripe-payment-request.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ public function get_product_data() {
441441
$data['total'] = [
442442
'label' => apply_filters( 'wc_stripe_payment_request_total_label', $this->total_label ),
443443
'amount' => WC_Stripe_Helper::get_stripe_amount( $this->get_product_price( $product ) ),
444-
'pending' => true,
445444
];
446445

447446
$data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() && 0 !== wc_get_shipping_method_count( true ) );
@@ -1304,7 +1303,6 @@ public function ajax_get_selected_product_data() {
13041303
$data['total'] = [
13051304
'label' => $this->total_label,
13061305
'amount' => WC_Stripe_Helper::get_stripe_amount( $total ),
1307-
'pending' => true,
13081306
];
13091307

13101308
$data['requestShipping'] = ( wc_shipping_enabled() && $product->needs_shipping() );

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,6 @@ If you get stuck, you can ask for help in the Plugin Forum.
129129
== Changelog ==
130130

131131
= 6.6.0 - 2022-xx-xx =
132+
* Fix - Fix "Pending" text instead of numeric amount on Payment Request button on iOS.
132133

133134
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).

0 commit comments

Comments
 (0)