Merge pull request #1789 from woocommerce/PCP-2136-apple-pay-payment-process-issues

Apple Pay payment process issues (2136)
This commit is contained in:
Emili Castells 2023-10-23 16:52:54 +02:00 committed by GitHub
commit df283218bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 91 additions and 45 deletions

View file

@ -204,21 +204,6 @@ class Button implements ButtonInterface {
}
$data['capabilities'][] = 'GOOGLE_PAY';
$data['operations'][] = array(
'operation' => 'API_INTEGRATION',
'api_integration_preference' => array(
'rest_api_integration' => array(
'integration_method' => 'PAYPAL',
'integration_type' => 'THIRD_PARTY',
'third_party_details' => array(
'features' => array(
'PAYMENT',
'REFUND',
),
),
),
),
);
return $data;
}