Check address field keys are set before using them

Created on 14 March 2022, over 2 years ago
Updated 5 October 2023, about 1 year ago

Address 1.10 silently introduced a change to how AddressItem deals with hidden fields, #3269345: Regression: hidden address fields are no longer present in the array β†’ . Hidden field keys are no longer present in the address array.

Stripe.php blindly assumes all field keys are present, and will produce an "undefined index" notice with Address 1.10 if any address fields are hidden.

Unless this change is rolled back in Address (seems unlikely), Stripe.php needs to check each field key is set before attempting to use it.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand john pitcairn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024