diff --git a/www/src/CPGraphQlTypes/Customer.php b/www/src/CPGraphQlTypes/Customer.php index 5b0c4fec1b..e105773b33 100644 --- a/www/src/CPGraphQlTypes/Customer.php +++ b/www/src/CPGraphQlTypes/Customer.php @@ -74,9 +74,9 @@ public function __construct(array $options) $this->address = null; if (!isset($options['creditCardBillingState']) || strlen(trim($options['creditCardBillingState'])) == 0) { - $options['creditCardBillingState'] = $options['creditCardBillingCountry']; + $options['creditCardBillingState'] = $options['creditCardBillingCountry']; } - + if ( isset($options['creditCardBillingCountry']) && isset($options['creditCardBillingZip']) &&