Remove unused old apple pay button handling

This commit is contained in:
Alex P. 2025-06-10 10:46:34 +03:00
parent 87a8dcc00b
commit 0b60e9083c
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -164,20 +164,6 @@ class SavePaymentMethodsModule implements ServiceModule, ExtendingModule, Execut
),
),
);
} elseif ( $funding_source && $funding_source === 'apple_pay' ) {
$data['payment_source'] = array(
'apple_pay' => array(
'stored_credential' => array(
'payment_initiator' => 'CUSTOMER',
'payment_type' => 'RECURRING',
),
'attributes' => array(
'vault' => array(
'store_in_vault' => 'ON_SUCCESS',
),
),
),
);
} else {
$data['payment_source'] = array(
'paypal' => array(