woocommerce / woocommerce-gateway-paypal-express-checkout

58 stars 65 forks source link

PayPal 'Pill' button style is not used for 'Additional Funding Methods' #806

Closed jrick1229 closed 3 years ago

jrick1229 commented 4 years ago

Describe the bug

When setting the button styles to 'Pill', only the PayPal (top) button style is changed. The additional funding methods, such as 'Credit or Debit Card', remain using the 'Rectangle' button style.


To reproduce

  1. Go to: WooCommerce > Settings > Payments > 'PayPal Checkout' > "Button Settings"
  2. Set Button Shape to: Pill
  3. Ensure that Credit or Debit Card is not a hidden funding method: https://d.pr/i/C6LlNY
  4. Navigate to checkout to see that the 'PayPal' button is Pill, while 'Credit or Debit Card' is Rectangle: https://d.pr/i/CpSgGF

Screenshots

Set to Rectangle: https://d.pr/i/UllHub

Set to Pill: https://d.pr/i/CpSgGF


Expected behavior

I would assume that the button shape would apply to all buttons, not just the 'PayPal' button.


Additional details

System status ``` WP Version: 5.5.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 WooCommerce: by Automattic – 4.4.1 ```