When the SDK attempts to load with unionpay in the disable-card query parameter, it returns a 400. Whether disabling Union Pay was supported at some point in the past or not I don't know, but the current docs do not show support for it:

https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk...

Let's remove that option from the payment gateway configuration and ignore it if present in existing configurations when building the SDK URL.

Comments

rszrama created an issue. See original summary.

  • jsacksick committed 584c0b5 on 8.x-1.x
    Issue #3193617 by jsacksick, rszrama: Disabling Union Pay causes the SDK...
jsacksick’s picture

Status: Active » Fixed

Committed a fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.