Skip to content

Commit

Permalink
Merge pull request #2890 from woocommerce/PCP-3999-remove-debit-credi…
Browse files Browse the repository at this point in the history
…t-card-option

Remove the "Debit & Credit Card" option from button previews
  • Loading branch information
stracker-phil authored Dec 17, 2024
2 parents 16ad84c + 86191be commit c279a88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ const SectionButtonPreview = ( { locationSettings } ) => {
clientId: 'test',
merchantId: 'QTQX5NP6N9WZU',
components: 'buttons,googlepay',
'disable-funding': 'card',
'buyer-country': 'US',
currency: 'USD',
} }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ export const paymentMethodOptions = [
value: 'paylater',
label: __( 'Pay Later', 'woocommerce-paypal-payments' ),
},
{
value: 'card',
label: __( 'Debit or Credit Card', 'woocommerce-paypal-payments' ),
},
{
value: 'googlepay',
label: __( 'Google Pay', 'woocommerce-paypal-payments' ),
Expand Down

0 comments on commit c279a88

Please sign in to comment.