Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Checkout: Warning Invalid prop-type "web-payment" #29523

Closed deBhal closed 5 years ago

deBhal commented 5 years ago

I noticed this react warning today:

Warning: Failed prop type: Invalid prop type of value web-payment supplied to PaymentLogo, expected one of ["alipay","amex","bancontact","brazil-tef","diners","discover","eps","emergent-paywall","giropay","ideal","jcb","mastercard","p24","paypal","placeholder","unionpay","visa","wechat"]. in PaymentLogo (created by PaymentMethods) in PaymentMethods (created by Localized(PaymentMethods))

Steps to reproduce

  1. Add a plan to your cart and go to http://calypso.localhost:3000/checkout/$SITE
  2. Check the console (Note: Apple-pay is not enabled in all countries)

Screenshot / Video

checkout_ _julesauspremiumtest_ _wordpress_com

cc @Hywan

stale[bot] commented 5 years ago

This issue has been marked as stale and will be closed in seven days. This happened because:

You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.