We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb99dea commit d7838a4Copy full SHA for d7838a4
www/src/CPGraphQlTypes/Customer.php
@@ -73,7 +73,7 @@ public function __construct(array $options)
73
$this->next_wpt_plan_id = $options['nextWptPlanId'] ?? null;
74
$this->address = null;
75
76
- if (!isset($options['creditCardBillingState']) && strlen(trim($options['creditCardBillingState'])) == 0) {
+ if (!isset($options['creditCardBillingState']) || strlen(trim($options['creditCardBillingState'])) == 0) {
77
$options['creditCardBillingState'] = $options['creditCardBillingCountry'];
78
}
79
0 commit comments