Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ACSS support for WooCommerce Pre-Orders #4076

Merged
merged 23 commits into from
Mar 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9b4208b
Add ACSS payment tokenization
ricardo Mar 5, 2025
7a4bf67
Merge branch 'develop' into fix/3813-saved-payment-methods
ricardo Mar 7, 2025
593ee39
Add support for ACSS payment tokenization
ricardo Mar 7, 2025
9f8f8ef
Merge branch 'develop' into fix/3813-saved-payment-methods
ricardo Mar 10, 2025
f4f0718
Fix mandate using saved payment method at checkout
ricardo Mar 11, 2025
449e065
Add support for payment method type in setup intent initialization
ricardo Mar 12, 2025
367ad3a
Add unit tests for WC_Payment_Token_ACSS class
ricardo Mar 12, 2025
4ec297b
Fix unit tests
ricardo Mar 12, 2025
b2e74fc
Fix "init_setup_intent"
ricardo Mar 12, 2025
6ea7cdf
Merge branch 'develop' into fix/3813-saved-payment-methods
ricardo Mar 12, 2025
99caaf3
Add ACSS support for WC Subscriptions
ricardo Mar 12, 2025
54440ad
Handle mandate ID for renewal orders
ricardo Mar 12, 2025
389e82d
Refactor update_payment_intent method to support setup intents
ricardo Mar 12, 2025
1936888
Add mandate ID support for additional payment methods in renewal orders
ricardo Mar 12, 2025
325cf2a
Add support for free trial subscriptions in blocks checkout
ricardo Mar 13, 2025
f38039b
Update ACSS payment method options to support combined payment schedules
ricardo Mar 13, 2025
28b5871
Add changelog
ricardo Mar 13, 2025
fdef680
Merge branch 'develop' into add/3831-acss-subscriptions-support
ricardo Mar 14, 2025
5ccf8f8
Fix changing payment method for subscription
ricardo Mar 14, 2025
c6d25a6
Remove duplicate switch case
ricardo Mar 14, 2025
54483e9
Add ACSS support for WooCommerce Pre-Orders
ricardo Mar 14, 2025
2d20ff0
Merge branch 'develop' into add/acss-pre-orders-support
ricardo Mar 27, 2025
7165a98
Merge branch 'develop' into add/acss-pre-orders-support
ricardo Mar 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* Update - Hide express checkout buttons when no product variation is selected.
* Fix - Translation warning when initializing the status page information.
* Add - Add ACSS support for WC Subscriptions.
* Add - Add WooCommerce Pre-Orders support to ACSS.

= 9.3.1 - 2025-03-14 =
* Fix - Temporarily disables the subscriptions detached notice feature due to long loading times on stores with many subscriptions.
Expand Down
6 changes: 6 additions & 0 deletions includes/abstracts/abstract-wc-stripe-payment-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,12 @@ public function create_and_confirm_intent_for_off_session( $order, $prepared_sou
$request = WC_Stripe_Helper::add_payment_method_to_request_array( $full_request['source'], $request );
}

// Add mandate if it exists.
$mandate = $order->get_meta( '_stripe_mandate_id', true );
if ( ! empty( $mandate ) ) {
$request['mandate'] = $mandate;
}

/**
* Filter the value of the request.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public function __construct() {

// Check if subscriptions are enabled and add support for them.
$this->maybe_init_subscriptions();

// Add support for pre-orders.
$this->maybe_init_pre_orders();
}

/**
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,6 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
* Update - Hide express checkout buttons when no product variation is selected.
* Fix - Translation warning when initializing the status page information.
* Add - Add ACSS support for WC Subscriptions.
* Add - Add WooCommerce Pre-Orders support to ACSS.

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