mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Add improvements based on PR feedback
This commit is contained in:
parent
1523ee4dfb
commit
09ac019bd0
5 changed files with 5 additions and 5 deletions
|
@ -41,7 +41,7 @@ class SavedPaymentCheckerModule implements ModuleInterface {
|
|||
* Set authorize intent for vaulted subscriptions, so we can void if payment not saved.
|
||||
*/
|
||||
add_filter(
|
||||
'woocommerce_paypal_payments_saved_payment_subscription_intent',
|
||||
'woocommerce_paypal_payments_order_intent',
|
||||
function( string $intent ) use ( $c ) {
|
||||
$subscription_helper = $c->get( 'subscription.helper' );
|
||||
assert( $subscription_helper instanceof SubscriptionHelper );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue